-
Notifications
You must be signed in to change notification settings - Fork 106
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
Invalid input ConnectionInputs.RECV_HEADERS in state ConnectionState.CLOSED #46
Comments
Any idea how to reproduce this? |
I had the traceback, but not anymore. Will try to get a new one. |
@tomchristie not seeing this error in a long time now, I think we can close this! |
@tomchristie @victoraugustolls Can you please reopen this issue? I encountered the problems with the latest httpcore version from master (ad7a7e3) and also with older versions. This is what provokes the error:
What's the stance |
See the fixes in #679 and #683 as well as discussion at encode/httpx#2112 There's an h2 issue at python-hyper/h2#1181 that tracks implementing in accordance with the RFC but the issue doesn't seem to be going anywhere and nobody responded to my request for guidance. |
@madkinsz Thanks for the updates and links, python-hyper/h2#1181 probably hits closest for me. As you said, this seems to be a lot of work and I also cannot provide any real guidance here as I'm new myself and barely have time. |
I think following #683 you'll get pretty good behavior with HTTP/2, httpcore will just retry the requests when a GOAWAY is received — it sounds like many clients do not properly implement the GOAWAY behavior described in the RFC anyway. |
This seems to be an error with h2, just raising here to confirm it, as before using httpx with httpcore interface, I never saw this issue, at least not with this frequency.
Error:
Invalid input ConnectionInputs.RECV_HEADERS in state ConnectionState.CLOSED
The text was updated successfully, but these errors were encountered: