-
Notifications
You must be signed in to change notification settings - Fork 113
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
HTTP 407 error formatting when using proxies #439
Comments
The more I'm looking at this ticket, the more unsure I am that it's worth changing anything. Sorry about the noise. |
To add to this, I observed that sometimes an unexpected info message after Normally, I see something like this:
But sometimese I observe this:
This unexpected message sometimes happens in the background, but there does not seem to be a way to reliably trigger it for replication. |
I think the existing error message is quite clear, do you have a suggestion for how it can be improved? The FunctionClauseError is not happening in Mint's code, it looks like you have a race condition in your GenServer. |
@ericmj the GenServer in question uses |
You are completely correct, I realised this here #439 (comment) |
No, that would be a finch or req issue. They need to keep handling tcp/ssl messages until the controlling process is changed or the connection is closed. The unexpected_status error does not mean the connection is closed. |
Observed log:
Mint source code:
mint/lib/mint/tunnel_proxy.ex
Line 138 in d307008
From MDN HTTP 407:
It would be nice to have nicely formatted error for HTTP 407 like with the other cases of
mint/lib/mint/tunnel_proxy.ex
Lines 132 to 147 in d307008
The text was updated successfully, but these errors were encountered: