/usr/bin/software-properties-gtk:uaclient.exceptions.ConnectivityError:do_open:request:_send_request:endheaders:_send_output:send:connect:connect:create_connection:getaddrinfo:request_url:readurl:urlopen:open:_open:_call_chain:https_open:do_open:get_magic_attach_token_info:request_url:poll_for_magic_token:wait:_wait:_wait:get_magic_attach_token_info

Bug #2004459 reported by errors.ubuntu.com bug bridge
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Committed
High
Nathan Teodosio

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding software-properties. This problem was most recently seen with package version 0.99.22.5, the problem page at https://errors.ubuntu.com/problem/52f13b0d1d5c75b8a964d28dbe58d616be9fa781 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Traceback (most recent call last):
  File "/usr/lib/python3.10/urllib/request.py", line 1348, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.10/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output
    self.send(msg)
  File "/usr/lib/python3.10/http/client.py", line 975, in send
    self.connect()
  File "/usr/lib/python3.10/http/client.py", line 1447, in connect
    super().connect()
  File "/usr/lib/python3.10/http/client.py", line 941, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.10/socket.py", line 824, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/DialogUaAttach.py", line 144, in poll_for_magic_token
    response = wait(options)
  File "/usr/lib/python3/dist-packages/uaclient/api/u/pro/attach/magic/wait/v1.py", line 57, in wait
    return _wait(options, UAConfig())
  File "/usr/lib/python3/dist-packages/uaclient/api/u/pro/attach/magic/wait/v1.py", line 93, in _wait
    raise e
  File "/usr/lib/python3/dist-packages/uaclient/api/u/pro/attach/magic/wait/v1.py", line 73, in _wait
    wait_resp = contract.get_magic_attach_token_info(
  File "/usr/lib/python3/dist-packages/uaclient/contract.py", line 214, in get_magic_attach_token_info
    raise exceptions.ConnectivityError()
uaclient.exceptions.ConnectivityError

Tags: jammy

Related branches

Changed in software-properties (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Nathan Teodosio (nteodosio) wrote :
description: updated
Changed in software-properties (Ubuntu):
status: Confirmed → Fix Committed
assignee: nobody → Nathan Teodosio (nteodosio)
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.