I'm attempting to use a GraphQL subscriptions over WebSocket
implementation called DjangoChannelsGraphqlWs [1] but in setting it up
I'm getting asyncio.exceptions.CancelledError on connection. I get a
similar error in tests with the asyncio pytest mark.
I've already opened a ticket [2] with the writers of the library where
you may find a lot more details. A more general question would be how to
find the root cause of this exception? which is obviously a symptom and
not the real problem. Debugging with async is a bit of a mess seeing as
the stack doesn't work like a synchronous program. The --pdb flag with
pytest isn't much help
[1]: https://github.com/datadvance/DjangoChannelsGraphqlWs
[2]: https://github.com/datadvance/DjangoChannelsGraphqlWs/issues/28
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/87v9sg6q0y.fsf%40jgardner.tech.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment