help pls with RuntimeError: no running event loop #495
Unanswered
danial29rus
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@danial29rus you have something in your application bootstrap that initialise the event loop, but that's not supported in Granian. You should use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
Please tell me if anyone has encountered a problem in granian
with the error RuntimeError: no running event loop
I launch the application like this
command: >-
sh -c "
granian --interface asgi app.main:app --access-log --workers=12 --host=0.0.0.0 --port=8021 --backlog=16192
"
What could be the problem?
I'm switching back to uvicorn and I don't encounter this error
Beta Was this translation helpful? Give feedback.
All reactions