On 02/06/2006, at 3:48 PM, Stian B. Barmen wrote: > I got a report from a user that sending a link to a contact did result > in no message sending. From my testing I can confirm the problem, > but I > am not sure if it is a problem with the transport or if it is some > logic > on MSN servers. > > You can test for youreself by sending this link to a msn contact: > http://isohunt.com/download.php?mode=bt&id=11291280 > > What I did to test. > > 1. Talk to an msn contact (I just logged my wife on locally on another > msn client) > 2. Send the link "http://isohunt.com/download.php?mode=bt&id=11291280" > 3. Nothing gets sendt to the msn contact, following up with more > messages and they get stopped too > 4. Send a message from the MSN client back to myself and it gets > trough. > 5. Now I can send messages to the MSN client. Links like > "http://www.vg.no" gets sendt. > 6. Sending the http://isohunt.com/download.php?mode=bt&id=11291280 > link > again and I can no longer talk to the MSN user. > > I also tried it the other way round, just to see what happened if I > sendt the link from the MSN user to my transport. The link gets > dropped, > but follow up messages gets trough. > > This is the last lines in my log. (svn rev 166). > > 10/28/05 - 12:02:26 - why = self.lineReceived(line) > 10/28/05 - 12:02:26 - File > "/usr/lib/python2.3/site-packages/pymsnt/src/tlib/msn.py", line > 670, in > lineReceived > 10/28/05 - 12:02:26 - self.gotError(int(cmd)) > 10/28/05 - 12:02:26 - File > "/usr/lib/python2.3/site-packages/pymsnt/src/tlib/msn.py", line > 725, in > gotError > 10/28/05 - 12:02:26 - log.msg('Error %s' % (errorCodes > [errorCode])) > 10/28/05 - 12:02:26 - exceptions.KeyError: 400 > > Hope more can test this so we can confirm if it is a MSN or transport > problem. > > Best regards > Stian B. Barmen > www.jabber.no
As you possibly saw, that error code wasn't in the PyMSNt error table. That's likely what is causing the switchboard session to stop working. Now I fixed msn.py so it actually reports these errors (I only just realised last week that it has actually been silently ignoring them since forever), I need to add error handlers in a few more places. Looks like this might be one of them :) Could you please check if with latest revision you can keep chatting after sending a link? I need to know if the switchboard session gets dropped completely, or if its just the message. Thanks. --- James
