{"action":"created","issue":{"url":"https://api.github.com/repos/steemit/steem-python/issues/55","repository_url":"https://api.github.com/repos/steemit/steem-python","labels_url":"https://api.github.com/repos/steemit/steem-python/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/steemit/steem-python/issues/55/comments","events_url":"https://api.github.com/repos/steemit/steem-python/issues/55/events","html_url":"https://github.com/steemit/steem-python/issues/55","id":260069677,"number":55,"title":"calls to steemd are not robust in the face of timeouts","user":{"login":"sneak","id":408977,"avatar_url":"https://avatars3.githubusercontent.com/u/408977?v=4","gravatar_id":"","url":"https://api.github.com/users/sneak","html_url":"https://github.com/sneak","followers_url":"https://api.github.com/users/sneak/followers","following_url":"https://api.github.com/users/sneak/following{/other_user}","gists_url":"https://api.github.com/users/sneak/gists{/gist_id}","starred_url":"https://api.github.com/users/sneak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sneak/subscriptions","organizations_url":"https://api.github.com/users/sneak/orgs","repos_url":"https://api.github.com/users/sneak/repos","events_url":"https://api.github.com/users/sneak/events{/privacy}","received_events_url":"https://api.github.com/users/sneak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-24T08:56:57Z","updated_at":"2018-04-17T19:18:48Z","closed_at":"2018-04-17T19:18:48Z","author_association":"COLLABORATOR","body":"```\r\nsneak@rabotnik:~$ steempy listaccounts\r\nTraceback (most recent call last):\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 387, in _make_request\r\n    six.raise_from(e, None)\r\n  File \"<string>\", line 2, in raise_from\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 383, in _make_request\r\n    httplib_response = conn.getresponse()\r\n  File \"/Users/sneak/Library/Homebrew/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 1331, in getresponse\r\n    response.begin()\r\n  File \"/Users/sneak/Library/Homebrew/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 297, in begin\r\n    version, status, reason = self._read_status()\r\n  File \"/Users/sneak/Library/Homebrew/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 258, in _read_status\r\n    line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\r\n  File \"/Users/sneak/Library/Homebrew/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py\", line 586, in readinto\r\n    return self._sock.recv_into(b)\r\n  File \"/Users/sneak/Library/Homebrew/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py\", line 1002, in recv_into\r\n    return self.read(nbytes, buffer)\r\n  File \"/Users/sneak/Library/Homebrew/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py\", line 865, in read\r\n    return self._sslobj.read(len, buffer)\r\n  File \"/Users/sneak/Library/Homebrew/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py\", line 625, in read\r\n    v = self._sslobj.read(len, buffer)\r\nsocket.timeout: The read operation timed out\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/steem-0.18.9-py3.6.egg/steembase/http_client.py\", line 146, in exec\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/urllib3/poolmanager.py\", line 321, in urlopen\r\n    response = conn.urlopen(method, u.request_uri, **kw)\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 639, in urlopen\r\n    _stacktrace=sys.exc_info()[2])\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/urllib3/util/retry.py\", line 357, in increment\r\n    raise six.reraise(type(error), error, _stacktrace)\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/urllib3/packages/six.py\", line 686, in reraise\r\n    raise value\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 601, in urlopen\r\n    chunked=chunked)\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 389, in _make_request\r\n    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 309, in _raise_timeout\r\n    raise ReadTimeoutError(self, url, \"Read timed out. (read timeout=%s)\" % timeout_value)\r\nurllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='steemd.steemit.com', port=443): Read timed out. (read timeout=60)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/sneak/Library/Homebrew/bin/steempy\", line 4, in <module>\r\n    __import__('pkg_resources').run_script('steem==0.18.9', 'steempy')\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/pkg_resources/__init__.py\", line 739, in run_script\r\n    self.require(requires)[0].run_script(script_name, ns)\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/pkg_resources/__init__.py\", line 1501, in run_script\r\n    exec(script_code, namespace, namespace)\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/steem-0.18.9-py3.6.egg/EGG-INFO/scripts/steempy\", line 7, in <module>\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/steem-0.18.9-py3.6.egg/steem/cli.py\", line 1137, in legacy\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/steem-0.18.9-py3.6.egg/steem/wallet.py\", line 368, in getAccounts\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/steem-0.18.9-py3.6.egg/steem/wallet.py\", line 331, in getAccount\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/steem-0.18.9-py3.6.egg/steem/wallet.py\", line 322, in getAccountFromPublicKey\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/steem-0.18.9-py3.6.egg/steembase/http_client.py\", line 167, in exec\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/steem-0.18.9-py3.6.egg/steembase/http_client.py\", line 186, in exec\r\n  File \"/Users/sneak/Library/Homebrew/lib/python3.6/site-packages/steem-0.18.9-py3.6.egg/steembase/http_client.py\", line 206, in _return\r\nsteembase.exceptions.RPCError: 10 assert_exception: Assert Exception\r\nfalse: database_api::get_key_references has been deprecated. Please use account_by_key_api::get_key_references instead.\r\n    {}\r\n    th_a  database_api.cpp:402 get_key_references\r\n\r\n    {\"call.method\":\"get_key_references\",\"call.params\":[[\"STM...redacted...\"]]}\r\n    th_a  websocket_api.cpp:124 on_message\r\nsneak@rabotnik:~$ \r\n```"},"comment":{"url":"https://api.github.com/repos/steemit/steem-python/issues/comments/382110325","html_url":"https://github.com/steemit/steem-python/issues/55#issuecomment-382110325","issue_url":"https://api.github.com/repos/steemit/steem-python/issues/55","id":382110325,"user":{"login":"roadscape","id":5168676,"avatar_url":"https://avatars2.githubusercontent.com/u/5168676?v=4","gravatar_id":"","url":"https://api.github.com/users/roadscape","html_url":"https://github.com/roadscape","followers_url":"https://api.github.com/users/roadscape/followers","following_url":"https://api.github.com/users/roadscape/following{/other_user}","gists_url":"https://api.github.com/users/roadscape/gists{/gist_id}","starred_url":"https://api.github.com/users/roadscape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roadscape/subscriptions","organizations_url":"https://api.github.com/users/roadscape/orgs","repos_url":"https://api.github.com/users/roadscape/repos","events_url":"https://api.github.com/users/roadscape/events{/privacy}","received_events_url":"https://api.github.com/users/roadscape/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T19:18:48Z","updated_at":"2018-04-17T19:18:48Z","author_association":"COLLABORATOR","body":"Error retries have been revamped recently and I see `ReadTimeoutError` explicitly listed as recoverable, so I believe this issue is resolved."}}
{"actor":{"display_login":"roadscape"}}