On 7/14/06, Jab User <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have installed the latest version Pymsnt 0.11.1. Now i am able to register
> and start a session. After that got the following error
> Failed to connect to MSN servers: [Failure instance: Traceback:
> exceptions.Exception, Timeout
> ]
>
> I have included the logs also.
>
> PyMSNT:
>
>
> [2006-07-14 11:52:00] INFO :: [EMAIL PROTECTED] :: Setting status. ::
> handleResourcePresence :: Session :: {'status': None, 'resource': u'Psi',
> 'show': None, 'tor': None, 'self': 'instance', 'ptype': None, 'existing':
> False, 'priority': u'5', 'to': u'msn.dell1.cn.com', 'source':
> u'[EMAIL PROTECTED]'}
> [2006-07-14 11:52:00] INFO :: [EMAIL PROTECTED] :: Updating status on
> legacy service. :: handleResourcePresence :: Session :: {'status': None,
> 'resource': u'Psi', 'show': None, 'tor': None, 'self': 'instance', 'ptype':
> None, 'existing': False, 'priority': u'5', 'to': u'msn.dell1.cn.com',
> 'source': u'[EMAIL PROTECTED]', 'highestActive': u'Psi'}
> [2006-07-14 11:52:20] Stopping factory <tlib.msn.msn.DispatchFactory
> instance at 0xb70a898c>
> [2006-07-14 11:52:20] INFO :: :: Doing callback :: onIq :: ServerDiscovery
> :: {'el': <tlib.domish.Element object at 0xb70a8cec>, 'froj':
> <tlib.jabber.jid.JID instance at 0xb70a5f0c>, 'iqType': u'result', 'self':
> 'instance', 'fro': u'[EMAIL PROTECTED]', 'ulang': None, 'to':
> u'msn.dell1.cn.com/msn', 'ID': u'3'}
> [2006-07-14 11:52:20] INFO :: [EMAIL PROTECTED] :: :: vCardReceived ::
> Session :: {'el': <tlib.domish.Element object at 0xb70a8cec>, 'self':
> 'instance', 'errback': <function errback at 0xb702c17c>}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] :: :: connectionFailed
> :: glue.LegacyConnection :: {'reason': <twisted.python.failure.Failure
> exceptions.Exception>, 'self': 'instance'}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] :: :: sendMessage ::
> Session :: {'body': u'Failed to connect to MSN servers: [Failure instance:
> Traceback: exceptions.Exception, Timeout\n]', 'delay': None, 'self':
> 'instance', 'fro': 'msn.dell1.cn.com', 'mtype': None, 'to':
> u'[EMAIL PROTECTED]'}
> [2006-07-14 11:52:30] INFO :: :: :: sendMessage :: 11.1/src/jabw.p ::
> {'body': u'Failed to connect to MSN servers: [Failure instance: Traceback:
> exceptions.Exception, Timeout\n]', 'delay': None, 'fro': 'msn.dell1.cn.com',
> 'mtype': None, 'to': u'[EMAIL PROTECTED]', 'pytrans': <main.PyTransport
> instance at 0xb757eb2c>}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] :: :: removeMe ::
> Session :: {'self': 'instance'}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] :: :: sendPresence ::
> Session :: {'status': None, 'show': None, 'self': 'instance', 'fro':
> 'msn.dell1.cn.com', 'avatarHash': None, 'ptype': 'unavailable', 'priority':
> None, 'to': u'[EMAIL PROTECTED]', 'nickname': None, 'payload': []}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] :: :: removeMe ::
> glue.LegacyConnection :: {'self': 'instance'}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] :: :: logOut ::
> glue.LegacyConnection :: {'c': <twisted.internet.tcp.Connector instance at
> 0xb70a8cac>, 'self': 'instance'}
> [2006-07-14 11:52:30] INFO :: [EMAIL PROTECTED] :: :: removeMe ::
> ContactList :: {'self': 'instance'}
>
>
> Jabber Server:
>
> ]</body><x xmlns='jabber:x:event'><composing/></x></message>
> Fri Jul 14 11:52:30 2006 mio.c:1274 mio_write called on x: 9C190D8 buffer:
> (null)
> Fri Jul 14 11:52:30 2006 mtq 9B873D8 leaving to pth
> Fri Jul 14 11:52:30 2006 mio.c:418 write_dump writing data: <message
> to='[EMAIL PROTECTED]' from='msn.dell1.cn.com' id='4'><body>Failed to
> connect to MSN servers: [Failure instance: Traceback: exceptions.Exception,
> Timeout
> ]</body><x xmlns='jabber:x:event'><composing/></x></message>
> Fri Jul 14 11:52:30 2006 mio.c:816 mio while loop top
> Fri Jul 14 11:52:30 2006 mio.c:829 mio while loop, working
> Fri Jul 14 11:52:30 2006 mio.c:816 mio while loop top
> Fri Jul 14 11:52:30 2006 mio.c:829 mio while loop, working
> Fri Jul 14 11:52:30 2006 mio.c:977 MIO read from socket 15: <presence
> to='[EMAIL PROTECTED]' from='msn.dell1.cn.com' type='unavailable'/>
> Fri Jul 14 11:52:30 2006 base_accept.c:120 process XML: m:9B3CDE8 state:3,
> arg:9B1F620, x:9C190D8
> Fri Jul 14 11:52:30 2006 deliver.c:474 DELIVER 1:dell1.cn.com <presence
> to='[EMAIL PROTECTED]' from='msn.dell1.cn.com' type='unavailable'/>
> Fri Jul 14 11:52:30 2006 deliver.c:678 delivering to instance 'sessions'
> Fri Jul 14 11:52:30 2006 deliver.c:95 (9B0B438)incoming packet <presence
> to='[EMAIL PROTECTED]' from='msn.dell1.cn.com' type='unavailable'/>
> Fri Jul 14 11:52:30 2006 users.c:143
> js_user([EMAIL PROTECTED],9B65760)
> Fri Jul 14 11:52:30 2006 deliver.c:55 delivering locally to
> [EMAIL PROTECTED]
> Fri Jul 14 11:52:30 2006 modules.c:135 mapi_call 3
> Fri Jul 14 11:52:30 2006 modules.c:158 MAPI 9B12D48
>
> Why is it not connecting to the server?
>
> Regards
> Raj
>
> _________________________________________________________________
Try "telnet messenger.hotmail.com 1863" from the pc that the pymsnt
server is running ON and see if connects?
(type it in a cmd prompt fyi)
From [EMAIL PROTECTED] Fri Jul 14 10:32:22 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Fri Jul 14 10:32:28 2006
Subject: [py-transports] Problems with current directory hashing method
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
On 7/14/06, David E Freitas <[EMAIL PROTECTED]> wrote:
> Yes, MD5 does make it less transparent. Although it's not often that
> you have to traverse the user DB. If you do have to find something,
> grep will get it :)
Or do it the same way you're doing avatars (i.e. first 3 letters of the hash).
If you're looking for a user you can always:
ls */username*
i.e. grep isn't required, you can just ls or find.
--
- Norman Rasmussen
- Email: [EMAIL PROTECTED]
- Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED] Fri Jul 14 12:46:49 2006
From: [EMAIL PROTECTED] (James Bunton)
Date: Fri Jul 14 12:47:03 2006
Subject: [py-transports] Problems with current directory hashing method
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
On 14/07/2006, at 8:32 PM, Norman Rasmussen wrote:
> On 7/14/06, David E Freitas <[EMAIL PROTECTED]> wrote:
>> Yes, MD5 does make it less transparent. Although it's not often that
>> you have to traverse the user DB. If you do have to find something,
>> grep will get it :)
>
> Or do it the same way you're doing avatars (i.e. first 3 letters of
> the hash).
>
> If you're looking for a user you can always:
> ls */username*
> i.e. grep isn't required, you can just ls or find.
>
> --
> - Norman Rasmussen
> - Email: [EMAIL PROTECTED]
> - Home page: http://norman.rasmussen.co.za/
Ok, current SVN trunk now hashes with MD5s.
If you run svn up and restart the transport then your spool dir will
be automatically migrated.
Also, the avatar cache directory will be moved to the root of
<spooldir/>. That is, alongside the msn.host.com folders so that if
anybody has multiple PyMSNt processes running on different domains
they can share the avatars cache.
I've tested this upgrade procedure a couple of times, and the worst
it can do is move your files into bad places. I'd appreciate people
trying it out though.
Thanks :)
---
James