Jabber handshake fails
Jabber handshake fails
Greetings we're running a Java based Jabber server , Wildfire. When sending an alert to the server it would seem the handshake fails. We're using ssl/tls as an encryption method. Any guidance to sort this out would be appreciated.
Output from standard logs on Jabber server >
2006.10.09 10:10:37 [org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:104)] Connection closed before session established
Output from logs with debug level set on Jabber server >
2006.10.09 10:30:48 Connect Socket[addr=/192.168.xx.xx,port=2166,localport=5222]
2006.10.09 10:30:48 Error creating session
java.io.EOFException: input contained no data
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
at org.jivesoftware.wildfire.net.MXParser.nextImpl(MXParser.java:331)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.wildfire.net.SocketReader.createSession(SocketReader.java:432)
at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:53)
at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123)
at java.lang.Thread.run(Unknown Source)
2006.10.09 10:32:04 Connect Socket[addr=/192.168.xx.xx,port=2208,localport=5222]
2006.10.09 10:32:04 Logging off wildfire.operative.com/f24b8397 on org.jivesoftware.wildfire.net.SocketConnection@198252f socket: Socket[addr=/192.168.xx.xx,port=2208,localport=5222] session: org.jivesoftware.wildfire.ClientSession@1fec571 status: -1 address: jabber.domain.com/f24b8397 id: f24b8397 presence:
<presence type="unavailable" from="jabber.domain.com/f24b8397"/>
Output from standard logs on Jabber server >
2006.10.09 10:10:37 [org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:104)] Connection closed before session established
Output from logs with debug level set on Jabber server >
2006.10.09 10:30:48 Connect Socket[addr=/192.168.xx.xx,port=2166,localport=5222]
2006.10.09 10:30:48 Error creating session
java.io.EOFException: input contained no data
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
at org.jivesoftware.wildfire.net.MXParser.nextImpl(MXParser.java:331)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.wildfire.net.SocketReader.createSession(SocketReader.java:432)
at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:53)
at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123)
at java.lang.Thread.run(Unknown Source)
2006.10.09 10:32:04 Connect Socket[addr=/192.168.xx.xx,port=2208,localport=5222]
2006.10.09 10:32:04 Logging off wildfire.operative.com/f24b8397 on org.jivesoftware.wildfire.net.SocketConnection@198252f socket: Socket[addr=/192.168.xx.xx,port=2208,localport=5222] session: org.jivesoftware.wildfire.ClientSession@1fec571 status: -1 address: jabber.domain.com/f24b8397 id: f24b8397 presence:
<presence type="unavailable" from="jabber.domain.com/f24b8397"/>
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: Jabber handshake fails
Sorry, HM does not support ssl/tls authentification method for Jabber client yet. Perhaps, it will be implemented in future versions.dpeterka wrote:We're using ssl/tls as an encryption method.
Regards,
Max
We also use Wildfire without ssl/tls authentication and get:
2006.10.09 14:27:11 Connect Socket[addr=/10.10.x.x,port=2666,localport=5222]
2006.10.09 14:27:12 Logging off rubicon/53188b3c on org.jivesoftware.wildfire.net.SocketConnection@ac6782 socket: Socket[addr=/10.10.1.12,port=2666,localport=5222] session: org.jivesoftware.wildfire.ClientSession@d31bf8 status: 1 address: rubicon/53188b3c id: 53188b3c presence:
<presence type="unavailable"/>
It seems to disconnect as soon as it connects. No message is ever sent.
2006.10.09 14:27:11 Connect Socket[addr=/10.10.x.x,port=2666,localport=5222]
2006.10.09 14:27:12 Logging off rubicon/53188b3c on org.jivesoftware.wildfire.net.SocketConnection@ac6782 socket: Socket[addr=/10.10.1.12,port=2666,localport=5222] session: org.jivesoftware.wildfire.ClientSession@d31bf8 status: 1 address: rubicon/53188b3c id: 53188b3c presence:
<presence type="unavailable"/>
It seems to disconnect as soon as it connects. No message is ever sent.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
It does work correctly on Jabber.org. Seems to be a problem with Wildfire and I think it is still in the handshake as originally posted. The error in syslog is:
Error: Cannot send message to Jabber account sherrera. Your username or password is incorrect;
I did get some packet captures if you would like to seem them? I am not sure how high the priority is on this for you guys but it would be nice to be alerted through the jabber client.
Error: Cannot send message to Jabber account sherrera. Your username or password is incorrect;
I did get some packet captures if you would like to seem them? I am not sure how high the priority is on this for you guys but it would be nice to be alerted through the jabber client.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
There are several ways to authenticate user on Jabber server. We have implemented the most common method, which should be supported by every server. However, such method is less secure than others, so, for the most of servers it might be disabled.sherrera wrote:It does work correctly on Jabber.org. Seems to be a problem with Wildfire and I think it is still in the handshake as originally posted.
Could you send the captured files to the support@ks-soft.net?sherrera wrote:I did get some packet captures if you would like to seem them? I am not sure how high the priority is on this for you guys but it would be nice to be alerted through the jabber client.
Regards,
Max
Could you try this update www.ks-soft.net/download/hm624c.zip ?
Please install version 6.24 before using this update
Regards
Alex
Please install version 6.24 before using this update
Regards
Alex
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
What error do you see in System Log (file is specified in "Options" > "System Log" tab)?rasqual wrote:Nuts. Jabber notifications still aren't working for us.
Have you provided correct data into "Options" > "Jabber" tab? Have you specified full recipient JID (with server name, like recipient@jab_server) in "Action Properties" window?
Regards,
Max