Le Thu, Jan 08, 2026 at 02:23:37AM +0100, Antoine Le Gonidec a écrit :
> Here is the relevant part in poezio debug logs:
> 
> 2026-01-08 02:14:38,300 DEBUG:resolver:DNS: Querying SRV records for 
> dotslashplay.it
> 2026-01-08 02:14:38,300 DEBUG:resolver:DNS: Exception while querying for 
> dotslashplay.it SRV records: Channel.query() takes 3 positional arguments but 
> 4 positional arguments (and 1 keyword-only argument) were given
> 2026-01-08 02:14:38,300 DEBUG:resolver:DNS: Exception while querying for 
> dotslashplay.it SRV records: Channel.query() takes 3 positional arguments but 
> 4 positional arguments (and 1 keyword-only argument) were given
> 2026-01-08 02:14:38,300 DEBUG:resolver:DNS: Querying dotslashplay.it for AAAA 
> records.
> 
> Reverting to pycares 4.9.0-1 is enough to get poezio working again,
> downgrading aiodns too is no longer required. Here is the same log with 
> 4.9.0-1:
> 
> 2026-01-08 02:16:41,147 DEBUG:resolver:DNS: Querying SRV records for 
> dotslashplay.it
> 2026-01-08 02:16:41,362 DEBUG:resolver:DNS: Exception while querying for 
> dotslashplay.it SRV records: (4, 'Domain name not found')
> 2026-01-08 02:16:41,362 DEBUG:resolver:DNS: Querying hal9000.vv221.fr for 
> AAAA records.
> 2026-01-08 02:16:41,363 DEBUG:resolver:DNS: Querying hal9000.vv221.fr for A 
> records.

I’m realising the problem here might not be obvious.

With pycares 5, the query of the SRV field on dotslashplay.it fails,
so poezio assumes the AAAA/A record of dotslashplay.it is what should be used
to reach that server (it’s not).

With pycares 4, the query of the SRV field succeeds:
_xmpp-server._tcp.dotslashplay.it. 85264    IN  SRV 0 5 5269 hal9000.vv221.fr.
From that poezio knows it should try to reach the AAAA/A record of
hal9000.vv221.fr, not the one of dotslashplay.it.

For some reason, it seems only fetching SRV fields is failing,
but fetching AAAA/A fields succeeds.

Attachment: signature.asc
Description: PGP signature

Reply via email to