Dear all,
Is anyone else having problems connecting to the MSN network via
PyMSNt? I'm running version 0.11.2 and although my Jabber server is
running (ejabberd 1.0), PyMSNt doesn't seem to connect.
I use Psi as my client.
There don't seem to be any tracebacks in the debug.log, but I set the
logging level to 3 and the log output (suitable anonymised, removing
the name of the server, usernames and passwords etc) is attached below.
I'm able to connect fine with the the official Windows Messenger
client, although it seems to take some time, which leads me to wonder
if the transport is timing out somewhere?
Raj.
--- Begin log output ---
[2006-11-16 10:28:28] Log opened.
[2006-11-16 10:28:28] INFO :: :: :: __init__ :: PyTransport ::
{'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: SVN r229 :: __init__ :: PyTransport
:: {'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: Reactor:
<twisted.internet.pollreactor.PollReactor object at 0x4024feec> ::
__init__ :: PyTransport :: {'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: __init__ :: ServerDiscovery ::
{'pytrans': <main.PyTransport instance at 0x401ce24c>, 'self':
'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'http://jabber.org/protocol/disco', 'jid': 'msn.my.server',
'handler': None, 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'http://jabber.org/protocol/disco', 'jid': 'USER', 'handler':
None, 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addIdentity :: ServerDiscovery ::
{'category': 'gateway', 'jid': 'msn.my.server', 'name': 'MSN
Transport', 'ctype': 'msn', 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addIdentity :: ServerDiscovery ::
{'category': 'conference', 'jid': 'msn.my.server', 'name': 'MSN
Transport Chatrooms', 'ctype': 'text', 'self':
'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'jabber:x:conference', 'jid': 'msn.my.server', 'handler': None,
'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'jabber:iq:conference', 'jid': 'msn.my.server', 'handler':
None, 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addIdentity :: ServerDiscovery ::
{'category': 'client', 'jid': 'USER', 'name': 'MSN Messenger', 'ctype':
'pc', 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'jabber:iq:register', 'jid': 'msn.my.server', 'handler': <bound
method RegisterManager.incomingRegister
Iq of <register.RegisterManager instance at 0x401cb56c>>, 'self':
'instance'}
[2006-11-16 10:28:28] INFO :: :: :: __init__ :: RegisterManager ::
{'pytrans': <main.PyTransport instance at 0x401ce24c>, 'self':
'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'jabber:iq:gateway', 'jid': 'msn.my.server', 'handler': <bound
method GatewayTranslator.incomingIq of <
misciq.GatewayTranslator instance at 0x401cb42c>>, 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'jabber:iq:version', 'jid': 'msn.my.server', 'handler': <bound
method VersionTeller.incomingIq of <misc
iq.VersionTeller instance at 0x401cb5ec>>, 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'jabber:iq:version', 'jid': 'USER', 'handler': <bound method
VersionTeller.incomingIq of <misciq.VersionTeller ins
tance at 0x401cb5ec>>, 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'http://jabber.org/protocol/commands', 'jid': 'msn.my.server',
'handler': <bound method AdHocCommands.i
ncomingIq of <misciq.AdHocCommands instance at 0x401cb48c>>, 'self':
'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addNode :: ServerDiscovery ::
{'node': 'http://jabber.org/protocol/commands', 'jid': 'msn.my.server',
'name': 'command_CommandList', 'self': 'in
stance', 'handler': <bound method AdHocCommands.sendCommandList of
<misciq.AdHocCommands instance at 0x401cb48c>>, 'rootnode': True}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'vcard-temp', 'jid': 'USER', 'handler': <bound method
VCardFactory.incomingIq of <misciq.VCardFactory instance at
0x401cb46c>>, 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'vcard-temp', 'jid': 'msn.my.server', 'handler': <bound method
VCardFactory.incomingIq of <misciq.VCard
Factory instance at 0x401cb46c>>, 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'jabber:iq:avatar', 'jid': 'USER', 'handler': <bound method
IqAvatarFactory.incomingIq of <misciq.IqAvatarFactory
instance at 0x401cb4cc>>, 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'storage:client:avatar', 'jid': 'USER', 'handler': <bound
method IqAvatarFactory.incomingIq of <misciq.IqAvatarFac
tory instance at 0x401cb4cc>>, 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addNode :: ServerDiscovery ::
{'node': 'connectusers', 'jid': 'msn.my.server', 'name':
'command_ConnectUsers', 'self': 'instance', 'handler': <b
ound method AdHocCommands.incomingIq of <misciq.AdHocCommands instance
at 0x401cb48c>>, 'rootnode': False}
[2006-11-16 10:28:28] INFO :: :: :: __init__ :: Proxy65 :: {'self':
'instance', 'port': 8010}
[2006-11-16 10:28:28] ft.Proxy65 starting on 8010
[2006-11-16 10:28:28] Starting factory <ft.Proxy65 instance at
0x401cb54c>
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'http://jabber.org/protocol/si', 'jid': 'USER', 'handler':
<bound method Socks5FileTransfer.incomingSI of <misciq.
Socks5FileTransfer instance at 0x401cb66c>>, 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'http://jabber.org/protocol/si/profile/file-transfer', 'jid':
'USER', 'handler': <function <lambda> at 0x4078fa04>
, 'self': 'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addFeature :: ServerDiscovery ::
{'var': 'http://jabber.org/protocol/bytestreams', 'jid': 'USER',
'handler': <bound method Socks5FileTransfer.incomingS5B o
f <misciq.Socks5FileTransfer instance at 0x401cb66c>>, 'self':
'instance'}
[2006-11-16 10:28:28] INFO :: :: :: addNode :: ServerDiscovery ::
{'node': 'stats', 'jid': 'msn.my.server', 'name': 'command_Statistics',
'self': 'instance', 'handler': <bound meth
od AdHocCommands.incomingIq of <misciq.AdHocCommands instance at
0x401cb48c>>, 'rootnode': False}
[2006-11-16 10:28:28] Starting factory
<twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
0x401ce12c>
[2006-11-16 10:28:29] INFO :: :: :: componentConnected :: PyTransport
:: {'xmlstream': <twisted.words.protocols.jabber.xmlstream.XmlStream
instance at 0x407a972c>, 'self': 'instance'}
[2006-11-16 10:29:24] INFO :: :: Attempting to create a new session.
:: onPresence :: PyTransport :: {'el':
<twisted.words.xish.domish.Element object at 0x407d436c>, 'froj':
<twisted.words.pro
tocols.jabber.jid.JID instance at 0x40886acc>, 'self': 'instance',
'fro': u'[EMAIL PROTECTED]/PsiWork', 'ptype': None, 'ulang': None,
'to': u'msn.my.server', 's': None, 'toj':
<twisted.words.protocols.jabber.jid.JID instance at 0x40486b2c>}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: :: makeSession ::
11.2/src/session.p :: {'ulang': None, 'jabberID':
u'[EMAIL PROTECTED]', 'pytrans': <main.PyTransport instance
at 0x401ce24c>}
[2006-11-16 10:29:24] INFO :: :: :: getRegInfo :: RegisterManager ::
{'jabberID': u'[EMAIL PROTECTED]', 'self': 'instance'}
[2006-11-16 10:29:24] INFO :: :: Returning reg info. :: getRegInfo ::
RegisterManager :: {'username': '[EMAIL PROTECTED]', 'jabberID':
u'[EMAIL PROTECTED]', 'self': 'instance', 'p
assword': 'my_password', 'result': <twisted.words.xish.domish.Element
object at 0x407a9a0c>}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: :: __init__ ::
Session :: {'jabberID': u'[EMAIL PROTECTED]', 'pytrans':
<main.PyTransport instance at 0x401ce24c>, 'self': 'ins
tance'}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: :: __init__ ::
Session :: {'username': '[EMAIL PROTECTED]', 'self': 'instance',
'ulang': None, 'jabberID': u'[EMAIL PROTECTED]
ac.uk', 'pytrans': <main.PyTransport instance at 0x401ce24c>,
'password': 'my_password'}
[2006-11-16 10:29:24] Starting factory <legacy.msn.msn.DispatchFactory
instance at 0x40817eec>
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: ::
_getNotificationReferral :: glue.LegacyConnection :: {'self':
'instance', 'dispatchFactory': <legacy.msn.msn.DispatchFactory instan
ce at 0x40817eec>, 'd': <Deferred at 0x40817f2c>, 'timeout': <function
timeout at 0x4078f374>}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: :: __init__ ::
glue.LegacyConnection :: {'username': '[EMAIL PROTECTED]',
'ident': u'[EMAIL PROTECTED]', 'self': 'instanc
e', 'password': 'my_password'}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: :: __init__ ::
glue.LegacyConnection :: {'username': '[EMAIL PROTECTED]',
'self': 'instance', 'password': 'my_password', 'session':
<session.Session instance at 0x404869ac>}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: :: __init__ ::
ContactList :: {'self': 'instance', 'session': <session.Session
instance at 0x404869ac>}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: Fetching avatar.
:: doVCardUpdate :: Session :: {'self': 'instance', 'vCardReceived':
<function vCardReceived at 0x4078f33c>, 'errback'
: <function errback at 0x4078f8ec>}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: Created! ::
__init__ :: Session :: {'username': '[EMAIL PROTECTED]', 'self':
'instance', 'ulang': None, 'jabberID': u'[EMAIL PROTECTED]
teu.gla.ac.uk', 'pytrans': <main.PyTransport instance at 0x401ce24c>,
'password': 'my_password'}
[2006-11-16 10:29:24] INFO :: :: New session created. :: onPresence ::
PyTransport :: {'el': <twisted.words.xish.domish.Element object at
0x407d436c>, 'froj': <twisted.words.protocols.jabber.j
id.JID instance at 0x40886acc>, 'self': 'instance', 'fro':
u'[EMAIL PROTECTED]/PsiWork', 'ptype': None, 'ulang': None, 'to':
u'msn.my.server', 's': <session.Session instance a
t 0x404869ac>, 'toj': <twisted.words.protocols.jabber.jid.JID instance
at 0x40486b2c>}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: Parsed presence
packet :: onPresence :: Session :: {'status': None, 'priority': u'3',
'froj': <twisted.words.protocols.jabber.jid.JID i
nstance at 0x40886acc>, 'show': None, 'self': 'instance', 'fro':
u'[EMAIL PROTECTED]/PsiWork', 'avatarHash': '', 'ptype': None, 'toj':
<twisted.words.protocols.jabber.jid.JID instance at
0x40486b2c>, 'to': u'msn.my.server', 'child':
<twisted.words.xish.domish.Element object at 0x404d206c>, 'el':
<twisted.words.xish.domish.Element object at 0x407d436c>, 'nickname': '
'}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: Resource came
online. :: handleResourcePresence :: Session :: {'status': None,
'resource': u'PsiWork', 'show': None, 'tor': None, 'self
': 'instance', 'ptype': None, 'existing': False, 'priority': u'3',
'to': u'msn.my.server', 'source': u'[EMAIL PROTECTED]'}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: :: resendLists ::
ContactList :: {'tojid': u'[EMAIL PROTECTED]/PsiWork', 'self':
'instance'}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: Setting status. ::
handleResourcePresence :: Session :: {'status': None, 'resource':
u'PsiWork', 'show': None, 'tor': None, 'self': 'in
stance', 'ptype': None, 'existing': False, 'priority': u'3', 'to':
u'msn.my.server', 'source': u'[EMAIL PROTECTED]'}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: Updating status on
legacy service. :: handleResourcePresence :: Session :: {'status':
None, 'resource': u'PsiWork', 'show': None, 'tor'
: None, 'self': 'instance', 'ptype': None, 'existing': False,
'priority': u'3', 'to': u'msn.my.server', 'source':
u'[EMAIL PROTECTED]', 'highestActive': u'PsiWork'}
[2006-11-16 10:29:24] INFO :: :: Doing callback :: onIq ::
ServerDiscovery :: {'el': <twisted.words.xish.domish.Element object at
0x408384ec>, 'froj': <twisted.words.protocols.jabber.jid.JID i
nstance at 0x40486a8c>, 'iqType': u'result', 'self': 'instance', 'fro':
u'[EMAIL PROTECTED]', 'ulang': None, 'to': u'msn.my.server/msn',
'ID': u'1'}
[2006-11-16 10:29:24] INFO :: [EMAIL PROTECTED] :: :: vCardReceived
:: Session :: {'el': <twisted.words.xish.domish.Element object at
0x408384ec>, 'self': 'instance', 'errback': <functi
on errback at 0x4078f8ec>}
[2006-11-16 10:29:24] INFO :: :: Setting avatar
7fb8ab453c708b0a4ab2639150b489d46d7cf190 :: setAvatar :: AvatarCache ::
{'key': '7fb8ab453c708b0a4ab2639150b489d46d7cf190', 'self': 'instance',
'avatar': <avatar.Avatar instance at 0x4083882c>, 'imageData':
'Oversize arg'}
[2006-11-16 10:29:24] INFO :: Getting avatar. :: :: getAvatarData ::
AvatarCache :: {'self': 'instance', 'key':
'7fb8ab453c708b0a4ab2639150b489d46d7cf190', 'filename':
'/home/ejabberd/pymsnt-0
.11.2/avatars/7fb/7fb8ab453c708b0a4ab2639150b489d46d7cf190'}
[2006-11-16 10:29:25] Starting factory
<legacy.msn.msn.NotificationFactory instance at 0x4083872c>
[2006-11-16 10:29:25] INFO :: [EMAIL PROTECTED] :: ::
_gotNotificationReferral :: glue.LegacyConnection :: {'self':
'instance', 'host': '207.46.107.66', '.2': ('207.46.107.66', 1863), '
port': 1863}
[2006-11-16 10:29:25] Stopping factory <legacy.msn.msn.DispatchFactory
instance at 0x40817eec>
[2006-11-16 10:29:26] Starting factory
<twisted.internet.protocol.ClientFactory instance at 0x4082704c>
[2006-11-16 10:29:26] Starting factory
<twisted.internet.protocol.ClientFactory instance at 0x408275ac>
[2006-11-16 10:29:26] Stopping factory
<twisted.internet.protocol.ClientFactory instance at 0x4082704c>
[2006-11-16 10:29:27] Stopping factory
<twisted.internet.protocol.ClientFactory instance at 0x408275ac>
--- end log transport ---
_______________________________________________
py-transports mailing list
[email protected]
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports