Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/net/http2: seeing INTERNAL_ERROR #22235
The user sees this message with INTERNAL_ERROR.
Presumably "internal error" means "bug in the library", hence this issue.
What version of Go are you using (
So far it happened a few times on Windows 10 Pro, 64bit after at least one day program runtime.
I'm using Go version go1.8.1 linux/amd64 on Debian.
Compiling for Windows with:
INTERNAL_ERROR is from https://http2.github.io/http2-spec/#rfc.section.7 ... it's when the server says INTERNAL_ERROR.
It's not the Go http2 package getting confused itself. We're just relaying what we heard.
I'm afraid there's nothing actionable here. If there were at least a repro then we can start to guess at a) which server is saying this, and b) why that server is getting confused.
Sadly I cannot provide a repository, since my project is not open source, but here is at least the (shortened) code leading to the error:
This prints something like
What confuses me is that this happens while getting a 200 OK. I made sure it does not try to read the body when getting other status codes - the code above is heavily shortened, but ultimately has the same effect.
I modified the code to be more verbose next time, but since this happens rarely it might take a while…
Have created a gist on how to reproduce the issue.
Please let me know in case any further details are required from my side.