[Bug 2003996] Re: /usr/bin/software-properties-gtk:TimeoutError:poll_for_magic_token:wait:_wait:get_magic_attach_token_info:request_url:readurl:urlopen:open:_open:_call_chain:https_open:do_open:getresponse:begin:_read_status:readinto:recv_into:read
Nathan Teodosio
2003996 at bugs.launchpad.net
Wed Feb 1 09:26:39 UTC 2023
** Changed in: software-properties (Ubuntu)
Status: In Progress => Fix Committed
** Description changed:
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/032c1f3f3d9b9b05e5087f7e37a05a3d0d40e699 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/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 73, in _wait
+ wait_resp = contract.get_magic_attach_token_info(
+ File "/usr/lib/python3/dist-packages/uaclient/contract.py", line 202, in get_magic_attach_token_info
+ response, _ = self.request_url(
+ File "/usr/lib/python3/dist-packages/uaclient/serviceclient.py", line 72, in request_url
+ response, headers = util.readurl(
+ File "/usr/lib/python3/dist-packages/uaclient/util.py", line 324, in readurl
+ resp = request.urlopen(req, timeout=timeout)
+ File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
+ return opener.open(url, data, timeout)
+ File "/usr/lib/python3.10/urllib/request.py", line 519, in open
+ response = self._open(req, data)
+ File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
+ result = self._call_chain(self.handle_open, protocol, protocol +
+ File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.10/urllib/request.py", line 1391, in https_open
+ return self.do_open(http.client.HTTPSConnection, req,
+ File "/usr/lib/python3.10/urllib/request.py", line 1352, in do_open
+ r = h.getresponse()
+ File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse
+ response.begin()
+ File "/usr/lib/python3.10/http/client.py", line 318, in begin
+ version, status, reason = self._read_status()
+ File "/usr/lib/python3.10/http/client.py", line 279, in _read_status
+ line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
+ File "/usr/lib/python3.10/socket.py", line 705, in readinto
+ return self._sock.recv_into(b)
+ File "/usr/lib/python3.10/ssl.py", line 1274, in recv_into
+ return self.read(nbytes, buffer)
+ File "/usr/lib/python3.10/ssl.py", line 1130, in read
+ return self._sslobj.read(len, buffer)
+ TimeoutError: The read operation timed out
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/2003996
Title:
/usr/bin/software-properties-
gtk:TimeoutError:poll_for_magic_token:wait:_wait:get_magic_attach_token_info:request_url:readurl:urlopen:open:_open:_call_chain:https_open:do_open:getresponse:begin:_read_status:readinto:recv_into:read
Status in software-properties package in Ubuntu:
Fix Committed
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/032c1f3f3d9b9b05e5087f7e37a05a3d0d40e699 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/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 73, in _wait
wait_resp = contract.get_magic_attach_token_info(
File "/usr/lib/python3/dist-packages/uaclient/contract.py", line 202, in get_magic_attach_token_info
response, _ = self.request_url(
File "/usr/lib/python3/dist-packages/uaclient/serviceclient.py", line 72, in request_url
response, headers = util.readurl(
File "/usr/lib/python3/dist-packages/uaclient/util.py", line 324, in readurl
resp = request.urlopen(req, timeout=timeout)
File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.10/urllib/request.py", line 519, in open
response = self._open(req, data)
File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.10/urllib/request.py", line 1352, in do_open
r = h.getresponse()
File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 279, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.10/socket.py", line 705, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.10/ssl.py", line 1274, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.10/ssl.py", line 1130, in read
return self._sslobj.read(len, buffer)
TimeoutError: The read operation timed out
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2003996/+subscriptions
More information about the foundations-bugs
mailing list