Django/Channels on Google Cloud Run results in ConnectionError #2197
Unanswered
alexanderjulmer
asked this question in
Help!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi y'all,
I am struggling with a persistent
Connection reset by peererror when running Django Channels on Google Cloud Run, using GCP Redis as a message broker:The error is triggered on this line:
I've taken quite some steps to ensure my environment is configured for persistent, long-lived connections (see also https://docs.cloud.google.com/run/docs/triggering/websockets).
--min-instances=2so it never scales to 0I set
CHANNEL_LAYERSto use application-level health checks and network-level TCP keep-alives (see also django/channels_redis#407)I am out of ideas what I could do to fix this. Any help is greatly appreciated.
Thank you!
Versions
Beta Was this translation helpful? Give feedback.
All reactions