MSN Transport problem

Just switched to using Openfire from ejabberd, and I’ve have problem with the IM Gateway MSN Transport. Now what is strange it that it was working fine for about 12 hours then it stopped working. AIM and Yahoo! transports seem to be working without hitch. I’m running:

  • Openfire 3.5.2
  • IM Gateway 1.2.3
  • Java 1.6.0_07 – 64-Bit Server VM
  • Running on Linux 64-Bit

I also tried originally with Java 1.5 too, same problem.

Now looking at the Debug log, there is nothing in the Error, Warn or Info logs about the reason why stuff is getting disconnected:

2008.07.28 11:51:30 session 11 established
2008.07.28 11:51:30 MSN: Session established for PASSPORTID
2008.07.28 11:51:30 session 11 sent message VER 1 MSNP11 CVR0
2008.07.28 11:51:30 MSN: Session messageSent for PASSPORTID : VER 1 MSNP11 CVR0
2008.07.28 11:51:30 session 11 sent message CVR 2 0x0409 winnt 5.1 i386 MSNMSGR 8.1.0178 MSMSGS PASSPORTID
2008.07.28 11:51:30 MSN: Session messageSent for PASSPORTID : CVR 2 0x0409 winnt 5.1 i386 MSNMSGR 8.1.0178 MSMSGS PASSPORTID
2008.07.28 11:51:30 session 11 sent message USR 3 TWN I PASSPORTID
2008.07.28 11:51:30 MSN: Session messageSent for PASSPORTID : USR 3 TWN I PASSPORTID
2008.07.28 11:51:30 session 11 received message VER 1 MSNP11 CVR0
2008.07.28 11:51:30 MSN: Session messageReceived for PASSPORTID : VER 1 MSNP11 CVR0
2008.07.28 11:51:31 session 11 received message CVR 2 8.1.0178 8.1.0178 8.1.0178 http://msgruser.dlservice.microsoft.com/download/5/6/4/5646481F-33EF-4B08-AF00-4904F7677B89/EN/Install_WLMessenger.exe http://get.live.com
2008.07.28 11:51:31 MSN: Session messageReceived for PASSPORTID : CVR 2 8.1.0178 8.1.0178 8.1.0178 http://msgruser.dlservice.microsoft.com/download/5/6/4/5646481F-33EF-4B08-AF00-4904F7677B89/EN/Install_WLMessenger.exe http://get.live.com
2008.07.28 11:51:31 session 11 received message XFR 3 NS 207.46.106.89:1863 0 65.54.239.21:1863
2008.07.28 11:51:31 session 11 closed
2008.07.28 11:51:31 MSN: Session closed for PASSPORTID
2008.07.28 11:51:31 MSN: Session messageReceived for PASSPORTID : XFR 3 NS 207.46.106.89:1863 0 65.54.239.21:1863
2008.07.28 11:51:31 session 12 established
2008.07.28 11:51:31 MSN: Session established for PASSPORTID
2008.07.28 11:51:31 session 12 sent message VER 1 MSNP11 CVR0
2008.07.28 11:51:31 MSN: Session messageSent for PASSPORTID : VER 1 MSNP11 CVR0
2008.07.28 11:51:31 session 12 sent message CVR 2 0x0409 winnt 5.1 i386 MSNMSGR 8.1.0178 MSMSGS PASSPORTID
2008.07.28 11:51:31 MSN: Session messageSent for PASSPORTID : CVR 2 0x0409 winnt 5.1 i386 MSNMSGR 8.1.0178 MSMSGS PASSPORTID
2008.07.28 11:51:31 session 12 sent message USR 3 TWN I PASSPORTID
2008.07.28 11:51:31 MSN: Session messageSent for PASSPORTID : USR 3 TWN I PASSPORTID
2008.07.28 11:51:31 session 12 received message VER 1 MSNP11 CVR0
2008.07.28 11:51:31 MSN: Session messageReceived for PASSPORTID : VER 1 MSNP11 CVR0
2008.07.28 11:51:31 session 12 received message CVR 2 8.1.0178 8.1.0178 8.1.0178 http://msgruser.dlservice.microsoft.com/download/5/6/4/5646481F-33EF-4B08-AF00-4904F7677B89/EN/Install_WLMessenger.exe http://get.live.com
2008.07.28 11:51:31 MSN: Session messageReceived for PASSPORTID : CVR 2 8.1.0178 8.1.0178 8.1.0178 http://msgruser.dlservice.microsoft.com/download/5/6/4/5646481F-33EF-4B08-AF00-4904F7677B89/EN/Install_WLMessenger.exe http://get.live.com
2008.07.28 11:51:31 session 12 received message USR 3 TWN S ct=1217242072,rver=5.5.4177.0,wp=FS_40SEC_0_COMPACT,lc=1033,id=507,ru=http:%2F%2Fmessenger.msn.com,tw=0,kpp=1,kv=4,ver=2.1.6000.1,rn=1lgjBfIL,tpf=b0735e3a873dfb5e75054465196398e0
2008.07.28 11:51:31 MSN: Session messageReceived forPASSPORTID : USR 3 TWN S ct=1217242072,rver=5.5.4177.0,wp=FS_40SEC_0_COMPACT,lc=1033,id=507,ru=http:%2F%2Fmessenger.msn.com,tw=0,kpp=1,kv=4,ver=2.1.6000.1,rn=1lgjBfIL,tpf=b0735e3a873dfb5e75054465196398e0
2008.07.28 11:51:31 MSN: Exception occurred for PASSPORTID : java.net.SocketException: java.lang.ClassNotFoundException: org.jivesoftware.util.SimpleSSLSocketFactory
2008.07.28 11:51:31 MSN: IO error: java.net.SocketException: java.lang.ClassNotFoundException: org.jivesoftware.util.SimpleSSLSocketFactory
2008.07.28 11:51:31 Session PASSPORTID disconnected from msn.virus.org. Reconnecting... (attempt 2)

Has anyone any idea what could be causing this?

Thanks…

Whoa — I see a class cast exception to something in core Openfire. Why would that be happening ‘out of the blue’ though, that makes no sense. If you restart the plugin/server does it start working again?

Nope, tried restarting the server, the plugin, removing the plugin and all registrations for the MSN transport and any properties too and nothing seems to help? Have stopped short of reinstalling Openfire completely so far. This isn’t for just one user either it is for all users… What is so weird is it was working fine, nothing was changed on the server it just stopped working…

I had thought initially it was an MSN problem, had them before with the old server and pymsnt, waiting for a few hours usually cleared that up. But this stopped working yesterday evening, had a fiddle late last night then left it alone over night to see if it ‘fixed’ itself, I tried changing the plugin again this morning and changing the Java version but it didn’t have any effect…

I hate to ask this but, would you mind reinstalling? (don’t wipe your db or anything, just reinstall and leave everything else in place) I’d swear it seems like a file system corruption. I can’t imagine why that would be if your server didn’t crash or anything, but it would eliminate a possibility. If that would be inconvenient, then we can investigate some other things. =)

Well did a clean reinstall and it seems to have fixed it… Will keep an eye on it and see what happens, hopefully it will not happen again? Still would love to know what/why it happened in the first place.

Thanks for the help.

Excellent! And yes, please let me know if it happens again. It’s creepy that it kind of just vanished/corrupted like that.