Menu

MSNP15 - Exception

Help
Alex Perez
2008-10-15
2013-04-29
  • Alex Perez

    Alex Perez - 2008-10-15

    I was having problems with version 13 of the protocol and downloaded the most recent svn verson for jml (rev 98 by damencho).

    I found that the package works well with most accounts (quite a bit slower though) but when I tried to login on to an account that had over 1000 contacts on the RL list (don't ask me how it got so big), I got an exception:

    Last few bits of the contact list:

    00007280h: 64 22 20 6C 3D 22 33 22 20 74 3D 22 31 22 20 2F ; d" l="3" t="1" /
    00007290h: 3E 3C 2F 64 3E 3C 2F 6D 6C 3E                   ; ></d></ml>

    15-Oct-2008 10:03:15 net.sf.jml.protocol.MsnSession$1 messageReceived
    INFO: address@msn.com NS <<< SBS 0 null

    15-Oct-2008 10:03:17 net.sf.jml.net.Session$MsgSender run
    SEVERE: error sending msg: CHG 7 NLN -2147188692

    java.net.SocketException: Connection reset by peer: socket write error
            at java.net.SocketOutputStream.socketWrite0(Native Method)
            at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
            at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
            at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109)
            at net.sf.jml.net.Session.sendMessage(Session.java:493)
            at net.sf.jml.net.Session.access$1300(Session.java:32)
            at net.sf.jml.net.Session$MsgSender.run(Session.java:458)
            at java.lang.Thread.run(Thread.java:619)
    java.net.SocketException: Connection reset by peer: socket write error
            at java.net.SocketOutputStream.socketWrite0(Native Method)
            at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
            at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
            at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109)
            at net.sf.jml.net.Session.sendMessage(Session.java:493)
            at net.sf.jml.net.Session.access$1300(Session.java:32)
            at net.sf.jml.net.Session$MsgSender.run(Session.java:458)
            at java.lang.Thread.run(Thread.java:619)
    15-Oct-2008 10:03:17 net.sf.jml.protocol.MsnSession$1 messageReceived
    INFO: address@msn.com NS <<< MSG Hotmail Hotmail 1291

    15-Oct-2008 10:03:17 net.sf.jml.net.Session$MsgSender run
    SEVERE: error sending msg: CHG 7 NLN -2147188692
    java.net.SocketException: Connection reset by peer: socket write error
            at java.net.SocketOutputStream.socketWrite0(Native Method)
            at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    ....

    Any thoughts?

     
    • Damian Minkov

      Damian Minkov - 2008-10-15

      Hi,

      I have seen such an Exception, not in such situation though (big contactlist). The exception I've seen are most of the time when sending PINGs to the server (PNG).
      And I had no reasonable explanation. Any suggestions are welcome :)
      As you can see the exception is in net.sf.jml.net.Session which is not part of the ver13 code (net.sf.jml.protocol.soap).

      damencho

       

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.