-
Notifications
You must be signed in to change notification settings - Fork 17
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
Chanel layer group_send bug #48
Comments
Hiya! Thank you for your interest. Could you please reproduce this error without Strawberry in the picture? |
Also: is there an exception logged before this one? |
I suspect the culprit might be somewhere around here: https://github.com/strawberry-graphql/strawberry/blob/fb7a9c463027d86965219b8647220d35fd692084/strawberry/subscriptions/protocols/graphql_ws/handlers.py#L196C8-L196C8 The key being: something might be calling Okay, gotta rant about Python All right, rant complete. @davidsarosi92 I don't know your level of expertise in forking and trickery ... but I'm going to need you to dig deep. Can you somehow edit carehare (not channels_rabbitmq) carehare/_exchange_channel.py and change I'm not sure |
I missed an error message last time:
Okay, I changed carehare/_exchange_channel.py and now I got
Huhh, it's a good question, I use graphql-flutter, I don't know if it helps, but there is no such problem with redis and redis_channel, but if there is an opportunity, I would stick with the rabbitmq solutions. I have a hunch that this happens when "disconnect doesn't happen". |
Thanks for trying it out! I'd need to see more thorough logs to pick through those error messages and figure out what's happening.... |
Marking this issue as "question": it looks like there's something wrong, but I'm not sure whether it's in the application or in this library.
More thorough logs may help figure out what's happening. |
Hi!
I use Django 4.2.3, Channels 4.0.0 and strawberry-graphql-django 0.10.6.
Python version is 3.11.4
channel_layer is channels_rabbitmq.core.RabbitmqChannelLayer
I use subscription, and I got an error message sometimes for channel_layer.group_send:
Sometimes channel_layer.group_add is stuck, I don't know, it is just waiting...
Will there be support for Python 3.11?
The text was updated successfully, but these errors were encountered: