[Pidgin] #15848: Automatic reconnecting fails after being unable to resolve address for gmail.com
Pidgin
trac at pidgin.im
Sat Jan 4 00:38:59 EST 2014
#15848: Automatic reconnecting fails after being unable to resolve address for
gmail.com
----------------------+---------------------------------
Reporter: laasonen | Owner:
Type: defect | Status: new
Milestone: | Component: libpurple
Version: 2.10.7 | Keywords: dns error reconnect
----------------------+---------------------------------
Even thought Pidgin always connects successfully after being started and
Empathy always reconnects automatically after reconnecting to internet
Pidgin always fails to reconnect after connecting to internet. Debug log
says it can't resolve address for gmail.com, so it has something to do
DNS.
'''Log after connecting to network:'''
{{{
(07:22:28) network: Got StateChange from NetworkManager: 40.
(07:22:32) network: Got StateChange from NetworkManager: 70.
(07:22:32) autorecon: do_signon called
(07:22:32) autorecon: calling purple_account_connect
(07:22:32) account: Connecting to account xxx at gmail.com/.
(07:22:32) connection: Connecting. gc = 0xdb24e0
(07:22:32) dnssrv: querying SRV record for gmail.com: _xmpp-
client._tcp.gmail.com
(07:22:32) autorecon: done calling purple_account_connect
(07:22:32) dnssrv: res_query returned an error
(07:22:32) dnsquery: Performing DNS lookup for gmail.com
(07:22:32) dns: Wait for DNS child 14212 failed: No child processes
(07:22:32) dns: Created new DNS child 14258, there are now 1 children.
(07:22:32) dns: Successfully sent DNS request to child 14258
dns[14258] Error: getaddrinfo returned -2
(07:22:32) dns: Got response for 'gmail.com'
(07:22:32) dnsquery: Error resolving gmail.com:
Name or service not known
(07:22:32) proxy: Connection attempt failed: Error resolving gmail.com:
Name or service not known
(07:22:32) jabber: Couldn't connect directly to gmail.com. Trying to find
alternative connection methods, like BOSH.
(07:22:32) dnssrv: querying TXT record for gmail.com:
_xmppconnect.gmail.com
(07:22:33) dnssrv: res_query returned an error
(07:22:33) jabber: Unable to find alternative XMPP connection methods
after failing to connect directly.
(07:22:33) connection: Connection error on 0xdb24e0 (reason: 0
description: Unable to connect)
(07:22:33) account: Disconnecting account xxx at gmail.com/ (0xd96a00)
(07:22:33) connection: Disconnecting connection 0xdb24e0
(07:22:33) connection: Destroying connection 0xdb24e0
(07:22:38) util: Writing file accounts.xml to directory
/home/laasonen/.purple
(07:22:38) util: Writing file /home/laasonen/.purple/accounts.xml
}}}
'''Log after disconnecting from network:'''
{{{
(07:22:10) network: Got StateChange from NetworkManager: 20.
(07:22:10) account: Disconnecting account xxx at gmail.com/ (0xd96a00)
(07:22:10) connection: Disconnecting connection 0x13bfd30
(07:22:10) connection: Deactivating keepalive.
(07:22:10) jabber: Sending (ssl) (xxx at gmail.com/535CE3D8):
</stream:stream>
(07:22:10) connection: Destroying connection 0x13bfd30
dns[14212]: nobody needs me... =(
(07:22:15) util: Writing file blist.xml to directory
/home/laasonen/.purple
(07:22:15) util: Writing file /home/laasonen/.purple/blist.xml
(07:22:15) util: Writing file accounts.xml to directory
/home/laasonen/.purple
(07:22:15) util: Writing file /home/laasonen/.purple/accounts.xml
}}}
'''My system:'''
Arch Linux x86_64
'''My applications:'''
libpurple 2.10.7-4
pidgin 2.10.7-4
network-manager-applet 0.9.8.8-1
networkmanager 0.9.8.8-1
slim 1.3.6-3
awesome 3.5.2-1
--
Ticket URL: <https://developer.pidgin.im/ticket/15848>
Pidgin <https://pidgin.im>
Pidgin
More information about the Tracker
mailing list