Summary: | XMPP network error | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Matthias Mailänder <matthias> |
Component: | gabble | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED INVALID | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | martin.klapetek |
Version: | 5.6 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | meaningless error: "connection reset by peer" |
Description
Matthias Mailänder
2012-09-18 12:45:50 UTC
"Connection reset by peer" comes from the operating system (it's the strerror() string for ECONNRESET). It means the server (in this case chat.facebook.com) rejected your attempt to connect to it. There isn't really anything telepathy-gabble can do about that... The log says (telepathy-gabble:7232): gabble-DEBUG: _gabble_connection_connect (connection.c:2205): disabling SRV because "server" or "old-ssl" was specified or port was not 5222, will connect to chat.facebook.com It looks as though your account configuration is forcing the "server" parameter to "chat.facebook.com", which means it won't try a SRV lookup (automatic server detection). Facebook accounts set up via GNOME Online Accounts don't do that, which means Gabble would do the equivalent of this: % host -t SRV _xmpp-client._tcp.chat.facebook.com _xmpp-client._tcp.chat.facebook.com has SRV record 5 0 5222 chat.facebook.com. ... resulting in the same connection attempt that it's doing for you anyway (connecting to "chat.facebook.com", TCP port 5222). Try doing "telnet chat.facebook.com 5222" in a terminal? That's essentially the same TCP connection that telepathy-gabble is doing. If you open that connection, type "x" and press Enter, if all goes well you should get something like this: % telnet chat.facebook.com 5222 Trying 69.171.227.26... Connected to chat.facebook.com. Escape character is '^]'. x <?xml version="1.0"?><stream:stream id="none" from="chat.facebook.com" version="1.0" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams"><stream:error><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error></stream:stream>Connection closed by foreign host. If you get "Connection reset by peer" or something else, then your network is probably interfering with the connection to Facebook. telnet chat.facebook.com 5222 Trying 69.171.241.10... Connected to chat.facebook.com. Escape character is '^]'. x <?xml version="1.0"?><stream:stream id="none" from="chat.facebook.com" version="1.0" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams"><stream:error><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error></stream:stream>Connection closed by foreign host. The problem was that KDE-Telepathy fetched proxy settings from an old GNOME installation which had some manual proxy settings set although all GUI programs using/configuring it were already gone for years. gsettings reset-recursively org.gnome.system.proxy "fixed" it. Sorry. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.