On 16/02/2006, at 8:38 PM, Lars T. Mikkelsen wrote:
> Lately I've been getting a fair amount of unmotivated connection losses
> with PyMSNt - on average once a day. An example from debug.log:
>
>>> PNG
> << QNG 50
>>> PNG
> << QNG 48
>>> PNG
> << QNG 47
>>> PNG
> Stopping factory <tlib.msn.msn.NotificationFactory instance at
> 0xb75d2f8c>
> INFO :: <my JID> :: :: wait :: msn.msnw.NotificationClient ::
> {'self': 'instance', 'reason': <twisted.python.failure.Failure
> twisted.internet.error.ConnectionLost>}
> INFO :: <my JID> :: :: connectionLost :: glue.LegacyConnection ::
> {'reason': <twisted.python.failure.Failure
> twisted.internet.error.ConnectionLost>, 'self': 'instance'}
> INFO :: <my JID> :: :: sendMessage :: Session :: {'body': 'Oversize
> arg', 'delay': None, 'self': 'instance', 'fro': '<transport JID>',
> 'mtype': None, 'to': u'<my JID>'}
> INFO :: :: :: sendMessage :: p :: {'body': 'Oversize arg', 'delay':
> None, 'fro': '<transport JID>', 'mtype': None, 'to': u'<my JID>',
> 'pytrans': <main.PyTransport instance at 0xb7ba842c>}
> INFO :: <my JID> :: :: removeMe :: Session :: {'self': 'instance'}
> [snip]
> INFO :: <my JID> :: Removed! :: removeMe :: Session :: {'self':
> 'instance'}
>
> I guess it is simply due to unstable MSN Messenger servers, as people
> using Gaim and the official client are also complaining about
> disconnections.
>
> I think it would be nice if the transport tries to reconnect after
> these
> lost connections - perhaps after a small delay and with a retry limit.
>
> Best regards,
> Lars
Oops. That's a regression. I'll fix it in the next release.
---
James