That could be it.
You can try increasing the timeout. Edit src/legacy/msn/msnw.py
Search for "Timeout", there's an integer there saying 30. If you  
think it might take longer that 30 seconds to make that connection,  
then I can increase it to 60 as a default.

Also, another time when you find its not working, see what kind of  
time it takes then.

---

James



On 17/08/2006, at 12:43 AM, Vladimir Vrzic wrote:

> It just started working today. Maybe it was due to some network  
> lag? Or
> CPU lag? The load on this machine is pretty heavy, it's around 6.0, or
> 7.0 most of the time.
>
> [EMAIL PROTECTED]:~$ cat > msncmd
> VER 0 MSNP11
> CVR 1 0x040c winnt 5.1 i386 MSNMSGR 7.0.0777 msmsgs [EMAIL PROTECTED]
> USR 2 TWN I [EMAIL PROTECTED]
> [EMAIL PROTECTED]:~$ time nc messenger.hotmail.com 1863 < msncmd
> VER 0 MSNP11
> CVR 1 7.5.0324 7.5.0324 7.0.0777
> http://msgr.dlservice.microsoft.com/download/c/a/7/ca7e9edf- 
> ae2c-441e-b6be-26ace50a5875/Install_MSN_Messenger.EXE http:// 
> messenger.msn.com/fr
> XFR 2 NS 207.46.4.94:1863 0 65.54.239.140:1863
>
> real    0m0.781s
> user    0m0.001s
> sys     0m0.003s
> [EMAIL PROTECTED]:~$
>
> Seems ok now. I couldn't have tried it yesterday, but I'll try if the
> same problem repeats.
>
>
> On Wed, 2006-08-16 at 08:21 +1000, James Bunton wrote:
>> Could you try this at a shell for me..
>>
>> Put these commands (one per line) into a file called msncmd. No empty
>> lines.
>>
>> VER 0 MSNP11
>> CVR 1 0x040c winnt 5.1 i386 MSNMSGR 7.0.0777 msmsgs [EMAIL PROTECTED]
>> USR 2 TWN I [EMAIL PROTECTED]
>>
>> No run this command (assuming you have netcat installed)
>> time nc messenger.hotmail.com 1863 < msncmd
>>
>> How long does it take to terminate? You should get something looking
>> roughly like this as output
>>
>> VER 0 MSNP11
>> CVR 1 7.5.0324 7.5.0324 7.0.0777 http://msgr.dlservice.microsoft.com/
>> download/c/a/7/ca7e9edf-ae2c-441e-b6be-26ace50a5875/
>> Install_MSN_Messenger.EXE http://messenger.msn.com/fr
>> XFR 2 NS 207.46.24.45:1863 0 65.54.239.20:1863
>>
>> real    0m0.893s
>> user    0m0.001s
>> sys     0m0.007s
>>
>>
>> What time do you get for real? It should be low. The timeout that
>> you're hitting when you're running PyMSNt 0.11.x is started when the
>> transport connects to messenger.hotmail.com and ends when it receives
>> the XFR. Or at least that's the idea :)
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to