{"action":"created","issue":{"url":"https://api.github.com/repos/PennyDreadfulMTG/Penny-Dreadful-Tools/issues/5199","repository_url":"https://api.github.com/repos/PennyDreadfulMTG/Penny-Dreadful-Tools","labels_url":"https://api.github.com/repos/PennyDreadfulMTG/Penny-Dreadful-Tools/issues/5199/labels{/name}","comments_url":"https://api.github.com/repos/PennyDreadfulMTG/Penny-Dreadful-Tools/issues/5199/comments","events_url":"https://api.github.com/repos/PennyDreadfulMTG/Penny-Dreadful-Tools/issues/5199/events","html_url":"https://github.com/PennyDreadfulMTG/Penny-Dreadful-Tools/issues/5199","id":354002150,"node_id":"MDU6SXNzdWUzNTQwMDIxNTA=","number":5199,"title":"Command failed with FetchException: !pdm cards Rough // Tumble","user":{"login":"bakert","id":1541,"node_id":"MDQ6VXNlcjE1NDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1541?v=4","gravatar_id":"","url":"https://api.github.com/users/bakert","html_url":"https://github.com/bakert","followers_url":"https://api.github.com/users/bakert/followers","following_url":"https://api.github.com/users/bakert/following{/other_user}","gists_url":"https://api.github.com/users/bakert/gists{/gist_id}","starred_url":"https://api.github.com/users/bakert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakert/subscriptions","organizations_url":"https://api.github.com/users/bakert/orgs","repos_url":"https://api.github.com/users/bakert/repos","events_url":"https://api.github.com/users/bakert/events{/privacy}","received_events_url":"https://api.github.com/users/bakert/received_events","type":"User","site_admin":false},"labels":[{"id":953539444,"node_id":"MDU6TGFiZWw5NTM1Mzk0NDQ=","url":"https://api.github.com/repos/PennyDreadfulMTG/Penny-Dreadful-Tools/labels/triage","name":"triage","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-25T10:28:16Z","updated_at":"2018-08-25T10:33:31Z","closed_at":"2018-08-25T10:33:31Z","author_association":"COLLABORATOR","body":"\n```\nTraceback (most recent call last):\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connection.py\", line 141, in _new_conn\n    (self.host, self.port), self.timeout, **extra_kw)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/util/connection.py\", line 83, in create_connection\n    raise err\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/util/connection.py\", line 73, in create_connection\n    sock.connect(sa)\nConnectionRefusedError: [Errno 61] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 601, in urlopen\n    chunked=chunked)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 357, in _make_request\n    conn.request(method, url, **httplib_request_kw)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 1239, in request\n    self._send_request(method, url, body, headers, encode_chunked)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 1285, in _send_request\n    self.endheaders(body, encode_chunked=encode_chunked)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 1234, in endheaders\n    self._send_output(message_body, encode_chunked=encode_chunked)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 1026, in _send_output\n    self.send(msg)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 964, in send\n    self.connect()\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connection.py\", line 166, in connect\n    conn = self._new_conn()\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connection.py\", line 150, in _new_conn\n    self, \"Failed to establish a new connection: %s\" % e)\nurllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x10e39de80>: Failed to establish a new connection: [Errno 61] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/adapters.py\", line 445, in send\n    timeout=timeout\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 639, in urlopen\n    _stacktrace=sys.exc_info()[2])\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/util/retry.py\", line 388, in increment\n    raise MaxRetryError(_pool, url, error or ResponseError(cause))\nurllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /api/sitemap/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10e39de80>: Failed to establish a new connection: [Errno 61] Connection refused',))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/Users/bakert/pd/shared/fetcher_internal.py\", line 46, in fetch\n    response = SESSION.get(url, headers=headers)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/sessions.py\", line 525, in get\n    return self.request('GET', url, **kwargs)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/sessions.py\", line 512, in request\n    resp = self.send(prep, **send_kwargs)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/sessions.py\", line 622, in send\n    r = adapter.send(request, **kwargs)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/cachecontrol/adapter.py\", line 53, in send\n    resp = super(CacheControlAdapter, self).send(request, **kw)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/adapters.py\", line 513, in send\n    raise ConnectionError(e, request=request)\nrequests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /api/sitemap/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10e39de80>: Failed to establish a new connection: [Errno 61] Connection refused',))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/Users/bakert/pd/discordbot/command.py\", line 72, in handle_command\n    await method(Commands, client=client, channel=message.channel, args=args, author=message.author)\n  File \"/Users/bakert/pd/discordbot/command.py\", line 423, in pdm\n    await self.resources(self, channel, args, author)\n  File \"/Users/bakert/pd/discordbot/command.py\", line 308, in resources\n    results.update(site_resources(args))\n  File \"/Users/bakert/pd/discordbot/command.py\", line 744, in site_resources\n    sitemap = fetcher.sitemap()\n  File \"/Users/bakert/pd/magic/fetcher.py\", line 168, in sitemap\n    return internal.fetch_json(decksite_url('/api/sitemap/'))\n  File \"/Users/bakert/pd/shared/fetcher_internal.py\", line 65, in fetch_json\n    blob = fetch(url, character_encoding)\n  File \"/Users/bakert/pd/shared/fetcher_internal.py\", line 52, in fetch\n    raise FetchException(e)\nshared.fetcher_internal.FetchException: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /api/sitemap/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10e39de80>: Failed to establish a new connection: [Errno 61] Connection refused',))\n\n```\n\nReported on Discord by bakert#2193"},"comment":{"url":"https://api.github.com/repos/PennyDreadfulMTG/Penny-Dreadful-Tools/issues/comments/415959863","html_url":"https://github.com/PennyDreadfulMTG/Penny-Dreadful-Tools/issues/5199#issuecomment-415959863","issue_url":"https://api.github.com/repos/PennyDreadfulMTG/Penny-Dreadful-Tools/issues/5199","id":415959863,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTk1OTg2Mw==","user":{"login":"bakert","id":1541,"node_id":"MDQ6VXNlcjE1NDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1541?v=4","gravatar_id":"","url":"https://api.github.com/users/bakert","html_url":"https://github.com/bakert","followers_url":"https://api.github.com/users/bakert/followers","following_url":"https://api.github.com/users/bakert/following{/other_user}","gists_url":"https://api.github.com/users/bakert/gists{/gist_id}","starred_url":"https://api.github.com/users/bakert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakert/subscriptions","organizations_url":"https://api.github.com/users/bakert/orgs","repos_url":"https://api.github.com/users/bakert/repos","events_url":"https://api.github.com/users/bakert/events{/privacy}","received_events_url":"https://api.github.com/users/bakert/received_events","type":"User","site_admin":false},"created_at":"2018-08-25T10:33:31Z","updated_at":"2018-08-25T10:33:31Z","author_association":"COLLABORATOR","body":"From test."}}
{"actor":{"display_login":"bakert"}}