{"action":"created","issue":{"url":"https://api.github.com/repos/spesmilo/electrum/issues/4499","repository_url":"https://api.github.com/repos/spesmilo/electrum","labels_url":"https://api.github.com/repos/spesmilo/electrum/issues/4499/labels{/name}","comments_url":"https://api.github.com/repos/spesmilo/electrum/issues/4499/comments","events_url":"https://api.github.com/repos/spesmilo/electrum/issues/4499/events","html_url":"https://github.com/spesmilo/electrum/issues/4499","id":338175312,"node_id":"MDU6SXNzdWUzMzgxNzUzMTI=","number":4499,"title":"LabelSync triggers MaxRetryError exception in Linux (Tails)","user":{"login":"adrug1","id":33422446,"node_id":"MDQ6VXNlcjMzNDIyNDQ2","avatar_url":"https://avatars1.githubusercontent.com/u/33422446?v=4","gravatar_id":"","url":"https://api.github.com/users/adrug1","html_url":"https://github.com/adrug1","followers_url":"https://api.github.com/users/adrug1/followers","following_url":"https://api.github.com/users/adrug1/following{/other_user}","gists_url":"https://api.github.com/users/adrug1/gists{/gist_id}","starred_url":"https://api.github.com/users/adrug1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrug1/subscriptions","organizations_url":"https://api.github.com/users/adrug1/orgs","repos_url":"https://api.github.com/users/adrug1/repos","events_url":"https://api.github.com/users/adrug1/events{/privacy}","received_events_url":"https://api.github.com/users/adrug1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-07-04T08:19:15Z","updated_at":"2018-09-07T08:49:33Z","closed_at":null,"author_association":"NONE","body":"In the last few versions Electrum stopped correctly syncing labels under Tails. It comes back with the following traceback (I replaced the url in the last line with 'xxx' string):\r\n---\r\n\r\n> Traceback (most recent call last):\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/packages/urllib3/connectionpool.py\", line 600, in urlopen\r\n>     chunked=chunked)\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/packages/urllib3/connectionpool.py\", line 343, in _make_request\r\n>     self._validate_conn(conn)\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/packages/urllib3/connectionpool.py\", line 849, in _validate_conn\r\n>     conn.connect()\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/packages/urllib3/connection.py\", line 356, in connect\r\n>     ssl_context=context)\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/packages/urllib3/util/ssl_.py\", line 359, in ssl_wrap_socket\r\n>     return context.wrap_socket(sock, server_hostname=server_hostname)\r\n>   File \"/usr/lib/python3.5/ssl.py\", line 385, in wrap_socket\r\n>     _context=self)\r\n>   File \"/usr/lib/python3.5/ssl.py\", line 760, in __init__\r\n>     self.do_handshake()\r\n>   File \"/usr/lib/python3.5/ssl.py\", line 996, in do_handshake\r\n>     self._sslobj.do_handshake()\r\n>   File \"/usr/lib/python3.5/ssl.py\", line 641, in do_handshake\r\n>     self._sslobj.do_handshake()\r\n> ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:720)\r\n> \r\n> During handling of the above exception, another exception occurred:\r\n> \r\n> Traceback (most recent call last):\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/packages/requests/adapters.py\", line 445, in send\r\n>     timeout=timeout\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/packages/urllib3/connectionpool.py\", line 638, in urlopen\r\n>     _stacktrace=sys.exc_info()[2])\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/packages/urllib3/util/retry.py\", line 398, in increment\r\n>     raise MaxRetryError(_pool, url, error or ResponseError(cause))\r\n> urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='labels.electrum.org', port=443): Max retries exceeded with url: /labels/since/1/for/xxx (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:720)'),))\r\n> \r\n> During handling of the above exception, another exception occurred:\r\n> \r\n> Traceback (most recent call last):\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/gui/qt/util.py\", line 661, in run\r\n>     result = task.task()\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/plugins/labels/labels.py\", line 115, in pull_thread\r\n>     response = self.do_request(\"GET\", (\"/labels/since/%d/for/%s\" % (nonce, wallet_id) ))\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/plugins/labels/labels.py\", line 74, in do_request\r\n>     response = requests.request(method, url, **kwargs)\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/packages/requests/api.py\", line 58, in request\r\n>     return session.request(method=method, url=url, **kwargs)\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/packages/requests/sessions.py\", line 512, in request\r\n>     resp = self.send(prep, **send_kwargs)\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/packages/requests/sessions.py\", line 622, in send\r\n>     r = adapter.send(request, **kwargs)\r\n>   File \"/home/amnesia/Persistent/Electrum-3.2.2/Electrum-3.2.2/packages/requests/adapters.py\", line 511, in send\r\n>     raise SSLError(e, request=request)\r\n> requests.exceptions.SSLError: HTTPSConnectionPool(host='labels.electrum.org', port=443): Max retries exceeded with url: /labels/since/1/for/xxx (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:720)'),))\r\n\r\n---\r\n\r\nThis happens every time - so please ask for further details, I'll be happy to provide these."},"comment":{"url":"https://api.github.com/repos/spesmilo/electrum/issues/comments/419369817","html_url":"https://github.com/spesmilo/electrum/issues/4499#issuecomment-419369817","issue_url":"https://api.github.com/repos/spesmilo/electrum/issues/4499","id":419369817,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTM2OTgxNw==","user":{"login":"adrug1","id":33422446,"node_id":"MDQ6VXNlcjMzNDIyNDQ2","avatar_url":"https://avatars1.githubusercontent.com/u/33422446?v=4","gravatar_id":"","url":"https://api.github.com/users/adrug1","html_url":"https://github.com/adrug1","followers_url":"https://api.github.com/users/adrug1/followers","following_url":"https://api.github.com/users/adrug1/following{/other_user}","gists_url":"https://api.github.com/users/adrug1/gists{/gist_id}","starred_url":"https://api.github.com/users/adrug1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrug1/subscriptions","organizations_url":"https://api.github.com/users/adrug1/orgs","repos_url":"https://api.github.com/users/adrug1/repos","events_url":"https://api.github.com/users/adrug1/events{/privacy}","received_events_url":"https://api.github.com/users/adrug1/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T08:49:33Z","updated_at":"2018-09-07T08:49:33Z","author_association":"NONE","body":"I am not - I'm running it directly from source without the installation\nscript. Could that make a difference?\n\nOn 7 September 2018 at 02:26, Serge Victor <notifications@github.com> wrote:\n\n> No, it is not, but I do not see any difference between recent Tails and my\n> system.\n>\n> Are you installing electrum with pip3 command?\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/spesmilo/electrum/issues/4499#issuecomment-419291268>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/Af38blmmkXq8B7qwLYDSdeF0aGF-w7Biks5uYcs8gaJpZM4VCJtc>\n> .\n>\n"}}
{"actor":{"display_login":"adrug1"}}