-
Notifications
You must be signed in to change notification settings - Fork 322
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
Getting error as "HostClient can't follow redirects to a different protocol, please use Client instead - 6111380" #75
Comments
I get the same issue. Something is wrong with fasthttp for tls connections it seems. |
I am getting the same error as well. I see the same problem on Mac OS and Linux. |
I see the same error when using https scheme. adding --http2 flag in the command seems to address the problem |
Nice catch @cfauchere , thanks for sharing the workaround! I wonder if it's by design that |
Thanks for the report and all of your inputs. Looks like there was a backwards incompatible change in
Both
A bit more context here would be very welcome. I.e. full command used and its output, what kind of server was used, etc.. Ideally, a minimal reproducible example. My best guess given all the feedback provided is that this happens when one tries to send HTTPS requests to a server that only supports HTTP and tries to change the protocol used, but might be wrong. |
…ent to fasthttp.Client fasthttp's Client, HostClient behave slightly differently, but all the tests still pass and requests generated seem to be correct. cmd/utils/simplebenchserver now has --std-http mode in which it uses HTTP server provided by standard library's net/http package. Might help with unexpected behaviour encountered in #75.
…ent to fasthttp.Client fasthttp's Client, HostClient behave slightly differently, but all the tests still pass and requests generated seem to be correct. cmd/utils/simplebenchserver now has --std-http mode in which it uses HTTP server provided by standard library's net/http package. Might help with unexpected behaviour encountered in #75.
Getting error as "HostClient can't follow redirects to a different protocol, please use Client instead - 6111380", is there any settings we can set that ignores the redirect URLs.
The text was updated successfully, but these errors were encountered: