-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It seems that messenger.hotmail.com is down. I only started paying 
attention recently, is this very common ?

celso:~$ telnet messenger.hotmail.com 1863
Trying 207.46.104.20...
telnet: connect to address 207.46.104.20: Connection refused
telnet: Unable to connect to remote host

So PyMSN is unable to connect. I was browsing through the code and 
reading 
http://www.hypothetic.org/docs/msn/notification/authentication.php and 
decided to change msnw.py from:

reactor.connectTCP('messenger.hotmail.com', 1863, dispatchFactory)

to:

reactor.connectTCP('baym-cs322.msgr.hotmail.com', 1863, dispatchFactory)

I got "baym-cs322.msgr.hotmail.com" from a tcpdump from a real MSN 
client.

I rebooted the transport, I saw from the tcpdump that it exchanged some 
traffic but I still couldn't logon.

So my newbie questions are:

1. Is the transport ready to work directly with a notification server 
other the messenger.hotmail.com ?

2. Wouldn't it be good ideia to implement alternative fallback 
authentication processes like the real MSN client does ? It seem that 
it first tries the last notification server it used, then the main 
dispatch server and finally a web based dispach server.

3. And last:

                 if(self.inited):
                         MSNConnection.removeMe(self)

                 self.switchboardSessions = {}
                 dispatchFactory = DispatchFactory(self)
                 reactor.connectTCP('messenger.hotmail.com', 1863, 
dispatchFactory)
                 self.notificationFactory = msn.NotificationFactory()
                 self.notificationFactory.userHandle = self.username
                 self.notificationFactory.password = self.password
                 self.notificationFactory.msncon = self
                 self.notificationFactory.protocol = Notification
                 self.notificationProtocol = None

                 self.savedStatus = None

                 self.inited = True

                 debug.log("MSNConnection: \"%s\" initialised" % 
(self.username))

I don't know too much python but isn't some error checking needed here 
? It seems to be returning success even when I know for sure that this 
server can't connect to messenger.hotmail.com.

Thanks,
Celso.

- --
SMTP: [EMAIL PROTECTED]
XMPP: [EMAIL PROTECTED]
PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xCF7F58A6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCCCTG45dvDs9/WKYRAlxwAJ9Jz2DiSO0N7k5oNtDp1OzvRiNigACfQd2m
sSH/wzEYuAd0olvBPFsfPv4=
=YMgA
-----END PGP SIGNATURE-----

Reply via email to