Bug#918989: socket.timeout: _ssl.c:704: The handshake operation timed out
Saw the same with 5.7.1 today, additionally to #919285 (line 1).
$ reportbug
E: You must put some 'source' URIs in your sources.list
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1049, in sync_pre_operation
http_proxy=http_proxy, archived=archived, source=source)
File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 1072, in get_reports
bugs = debianbts.get_bugs(pkg_filter, package)
File "/usr/lib/python3/dist-packages/debianbts/debianbts.py", line 401, in get_bugs
reply = soap_client.call('get_bugs', method_el)
File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 256, in call
self.xml_response = self.send(method, self.xml_request)
File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 318, in send
location, http_method, body=xml, headers=headers)
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1513, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections,
cachekey)
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1263, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1186, in _conn_request
conn.connect()
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1012, in connect
self.sock = self._context.wrap_socket(sock, server_hostname=self.host)
File "/usr/lib/python3.7/ssl.py", line 412, in wrap_socket
session=session
File "/usr/lib/python3.7/ssl.py", line 853, in _create
self.do_handshake()
File "/usr/lib/python3.7/ssl.py", line 1117, in do_handshake
self._sslobj.do_handshake()
socket.timeout: _ssl.c:1039: The handshake operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2275, in <module>
main()
File "/usr/bin/reportbug", line 1111, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1724, in user_interface
latest_first=self.options.latest_first)
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1763, in func
args, kwargs = op.sync_pre_operation(*args, **kwargs)
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1051, in sync_pre_operation
error_dialog("Unable to connect to %s BTS." % sysinfo['name'])
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 137, in error_dialog
_assert_context(ui_context)
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 92, in _assert_context
(_describe_context(really), _describe_context(expected)))
AssertionError: Function should be called in <MainContext of reportbug thread> but was called in <MainContext o
f UI thread>
--
traumschule.org
gpg fingerprint:
9356 4DED 8546 8D9A C290 3605 12EE 7D70 7111 2056
/otr info
OTR: traumschule@irc.indymedia.org fingerprint:
OTR: 35AACA83 4564616C B6EBEC66 56B6B2FC C8D572F1
OTR: traumschule@irc.oftc.net fingerprint:
OTR: D1CCD207 B60C1866 56A975AE ACE090E9 45E90846
OTR: traumschule@chat.freenode.net fingerprint:
OTR: 51BF8BB9 434840CC 24F264BC 76450C27 A6AADB12
Reply to: