I have the IM Gateway plugin v: 1.2.3 on Openfire 3.5.2. It’s a fresh installation and i’m having problems connecting to the MSN transport. The MSN servers drop the connection when the gateway sends the USR command.
2008.07.12 09:48:49 MSN: Session established for MY_PASSPORT_ACOUNT
2008.07.12 09:48:49 session 41 sent message VER 1 MSNP11 CVR0
2008.07.12 09:48:49 MSN: Session messageSent for MY_PASSPORT_ACOUNT : VER 1 MSNP11 CVR0
2008.07.12 09:48:49 session 41 sent message CVR 2 0x0409 winnt 5.1 i386 MSNMSGR 8.1.0178 MSMSGS MY_PASSPORT_ACOUNT
2008.07.12 09:48:49 MSN: Session messageSent for MY_PASSPORT_ACOUNT : CVR 2 0x0409 winnt 5.1 i386 MSNMSGR 8.1.0178 MSMSGS MY_PASSPORT_ACOUNT
2008.07.12 09:48:49 session 41 sent message USR 3 TWN I MY_PASSPORT_ACOUNT
2008.07.12 09:48:49 MSN: Session messageSent for MY_PASSPORT_ACOUNT : USR 3 TWN I MY_PASSPORT_ACOUNT
2008.07.12 09:48:49 session 41 caught exception java.io.IOException: Se ha forzado la interrupción de una conexión existente por el host remoto
2008.07.12 09:48:49 MSN: Exception occurred for albertoavila@gmail.com : java.io.IOException: Se ha forzado la interrupción de una conexión existente por el host remoto
Error translation: The interruption of the existing connection was forced by the remote host
I read some protocol documentation (http://msnpiki.msnfanatic.com/index.php/MSNP8:Authentication#Initial_USR) wich states that the MSN server drops the connection if the USR is incorrect, i then started the wiresharksniffer and looked for the original client comman:
VER 1 MSNP15 MSNP14 MSNP13 CVR0
CVR 2 0x0409 winnt 5.1 i386 MSNMSGR 8.5.1302 MSFT MY_PASSPORT_ACCOUNT
USR 3 SSO I MY_PASSPORT_ACCOUNT
What we can see here is that the IM gateway client uses a old protocol version MSNP11 versus MSNP15, and the original client uses other auth method SSO instead of TWN.
So, maybe MSN dropped the support of the old version? is anyone else having the same problem?
If so, do you guys have planned a updated protocol version? if that’s not the problem what could it be?
Thank you guys.