-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
I am having trouble with basic Sockets. #2690
Comments
Given the empty comment, I'm guessing this has been resolved or was a mistake. Closing, but feel free to comment if you want it reopened. |
The nursery freezes up when the connections drop, then the client reconnects and the nursery is frozen, so I have to hit CTRL+C and instead of closing the program it closes the nursery and resumes where it should. |
Issues with Cancel Scopes: If a nursery injects a Cancelled exception even when none of the tasks have received a Cancelled, it might cause the nursery to freeze1. I think this may be the problem, perhaps. |
I hope to overcome this problem with |
Could you provide a minimal reproducer program that has this problem (even if not frequently or under high load?) |
|
I think I had some misaligned code that wasn't raising exceptions and a loop with aclose_both() eecuting a quit statement then closing the socket again creating a loop. |
Gah sorry I forgot about this; unfortunately I don't really have the motivation right now to figure out the right context to call the function. Uh, do you have logs from when you reproduced this? Also, the amount of |
Thank you for your KeyboardInterrupt tip. I had some problems where I could not seem to stop the program back to the prompt. This is probably why. Maybe not in this code but in all my code where I catch BaseException |
Yea I would suggest not catching so many of the exceptions, for example |
No description provided.
The text was updated successfully, but these errors were encountered: