{"action":"created","issue":{"url":"https://api.github.com/repos/eternnoir/pyTelegramBotAPI/issues/339","repository_url":"https://api.github.com/repos/eternnoir/pyTelegramBotAPI","labels_url":"https://api.github.com/repos/eternnoir/pyTelegramBotAPI/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/eternnoir/pyTelegramBotAPI/issues/339/comments","events_url":"https://api.github.com/repos/eternnoir/pyTelegramBotAPI/issues/339/events","html_url":"https://github.com/eternnoir/pyTelegramBotAPI/issues/339","id":230032740,"node_id":"MDU6SXNzdWUyMzAwMzI3NDA=","number":339,"title":"Error after a while","user":{"login":"soermejo","id":21694707,"node_id":"MDQ6VXNlcjIxNjk0NzA3","avatar_url":"https://avatars3.githubusercontent.com/u/21694707?v=4","gravatar_id":"","url":"https://api.github.com/users/soermejo","html_url":"https://github.com/soermejo","followers_url":"https://api.github.com/users/soermejo/followers","following_url":"https://api.github.com/users/soermejo/following{/other_user}","gists_url":"https://api.github.com/users/soermejo/gists{/gist_id}","starred_url":"https://api.github.com/users/soermejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soermejo/subscriptions","organizations_url":"https://api.github.com/users/soermejo/orgs","repos_url":"https://api.github.com/users/soermejo/repos","events_url":"https://api.github.com/users/soermejo/events{/privacy}","received_events_url":"https://api.github.com/users/soermejo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-19T16:59:15Z","updated_at":"2018-09-11T07:08:37Z","closed_at":null,"author_association":"NONE","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n1. What version of pyTelegramBotAPI are you using?  last\r\n\r\n2. What OS are you using? ubuntu\r\n\r\n3. What version of python are you using? \r\n\r\n``` \r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 801, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 754, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/home/namoso/findstranger/new1/control.py\", line 84, in alreadyrun\r\n    bot.send_message(chat_id, gen(lenguage, \"matched\"))\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/telebot/__init__.py\", line 397, in send_message\r\n    reply_markup, parse_mode, disable_notification))\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/telebot/apihelper.py\", line 123, in send_message\r\n    return _make_request(token, method_url, params=payload, method='post')\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/telebot/apihelper.py\", line 42, in _make_request\r\n    result = req_session.request(method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout))\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/requests/sessions.py\", line 518, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/requests/sessions.py\", line 639, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/requests/adapters.py\", line 488, in send\r\n    raise ConnectionError(err, request=request)\r\nConnectionError: ('Connection aborted.', error(\"(104, 'ECONNRESET')\",))\r\n\r\nTraceback (most recent call last):\r\n  File \"main.py\", line 179, in <module>\r\n    bot.polling(none_stop=True)\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/telebot/__init__.py\", line 222, in polling\r\n    self.__threaded_polling(none_stop, interval, timeout)\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/telebot/__init__.py\", line 245, in __threaded_polling\r\n    polling_thread.raise_exceptions()\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/telebot/util.py\", line 73, in raise_exceptions\r\n    six.reraise(self.exc_info[0], self.exc_info[1], self.exc_info[2])\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/telebot/util.py\", line 54, in run\r\n    task(*args, **kwargs)\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/telebot/__init__.py\", line 136, in __retrieve_updates\r\n    updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/telebot/__init__.py\", line 106, in get_updates\r\n    json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/telebot/apihelper.py\", line 163, in get_updates\r\n    return _make_request(token, method_url, params=payload)\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/telebot/apihelper.py\", line 42, in _make_request\r\n    result = req_session.request(method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout))\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/requests/sessions.py\", line 518, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/requests/sessions.py\", line 639, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/home/namoso/.local/lib/python2.7/site-packages/requests/adapters.py\", line 488, in send\r\n    raise ConnectionError(err, request=request)\r\nrequests.exceptions.ConnectionError: ('Connection aborted.', error(\"(104, 'ECONNRESET')\",))\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/eternnoir/pyTelegramBotAPI/issues/comments/420170641","html_url":"https://github.com/eternnoir/pyTelegramBotAPI/issues/339#issuecomment-420170641","issue_url":"https://api.github.com/repos/eternnoir/pyTelegramBotAPI/issues/339","id":420170641,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDE3MDY0MQ==","user":{"login":"Stihotvor","id":22343775,"node_id":"MDQ6VXNlcjIyMzQzNzc1","avatar_url":"https://avatars0.githubusercontent.com/u/22343775?v=4","gravatar_id":"","url":"https://api.github.com/users/Stihotvor","html_url":"https://github.com/Stihotvor","followers_url":"https://api.github.com/users/Stihotvor/followers","following_url":"https://api.github.com/users/Stihotvor/following{/other_user}","gists_url":"https://api.github.com/users/Stihotvor/gists{/gist_id}","starred_url":"https://api.github.com/users/Stihotvor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stihotvor/subscriptions","organizations_url":"https://api.github.com/users/Stihotvor/orgs","repos_url":"https://api.github.com/users/Stihotvor/repos","events_url":"https://api.github.com/users/Stihotvor/events{/privacy}","received_events_url":"https://api.github.com/users/Stihotvor/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T07:08:37Z","updated_at":"2018-09-11T07:08:37Z","author_association":"NONE","body":"Same problem. Bot is working on Google Compute Engine. All network access is granted."}}
{"actor":{"display_login":"Stihotvor"}}