[Pidgin] #17340: Bonjour contacts marked as off-line even though they're on-line due to resolving time-out

Pidgin trac at pidgin.im
Wed Sep 12 11:33:09 EDT 2018


#17340: Bonjour contacts marked as off-line even though they're on-line due to
resolving time-out
----------------------+---------------------------------------------
 Reporter:  Lachezar  |      Owner:  datallah
     Type:  defect    |     Status:  new
Milestone:            |  Component:  Bonjour
  Version:  2.12.0    |   Keywords:  bonjour off-line time-out linux
----------------------+---------------------------------------------
 Bonjour contacts are marked as off-line in an unpredictable order and in
 unpredictable periods.
 After receiving help on IRC `#pidgin` `@FreeNode` by user `EionRobb` it
 looks like the reason is that occasionally Avahi lookups time-out, which
 marks the contact as off-line with no possibility to fix that other then
 disable+enable the account.

 Relevant extract from the debug log:

 {{{
 (12:58:35) bonjour: _resolve_callback - name:Contact at machine
 account:0x564e010f5190 bb:(nil)
 (12:58:35) bonjour: _resolve_callback - name:Contact at machine
 ip:192.168.xxx.yyy prev_ip:(null)
 (12:58:35) blist: Updating buddy status for Contact at machine (Bonjour)

 ...

 (12:59:23) bonjour: _resolve_callback - Failure: Времето изтече
 (12:59:23) blist: Updating buddy status for Contact at machine (Bonjour)
 }}}

 The 'Времето изтече' is the Bulgarian localised variant of 'Timed out'.

 Once the contact falls off-line there is no way to recover without
 restarting either client or disabling+enabling either account.

 At the same time `avahi-browse -r _presence._tcp` successfully lists the
 contact and successfully resolves it.

 Further help by the same user points to the `mdns_avahi.c` in lines 129 to
 150, where any unsuccessful resolving marks the contact as off-line.

 Suspected reason for occasional time-outs: over-burdened WiFi Spectrum
 with occasional packet loss, a.k.a. many cells around.

--
Ticket URL: <https://developer.pidgin.im/ticket/17340>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list