Connection to Facebook XMPP server does not work

93 views
Skip to first unread message

Valérian Saliou

unread,
Oct 30, 2010, 6:16:10 AM10/30/10
to Punjab
Hello,

I just wanted to report you a bug with the connexion to Facebook XMPP
chat servers (chat.facebook.com).

When the client sends a first POST to Punjab, the response comes after
a very long time:

<body xmlns='http://jabber.org/protocol/httpbind' type='terminate'
condition='remote-connection-failed'/>

I don't know where it can come from (maybe Facebook uses whitelists?),
because their XMPP server is ejabberd (a deep-modified version), if I
remember, so that there's no reason it does not work.

Christopher Zorn

unread,
Oct 31, 2010, 9:20:43 AM10/31/10
to punja...@googlegroups.com
Facebook works for me. Can you post a punjab log here? It looks like a DNS problem if the error is remote-connection-failed


2010/10/30 Valérian Saliou <vana...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Punjab" group.
To post to this group, send email to punja...@googlegroups.com.
To unsubscribe from this group, send email to punjab-xmpp...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/punjab-xmpp?hl=en.


Valérian Saliou

unread,
Oct 31, 2010, 10:59:42 AM10/31/10
to Punjab
Here are the logs:

2010-10-31 15:49:20+0100 [HTTPChannel,11323,127.0.0.1] HTTPB POST :
2010-10-31 15:49:20+0100 [HTTPChannel,11323,127.0.0.1] <body
xml:lang='fr' content='text/xml; charset=utf-8' hold='1' xmlns='http://
jabber.org/protocol/httpbind' to='chat.facebook.com' wait='300'
rid='467207' secure='true'
newkey='91cd634a48d1466437304498f922630ddbdf356d' ver='1.6'
xmlns:xmpp='urn:xmpp:xbosh' xmpp:version='1.0'/>
2010-10-31 15:49:20+0100 [HTTPChannel,11323,127.0.0.1] Session
Created : e139b69c9df928d8e578ac23e1aff139 1288536560.96
2010-10-31 15:49:20+0100 [HTTPChannel,11323,127.0.0.1]
================================== 1288536560.96 connect to
chat.facebook.com:5222 ==================================
2010-10-31 15:49:20+0100 [HTTPChannel,11323,127.0.0.1] Starting
factory <punjab.session.Session object at 0x89e3d2c>
2010-10-31 15:49:22+0100 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<punjab.session.XMPPClientConnector instance at 0x89e334c> will retry
in 2 seconds
2010-10-31 15:49:22+0100 [twisted.names.dns.DNSDatagramProtocol (UDP)]
Stopping factory <punjab.session.Session object at 0x89e3d2c>
2010-10-31 15:49:25+0100 [-] Starting factory <punjab.session.Session
object at 0x89e3d2c>
2010-10-31 15:49:26+0100 [twisted.names.dns.DNSDatagramProtocol (UDP)]
<punjab.session.XMPPClientConnector instance at 0x89e334c> will retry
in 5 seconds
2010-10-31 15:49:26+0100 [twisted.names.dns.DNSDatagramProtocol (UDP)]
Stopping factory <punjab.session.Session object at 0x89e3d2c>
2010-10-31 15:49:32+0100 [-] Starting factory <punjab.session.Session
object at 0x89e3d2c>
2010-10-31 15:49:34+0100 [twisted.names.dns.DNSDatagramProtocol (UDP)]
Abandoning <punjab.session.XMPPClientConnector instance at 0x89e334c>
after 3 retries.
2010-10-31 15:49:34+0100 [twisted.names.dns.DNSDatagramProtocol (UDP)]
Stopping factory <punjab.session.Session object at 0x89e3d2c>

---------------------

2010-10-31 15:51:20+0100 [-] SESSION -> Terminate
2010-10-31 15:51:20+0100 [-] expire (e139b69c9df928d8e578ac23e1aff139)
2010-10-31 15:51:20+0100 [-] 4

---------------------

2010-10-31 15:49:50+0100 [-] ==================================
e139b69c9df928d8e578ac23e1aff139 1288536590.39 startup timeout
==================================
2010-10-31 15:49:50+0100 [-] HTTPB Error 200
2010-10-31 15:49:50+0100 [-] HTTPB Return Error: 200 -> <body
xmlns='http://jabber.org/protocol/httpbind' type='terminate'
condition='remote-connection-failed'/>

I checked on my laptop computer and all was fine, you're right. It
seems here on the server, it's a DNS fail, but when we ping
chat.facebook.com, it works from the server.

On 31 oct, 14:20, Christopher Zorn <christopher.z...@gmail.com> wrote:
> Facebook works for me. Can you post a punjab log here? It looks like a DNS
> problem if the error is remote-connection-failed
>
> 2010/10/30 Valérian Saliou <vanar...@gmail.com>
>
> > Hello,
>
> > I just wanted to report you a bug with the connexion to Facebook XMPP
> > chat servers (chat.facebook.com).
>
> > When the client sends a first POST to Punjab, the response comes after
> > a very long time:
>
> > <body xmlns='http://jabber.org/protocol/httpbind'type='terminate'
> > condition='remote-connection-failed'/>
>
> > I don't know where it can come from (maybe Facebook uses whitelists?),
> > because their XMPP server is ejabberd (a deep-modified version), if I
> > remember, so that there's no reason it does not work.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Punjab" group.
> > To post to this group, send email to punja...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > punjab-xmpp...@googlegroups.com<punjab-xmpp%2Bunsu...@googlegroups.com>
> > .

Christopher Zorn

unread,
Nov 15, 2010, 5:15:09 PM11/15/10
to punja...@googlegroups.com
Can you connect to facebook from another client on that server? What happens if you use netcat or telnet to go to chat.facebook.com 5222? 

2010/10/31 Valérian Saliou <vana...@gmail.com>
To unsubscribe from this group, send email to punjab-xmpp...@googlegroups.com.

EtreRe

unread,
Mar 8, 2012, 7:38:40 AM3/8/12
to punja...@googlegroups.com
Did you find a solution ? I have the same probleme :(
Reply all
Reply to author
Forward
0 new messages