N
N
nnikolyaa2020-08-29 16:18:11
API
nnikolyaa, 2020-08-29 16:18:11

Unknown error in vk_api?

A day later, two bots die with an unknown event listening error. What is it?

Error log
SYSTEM ERROR MESSAGSE: Переподключение к серверам ВК
Bot online already enabled
CRITICAL ERROR 2! RESTART! PLEASE CHECK CODE!
Bot online already enabled
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 597, in urlopen
    httplib_response = self._make_request(conn, method, url,
  File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.8/http/client.py", line 1322, in getresponse
    response.begin()
  File "/usr/lib/python3.8/http/client.py", line 303, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.8/http/client.py", line 272, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 637, in urlopen
    retries = retries.increment(method, url, error=e, _pool=self,
  File "/usr/lib/python3.8/site-packages/urllib3/util/retry.py", line 399, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='lp.vk.com', port=443): Max retries exceeded with url: /wh194647816?act=a_check&key=efe71ab16b815ed8d9ecea270a248572bd7f0bb3&ts=238882&wait=25 (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nnikolyaa/Vk_bot.py", line 2745, in <module>
    main()
  File "/home/nnikolyaa/Vk_bot.py", line 141, in main
    for event in longpoll.listen():
  File "/home/nnikolyaa/.local/lib/python3.8/site-packages/vk_api/bot_longpoll.py", line 285, in listen
    for event in self.check():
  File "/home/nnikolyaa/.local/lib/python3.8/site-packages/vk_api/bot_longpoll.py", line 254, in check
    response = self.session.get(
  File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 510, in send
    raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='lp.vk.com', port=443): Max retries exceeded with url: /wh194647816?act=a_check&key=efe71ab16b815ed8d9ecea270a248572bd7f0bb3&ts=238882&wait=25 (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected
('Remote end closed connection without response')))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-08-29
@bacon

Yes, it’s completely unknown, they write to you "Remote end closed connection without response"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question