github-webhook-to-telegram
github-webhook-to-telegram copied to clipboard
RuntimeError: Timeout context manager should be used inside a task
2022-06-15T03:42:11.794121+00:00 app[web.1]: File "/app/utils/telegram.py", line 54, in send_message
2022-06-15T03:42:11.794121+00:00 app[web.1]: async with session.post(api_url,
2022-06-15T03:42:11.794122+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/aiohttp/client.py", line 1138, in __aenter__
2022-06-15T03:42:11.794122+00:00 app[web.1]: self._resp = await self._coro
2022-06-15T03:42:11.794122+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/aiohttp/client.py", line 466, in _request
2022-06-15T03:42:11.794123+00:00 app[web.1]: with timer:
2022-06-15T03:42:11.794123+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/aiohttp/helpers.py", line 701, in __enter__
2022-06-15T03:42:11.794124+00:00 app[web.1]: raise RuntimeError(
2022-06-15T03:42:11.794124+00:00 app[web.1]: RuntimeError: Timeout context manager should be used inside a task
2022-06-15T03:42:11.796452+00:00 heroku[router]: at=info method=POST path="/" host=****.herokuapp.com request_id=*** fwd="***" dyno=*** connect=0ms service=2ms status=500 bytes=244 protocol=https
Any updates on this?