{"action":"created","issue":{"url":"https://api.github.com/repos/Volentix/venue-server/issues/226","repository_url":"https://api.github.com/repos/Volentix/venue-server","labels_url":"https://api.github.com/repos/Volentix/venue-server/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/Volentix/venue-server/issues/226/comments","events_url":"https://api.github.com/repos/Volentix/venue-server/issues/226/events","html_url":"https://github.com/Volentix/venue-server/issues/226","id":355470654,"node_id":"MDU6SXNzdWUzNTU0NzA2NTQ=","number":226,"title":"ConnectionError: HTTPSConnectionPool(host='bitcointalk.org', port=443): Max retries exceeded with url: /index.php?action=profile;u=1015588 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff4454ad780>: Failed to esta","user":{"login":"shawnlauzon","id":611529,"node_id":"MDQ6VXNlcjYxMTUyOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/611529?v=4","gravatar_id":"","url":"https://api.github.com/users/shawnlauzon","html_url":"https://github.com/shawnlauzon","followers_url":"https://api.github.com/users/shawnlauzon/followers","following_url":"https://api.github.com/users/shawnlauzon/following{/other_user}","gists_url":"https://api.github.com/users/shawnlauzon/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnlauzon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnlauzon/subscriptions","organizations_url":"https://api.github.com/users/shawnlauzon/orgs","repos_url":"https://api.github.com/users/shawnlauzon/repos","events_url":"https://api.github.com/users/shawnlauzon/events{/privacy}","received_events_url":"https://api.github.com/users/shawnlauzon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"4ban","id":2269864,"node_id":"MDQ6VXNlcjIyNjk4NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2269864?v=4","gravatar_id":"","url":"https://api.github.com/users/4ban","html_url":"https://github.com/4ban","followers_url":"https://api.github.com/users/4ban/followers","following_url":"https://api.github.com/users/4ban/following{/other_user}","gists_url":"https://api.github.com/users/4ban/gists{/gist_id}","starred_url":"https://api.github.com/users/4ban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4ban/subscriptions","organizations_url":"https://api.github.com/users/4ban/orgs","repos_url":"https://api.github.com/users/4ban/repos","events_url":"https://api.github.com/users/4ban/events{/privacy}","received_events_url":"https://api.github.com/users/4ban/received_events","type":"User","site_admin":false},"assignees":[{"login":"4ban","id":2269864,"node_id":"MDQ6VXNlcjIyNjk4NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2269864?v=4","gravatar_id":"","url":"https://api.github.com/users/4ban","html_url":"https://github.com/4ban","followers_url":"https://api.github.com/users/4ban/followers","following_url":"https://api.github.com/users/4ban/following{/other_user}","gists_url":"https://api.github.com/users/4ban/gists{/gist_id}","starred_url":"https://api.github.com/users/4ban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4ban/subscriptions","organizations_url":"https://api.github.com/users/4ban/orgs","repos_url":"https://api.github.com/users/4ban/repos","events_url":"https://api.github.com/users/4ban/events{/privacy}","received_events_url":"https://api.github.com/users/4ban/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-08-30T08:05:43Z","updated_at":"2018-08-30T22:48:40Z","closed_at":null,"author_association":"MEMBER","body":"View details in Rollbar: [https://rollbar.com/vlabs/Venue/items/41/](https://rollbar.com/vlabs/Venue/items/41/)\n\n```\nTraceback (most recent call last):\n  File \"/usr/local/lib/python3.6/site-packages/celery/app/trace.py\", line 375, in trace_task\n    R = retval = fun(*args, **kwargs)\n  File \"/usr/local/lib/python3.6/site-packages/celery/app/trace.py\", line 632, in __protected_call__\n    return self.run(*args, **kwargs)\n  File \"/code/venue/tasks.py\", line 101, in scrape_forum_profile\n    test_config=test_scrape_config)\n  File \"/code/venue/scrapers/bitcointalk.py\", line 272, in verify_and_scrape\n    test_config=test_config\n  File \"/code/venue/scrapers/bitcointalk.py\", line 75, in get_profile\n    self.make_request(url=profile_url, verify=False)\n  File \"/code/venue/scrapers/bitcointalk.py\", line 55, in make_request\n    verify=verify\n  File \"/usr/local/lib/python3.6/site-packages/requests/api.py\", line 72, in get\n    return request('get', url, params=params, **kwargs)\n  File \"/usr/local/lib/python3.6/site-packages/requests/api.py\", line 58, in request\n    return session.request(method=method, url=url, **kwargs)\n  File \"/usr/local/lib/python3.6/site-packages/requests/sessions.py\", line 508, in request\n    resp = self.send(prep, **send_kwargs)\n  File \"/usr/local/lib/python3.6/site-packages/requests/sessions.py\", line 618, in send\n    r = adapter.send(request, **kwargs)\n  File \"/usr/local/lib/python3.6/site-packages/requests/adapters.py\", line 508, in send\n    raise ConnectionError(e, request=request)\nConnectionError: HTTPSConnectionPool(host='bitcointalk.org', port=443): Max retries exceeded with url: /index.php?action=profile;u=1015588 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff4454ad780>: Failed to establish a new connection: [Errno -3] Try again',))Traceback (most recent call last):\n  File \"/usr/local/lib/python3.6/site-packages/requests/adapters.py\", line 440, in send\n    timeout=timeout\n  File \"/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 639, in urlopen\n    _stacktrace=sys.exc_info()[2])\n  File \"/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py\", line 388, in increment\n    raise MaxRetryError(_pool, url, error or ResponseError(cause))\nMaxRetryError: HTTPSConnectionPool(host='bitcointalk.org', port=443): Max retries exceeded with url: /index.php?action=profile;u=1015588 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff4454ad780>: Failed to establish a new connection: [Errno -3] Try again',))Traceback (most recent call last):\n  File \"/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 601, in urlopen\n    chunked=chunked)\n  File \"/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 346, in _make_request\n    self._validate_conn(conn)\n  File \"/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py\", line 850, in _validate_conn\n    conn.connect()\n  File \"/usr/local/lib/python3.6/site-packages/urllib3/connection.py\", line 284, in connect\n    conn = self._new_conn()\n  File \"/usr/local/lib/python3.6/site-packages/urllib3/connection.py\", line 150, in _new_conn\n    self, \"Failed to establish a new connection: %s\" % e)\nNewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7ff4454ad780>: Failed to establish a new connection: [Errno -3] Try againTraceback (most recent call last):\n  File \"/usr/local/lib/python3.6/site-packages/urllib3/connection.py\", line 141, in _new_conn\n    (self.host, self.port), self.timeout, **extra_kw)\n  File \"/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py\", line 60, in create_connection\n    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):\n  File \"/usr/local/lib/python3.6/socket.py\", line 745, in getaddrinfo\n    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\ngaierror: [Errno -3] Try again\n```"},"comment":{"url":"https://api.github.com/repos/Volentix/venue-server/issues/comments/417492149","html_url":"https://github.com/Volentix/venue-server/issues/226#issuecomment-417492149","issue_url":"https://api.github.com/repos/Volentix/venue-server/issues/226","id":417492149,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzQ5MjE0OQ==","user":{"login":"4ban","id":2269864,"node_id":"MDQ6VXNlcjIyNjk4NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2269864?v=4","gravatar_id":"","url":"https://api.github.com/users/4ban","html_url":"https://github.com/4ban","followers_url":"https://api.github.com/users/4ban/followers","following_url":"https://api.github.com/users/4ban/following{/other_user}","gists_url":"https://api.github.com/users/4ban/gists{/gist_id}","starred_url":"https://api.github.com/users/4ban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4ban/subscriptions","organizations_url":"https://api.github.com/users/4ban/orgs","repos_url":"https://api.github.com/users/4ban/repos","events_url":"https://api.github.com/users/4ban/events{/privacy}","received_events_url":"https://api.github.com/users/4ban/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T22:48:40Z","updated_at":"2018-08-30T22:48:40Z","author_association":"COLLABORATOR","body":"@shawnlauzon Hi, I've started to look at the project and met some issues. I've never worked with docker before and I don't know how to debug the python code inside it. \r\n\r\nI'm able to start backend via `docker-compose up` and play with API via /docs or via a local client. But I can't see any changes in my console that I'm doing in the python code.\r\n\r\nI believe that I have to somehow connect to the python app (its terminal) inside a docker container via ssh, but I was unsuccessful without a manual. \r\n\r\nI found the ports inside Dockerfile (5555, 8000, 9000) and probably I'm trying to use the wrong host (0.0.0.0), I'm not able to connect to it in any way vis command like `ssh root@0.0.0.0 -p 8000`\r\n\r\nWhat I want: \r\nI want to add debug messages (print() ) into the code and see them in the terminal.\r\nI want to see logs (I guess the app has it)\r\nI want to create breakpoints (maybe there is a manual how to debug this app in vscode?)\r\n\r\nP.S.\r\nLogDNA - I'm not sure how it works. I see the states for different sources, especially for, venue-deployment-68b97bf7c6-lngv5 (I think that this is for the current venue-dev state), but I don't know how to add my local backend as a source. Also, is this all information that is provided by these logs or I'm doing something wrong?\r\n![logdna](https://user-images.githubusercontent.com/2269864/44883422-050a7780-ac85-11e8-89aa-2c714d4e32d9.png)\r\n\r\nscrapinghub.com - I have been trying to verify some ID's from BTT from 4 pm, but I don't see my attempts in the logs.\r\n![crawlera](https://user-images.githubusercontent.com/2269864/44883300-94fbf180-ac84-11e8-9c67-01aaddccf3bd.png)\r\nThe attempts with IDs (12345678, 4kkkkk and etc) weren't my.\r\n"}}
{"actor":{"display_login":"4ban"}}