Skip to content
This repository has been archived by the owner on Oct 24, 2018. It is now read-only.

Bridge keeps periodically crashing #49

Open
neutralinsomniac opened this issue Nov 23, 2017 · 0 comments
Open

Bridge keeps periodically crashing #49

neutralinsomniac opened this issue Nov 23, 2017 · 0 comments

Comments

@neutralinsomniac
Copy link

Three times now over the past 12 hours I've encountered the following stacktrace, causing the Telegram->Matrix side of message forwarding to stop working:

ERROR:asyncio:Task exception was never retrieved
future: <Task finished coro=<Bot.loop() done, defined at /home/jeremy/telematrix/venv/lib/python3.5/site-packages/aiotg/bot.py:57> exception=ClientResponseError()>
Traceback (most recent call last):
  File "/home/jeremy/telematrix/venv/lib/python3.5/site-packages/aiohttp/client.py", line 202, in _request
    yield from resp.start(conn, read_until_eof)
  File "/home/jeremy/telematrix/venv/lib/python3.5/site-packages/aiohttp/client_reqrep.py", line 640, in start
    message = yield from httpstream.read()
  File "/home/jeremy/telematrix/venv/lib/python3.5/site-packages/aiohttp/streams.py", line 641, in read
    result = yield from super().read()
  File "/home/jeremy/telematrix/venv/lib/python3.5/site-packages/aiohttp/streams.py", line 476, in read
    yield from self._waiter
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
aiohttp.errors.ServerDisconnectedError

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

Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
    result = coro.throw(exc)
  File "/home/jeremy/telematrix/venv/lib/python3.5/site-packages/aiotg/bot.py", line 76, in loop
    timeout=self.api_timeout
  File "/home/jeremy/telematrix/venv/lib/python3.5/site-packages/aiotg/bot.py", line 205, in api_call
    response = await aiohttp.post(url, data=params)
  File "/home/jeremy/telematrix/venv/lib/python3.5/site-packages/aiohttp/client.py", line 613, in __await__
    return (yield from self._coro)
  File "/home/jeremy/telematrix/venv/lib/python3.5/site-packages/aiohttp/client.py", line 209, in _request
    raise aiohttp.ClientResponseError() from exc
aiohttp.errors.ClientResponseError
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant