Twisted web client fails looking up IPv6 address hostname

Bug #1372944 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Jeroen T. Vermeulen

Bug Description

The Twisted web client can't cope with a URL whose hostname is an IPv6 address, as in http://[::1]/ — it tries to look up the netloc, minus port spec (after our patch to make that work) but with the square brackets.

This still seems to strike while the ClusterClientService tries to obtain its RPC connection information from the region controller.

Tags: ipv6

Related branches

tags: added: ipv6
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Update: bug 1373261 may have triggered this. We'll need a new experiment where we verify that that isn't happening.

Christian Reis (kiko)
Changed in maas:
assignee: nobody → Jeroen T. Vermeulen (jtv)
Changed in maas:
assignee: Jeroen T. Vermeulen (jtv) → nobody
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

It's still happening:

«
2014-10-03 12:03:59+0700 [-] Unhandled Error
        Traceback (most recent call last):
        Failure: twisted.internet.error.DNSLookupError: DNS lookup failed: address '[fd0d:1777:6bb6:db7::1]' not found: [Errno -2] Name or service not known.
»

Changed in maas:
assignee: nobody → Jeroen T. Vermeulen (jtv)
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.