Menu

#3 MGTalk cannot connect to Wildfire3.1.0

open
nobody
None
5
2006-10-19
2006-10-19
No

Hi,

I have been using MGTalk on a Nokia 6230i in the UK,
connecting to my own Wildwire server (version 2.6.1).
(http://www.jivesoftware.org/wildfire/)
Recently I've upgraded that to 3.1.0, and for some
reason, MGTalk will no longer connect.

No SSL
Port 5222
No status changes on connect.

The error I get from MGTalk is:
---
Connecting...
Init connection to socket://HOSTNAME:5222
Opening first stream
Authenticating
Sending authorization data
Waiting for response
Next authorization step
Opening next stream
---
The GRPS connection then closes.

I suspect the server might have some different defaults
in the new version, which are causing MGTalk to get
confused?

Before this, MGTalk was working superbly! :-)

I get the exact same problem in the 6230i Emulator from
Nokia's SDK.

Since I have not changed any settings in MGTalk, and I
have upgraded the Wildfire server, it's most likely
that something has changed in the server!

I wanted to raise a bug, so you were aware of the
issue, and if you have any free time, perhaps to
investigate.

Cheers,
Mark

Discussion

  • Mark McNamee

    Mark McNamee - 2006-10-20

    Logged In: YES
    user_id=605252

    Hi,

    I have raise a support request on the Wildfire (Jive
    Software) forum, for reference it is here:

    http://www.jivesoftware.org/community/message.jspa?messageID=132595

    I hope between the parties this issue can be resolved, as
    MGTalk is a great way of keeping in touch on the move using
    Jabber.

     
  • Kyle Haefner

    Kyle Haefner - 2006-11-03

    Logged In: YES
    user_id=1555039

    Hello,

    There are two things to do to fix this:

    In NetworkThread

    1. Uncomment the connections settings in initConnection
    conn = (SocketConnection) Connector.open(addr);
    conn.setSocketOption(SocketConnection.LINGER, 0);
    conn.setSocketOption(SocketConnection.SNDBUF, 30);
    conn.setSocketOption(SocketConnection.RCVBUF, 30);
    conn.setSocketOption(SocketConnection.KEEPALIVE, 1);

    2. In startSession wildfire and MGTalk can't seem to agree
    on the MD5 Digest info. I could not find anyway to turn off
    MD5 on wildfire so I commented out the if statement:

    if(x.child("mechanisms").hasValueOfChild("DIGEST-MD5")) {
    ...
    }

    and just left the plaintext part:

    //PLAIN authorization supported by GTalk
    server in SSL mode
    log("Using plain authorization");
    String resp = "\0"+user+"\0"+pass;
    writeToAir("<auth
    xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\"
    echanism=\"PLAIN\">"+MD5.toBase64(resp.getBytes())+"</auth>");
    log.addMessage("Starting PLAIN
    authorization");
    x = readStanza();
    if(x.getName().equals("failure"))
    throw new Exception("PLAIN
    authorization error");

     
  • Philip Wilson

    Philip Wilson - 2007-10-04

    Logged In: YES
    user_id=15431
    Originator: NO

    FWIW it now works in Openfire 3.3.1+

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.