Bug#918989: socket.timeout: _ssl.c:704: The handshake operation timed out
Package: reportbug
Version: 7.1.7+deb9u2
Severity: important
Dear Maintainer,
I started reportbug in GUI mode (no arguments) in KDE-Plasma desktop.
I accepted that there are new versions of package (debian-goodies) and I
still want to report the bug.
reportbug was hanging there for like 1 minute, after that it crashed.
I got following exception trace in console:
% reportbug
(reportbug:6254): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(reportbug:6254): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(reportbug:6254): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
mark@titan /etc/apt % reportbug
(reportbug:6313): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(reportbug:6313): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(reportbug:6313): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 1077, in get_reports
stats = debianbts.get_status(bugs)
File "/usr/lib/python3/dist-packages/debianbts.py", line 257, in get_status
reply = soap_client.call('get_status', method_el)
File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 260, in call
self.xml_response = self.send(method, self.xml_request)
File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 313, in send
location, http_method, body=xml, headers=headers)
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1313, 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 1063, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 986, in _conn_request
conn.connect()
File "/usr/lib/python3.5/http/client.py", line 1261, in connect
server_hostname=server_hostname)
File "/usr/lib/python3.5/ssl.py", line 385, in wrap_socket
_context=self)
File "/usr/lib/python3.5/ssl.py", line 760, in __init__
self.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 996, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 641, in do_handshake
self._sslobj.do_handshake()
socket.timeout: _ssl.c:704: The handshake operation timed out
During handling of the above exception, another exception occurred:
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 1079, in get_reports
raise QuertBTSError
reportbug.exceptions.QuertBTSError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2264, in <module>
main()
File "/usr/bin/reportbug", line 1108, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1722, in user_interface
latest_first=self.options.latest_first)
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1765, 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 of UI thread>
-- Package-specific info:
** Environment settings:
EDITOR="vim"
PAGER="/usr/bin/less"
INTERFACE="text"
** /home/mark/.reportbugrc:
reportbug_version "7.1.7"
mode standard
ui text
realname "Marcin Krol"
email "mrkafk@gmail.com"
no-cc
header "X-Debbugs-CC: mrkafk@gmail.com"
smtphost reportbug.debian.org
-- System Information:
Debian Release: 9.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-8-amd64 (SMP w/16 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages reportbug depends on:
ii apt 1.4.8
ii python3 3.5.3-1
ii python3-reportbug 7.1.7+deb9u2
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
pn debsums <none>
pn dlocate <none>
pn emacs24-bin-common | emacs25-bin-common <none>
ii file 1:5.30-1+deb9u2
ii gir1.2-gtk-3.0 3.22.11-1
ii gir1.2-vte-2.91 0.46.1-1
ii gnupg 2.1.18-8~deb9u3
ii python3-gi 3.22.0-2
ii python3-gi-cairo 3.22.0-2
pn python3-gtkspellcheck <none>
pn python3-urwid <none>
ii ssmtp [mail-transport-agent] 2.64-8+b2
ii xdg-utils 1.1.1-1+deb9u1
Versions of packages python3-reportbug depends on:
ii apt 1.4.8
ii file 1:5.30-1+deb9u2
ii python3 3.5.3-1
ii python3-apt 1.4.0~beta3
ii python3-debian 0.1.30
ii python3-debianbts 2.6.1
ii python3-requests 2.12.4-1
python3-reportbug suggests no packages.
-- debconf-show failed
% reportbug
(reportbug:6254): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(reportbug:6254): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(reportbug:6254): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
mark@titan /etc/apt % reportbug
(reportbug:6313): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(reportbug:6313): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(reportbug:6313): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 1077, in get_reports
stats = debianbts.get_status(bugs)
File "/usr/lib/python3/dist-packages/debianbts.py", line 257, in get_status
reply = soap_client.call('get_status', method_el)
File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 260, in call
self.xml_response = self.send(method, self.xml_request)
File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 313, in send
location, http_method, body=xml, headers=headers)
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1313, 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 1063, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 986, in _conn_request
conn.connect()
File "/usr/lib/python3.5/http/client.py", line 1261, in connect
server_hostname=server_hostname)
File "/usr/lib/python3.5/ssl.py", line 385, in wrap_socket
_context=self)
File "/usr/lib/python3.5/ssl.py", line 760, in __init__
self.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 996, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 641, in do_handshake
self._sslobj.do_handshake()
socket.timeout: _ssl.c:704: The handshake operation timed out
During handling of the above exception, another exception occurred:
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 1079, in get_reports
raise QuertBTSError
reportbug.exceptions.QuertBTSError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2264, in <module>
main()
File "/usr/bin/reportbug", line 1108, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1722, in user_interface
latest_first=self.options.latest_first)
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1765, 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 of UI thread>
Reply to: