You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using go-oidc lib to create new providers for authentication (via this method) and we noticed the GET request frequently returns "unexpected EOF" error. However, whenever we curl the same endpoint, it always succeeded.
Do you happen to know why this error would happen? Some browsing on the internet suggests adding req.Close = true but I'm not sure if that's the problem. Could you please help us out? Really appreciated!!
The text was updated successfully, but these errors were encountered:
Hi @ericchiang, we have control on our provider domain but this shouldn't be provider specific. And we do use https. Based on the errors unexpected EOF, I don't think it's from io.ReadAll, otherwise we should be seeing error starting with unable to read response body right? That being said, I have no idea which call failed exactly in NewProvider().
Regarding httptrace, we don't have context on that but we could give it a try. Meanwhile if you can provide any insight for us to understand the error better, we will really appreciate it!
Hey team,
We're using
go-oidc
lib to create new providers for authentication (via this method) and we noticed the GET request frequently returns "unexpected EOF" error. However, whenever we curl the same endpoint, it always succeeded.Do you happen to know why this error would happen? Some browsing on the internet suggests adding
req.Close = true
but I'm not sure if that's the problem. Could you please help us out? Really appreciated!!The text was updated successfully, but these errors were encountered: