Skip to content

Ошибка в longpoll, Timeout error #534

Description

@Stepan-Basharov

Окружение

vk_api: 11.9.9

API: 5.199

Время от времени в longpoll'е возникает ошибка, время всегда разное. С интернетом проблем вроде нет

keepalive ping failed
TimeoutError: timed out while closing connection

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/stepan/PycharmProjects/ChaiVkBot/.venv/lib/python3.12/site-packages/websockets/sync/connection.py", line 777, in keepalive
    with self.send_context():
         ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/home/stepan/PycharmProjects/ChaiVkBot/.venv/lib/python3.12/site-packages/websockets/sync/connection.py", line 1012, in send_context
    raise self.protocol.close_exc from original_exc
websockets.exceptions.ConnectionClosedError: sent 1011 (internal error) keepalive ping timeout; no close frame received

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions