You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2019. It is now read-only.
bot.sendMessage(chat_id, "fsfs")
Traceback (most recent call last):
File "/home/user/prog/venvs/blog/lib/python3.6/site-packages/telepot/api.py", line 134, in _parse
data = json.loads(text)
File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/home/user/prog/venvs/blog/lib/python3.6/site-packages/telepot/__init__.py", line 513, in sendMessage
return self._api_request('sendMessage', _rectify(p))
File "/home/user/prog/venvs/blog/lib/python3.6/site-packages/telepot/__init__.py", line 491, in _api_request
return api.request((self._token, method, params, files), **kwargs)
File "/home/user/prog/venvs/blog/lib/python3.6/site-packages/telepot/api.py", line 155, in request
return _parse(r)
File "/home/user/prog/venvs/blog/lib/python3.6/site-packages/telepot/api.py", line 136, in _parse
raise exception.BadHTTPResponse(response.status, text, response)
telepot.exception.BadHTTPResponse: (404, '<HTML>\n <head>\n\t<meta charset="utf-8">\n </head>\n<BODY>\n <CENTER>\n\t<H3>\n\t <img src="/rkn-logo.jpg">\n\t <p>ФЕДЕРАЛЬНАЯ СЛУЖБА ПО НАДЗОРУ В СФЕРЕ СВЯЗИ, ИНФОРМАЦИОННЫХ ТЕХНОЛОГИЙ И МАССОВЫХ КОММУНИКАЦИЙ</p>\n\t</H3>\n\t<H1>\n\t <p>Искомый домен внесен в РЕЕСТР доменных имен, указателей страниц сайтов в сети «Интернет» и сетевых адресов, позволяющих идентифицировать сайты в сети «Интернет», содержащие информацию, распространение которой в Российской Федерации запрещено</p>\n\t</H1>\n </CENTER>\n\n<br>\n<br>\n<br>\n <CENTER>\n\t<H1>\n\tЛибо искомый домен заблокирован по решению суда\n\t</H1>\n </CENTER>\n\n<br><br><br><br><br><br><br><br><br>\nдоступ заблокирован <br>\nдоступ ограничен <br>\n</BODY>\n</HTML>\n', <urllib3.response.HTTPResponse object at 0x7fed9ad65160>)
I think it's not normal. mitm of my provider replaced answer from https://api.telegram.org
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I think it's not normal. mitm of my provider replaced answer from
https://api.telegram.org
The text was updated successfully, but these errors were encountered: