Skip to content
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

Error : unable to perform operation on <TCPTransport>; the handler is closed mechanism asgi handled #189

Open
jidey43 opened this issue Feb 13, 2024 · 1 comment

Comments

@jidey43
Copy link

jidey43 commented Feb 13, 2024

Python 3.11.1
Quart 0.16.3

I have encountered this issue in my backend Sentry backlog, but I do not quite understand what to do with it. I think it has to do with Hypercorn.

image

This exception is raised in the context of an endpoint that streams PDF bytes to a client webapp. I believe it occurs when the connection is unstable, and the TCP socket is closed.
Please note that uviloop appears to have had a similar issue here.

Is it a known issue? How did the issue bubble up to the interpreter?
Perhaps I just need to catch and silence it in the app.

Thxs

@pgjones
Copy link
Owner

pgjones commented May 28, 2024

I'm not sure if I can track this down from the stack trace information given. If you can provide an example that reproduces it that would help a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants