[Olpc-sysadmin] jabber.laptop.org not working?

Reuben K. Caron reuben at laptop.org
Tue Nov 2 09:58:50 EDT 2010


Martin,

It should be back up now.

Regards,

Reuben

On Oct 31, 2010, at 12:52 PM, Martin Dengler wrote:

> Hi,
>
> I'm testing with this simple python-xmpp script[1] that has worked
> reliably for a few years now, and it's reporting that
> jabber.laptop.org is down (insofar as the jabber server goes).  Is
> this really correct?
>
> Martin
>
> 1. From http://wiki.laptop.org/go/Community_Jabber_Servers :
>
> #!/usr/bin/python
> import socket, sys
> socket.setdefaulttimeout(5.0)
> from xmpp import *
> success = None
> def test_alive(server, port):
>    retval = None
>    try:
>        cl = Client(server)
>        retval = cl.connect(server=(server, port))
>    except (ValueError, StreamError), msg:
>        if isinstance(msg, (ValueError, HostGone,
>        RemoteConnectionFailed, UndefinedCondition)):
>            retval = False
>        else:
>            retval = True
>    return retval
> success = test_alive(sys.argv[1], 5222)
> success = success or test_alive(sys.argv[1], 5223)
> sys.exit(0 if success else 1)
>
> $ ./xmpp_alive.py jabber.laptop.org
> /usr/lib/python2.6/site-packages/xmpp/auth.py:24:  
> DeprecationWarning: the sha module is deprecated; use the hashlib  
> module instead
>  import sha,base64,random,dispatcher,re
> /usr/lib/python2.6/site-packages/xmpp/auth.py:26:  
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
>  import md5
> Invalid debugflag given: always
> Invalid debugflag given: nodebuilder
> DEBUG:
> DEBUG: Debug created for /usr/lib/python2.6/site-packages/xmpp/ 
> client.py
> DEBUG:  flags defined: always,nodebuilder
> DEBUG: socket       start Plugging <xmpp.transports.TCPsocket  
> instance at 0x2643f80> into <xmpp.client.Client instance at 0x2643e18>
> DEBUG: socket       warn  An error occurred while looking up _xmpp- 
> client._tcp.jabber.laptop.org
> Invalid debugflag given: always
> Invalid debugflag given: nodebuilder
> DEBUG:
> DEBUG: Debug created for /usr/lib/python2.6/site-packages/xmpp/ 
> client.py
> DEBUG:  flags defined: always,nodebuilder
> DEBUG: socket       start Plugging <xmpp.transports.TCPsocket  
> instance at 0x26594d0> into <xmpp.client.Client instance at 0x2659518>
> DEBUG: socket       warn  An error occurred while looking up _xmpp- 
> client._tcp.jabber.laptop.org
> $ echo $?
> 1
>
> _______________________________________________
> Olpc-sysadmin mailing list
> Olpc-sysadmin at lists.laptop.org
> http://lists.laptop.org/listinfo/olpc-sysadmin



More information about the Olpc-sysadmin mailing list