Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

channels_redis causes event loop error #31

Closed
seriousm4x opened this issue Dec 15, 2022 · 0 comments
Closed

channels_redis causes event loop error #31

seriousm4x opened this issue Dec 15, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@seriousm4x
Copy link
Owner

upsnap_app       | [2022-12-15 20:48:57,934: ERROR/ForkPoolWorker-32] Task exception was never retrieved
upsnap_app       | future: <Task finished name='Task-9' coro=<Connection.disconnect() done, defined at /opt/venv/lib/python3.9/site-packages/redis/asyncio/connection.py:828> exception=RuntimeError('Event loop is closed')>
upsnap_app       | Traceback (most recent call last):
upsnap_app       |   File "/opt/venv/lib/python3.9/site-packages/redis/asyncio/connection.py", line 837, in disconnect
upsnap_app       |     self._writer.close()  # type: ignore[union-attr]
upsnap_app       |   File "/usr/lib/python3.9/asyncio/streams.py", line 353, in close
upsnap_app       |     return self._transport.close()
upsnap_app       |   File "/usr/lib/python3.9/asyncio/selector_events.py", line 700, in close
upsnap_app       |     self._loop.call_soon(self._call_connection_lost, None)
upsnap_app       |   File "/usr/lib/python3.9/asyncio/base_events.py", line 746, in call_soon
upsnap_app       |     self._check_closed()
upsnap_app       |   File "/usr/lib/python3.9/asyncio/base_events.py", line 510, in _check_closed
upsnap_app       |     raise RuntimeError('Event loop is closed')
upsnap_app       | RuntimeError: Event loop is closed

Upstream issue: django/channels_redis#332

@seriousm4x seriousm4x added the bug Something isn't working label Dec 15, 2022
seriousm4x added a commit that referenced this issue Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant