-
Notifications
You must be signed in to change notification settings - Fork 134
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
Client err="malformed HTTP request \"<html>\"" #77
Comments
A bit of an update. It would seem that it's the ALBs fault somehow. If I use the EC2 instance directly then it works. Interesting side realization btw....the node was marked as UP the entire time even though no scrapes were happening. |
Hi! Have you figured out what was the issue? I'm experiencing a very similar problem.
|
any updates on this case? because I am experiencing the same thing. it seems to be wrong in the request from pushprox-client, because in Prometheus and nginx it's already correct. |
I haven't figured out the issue that happened and I ended up not using this project. Took a different approach. Feel free to close. |
I faced the same issue. Does anyone know how to resolve it? |
I'm trying to run pushprox but I'm getting the following error:
caller=main.go:179 msg="Error reading request:" err="malformed HTTP request """
My setup is ALB (http->https redirect) -> Nginx (basic auth) -> pushprox-proxy.
The clients however are on HTTP only.
Since I figured it might be something to do with mixing https and http I got rid of 301 redirect to https and tried serving and connecting to the proxy over HTTP. I also tried getting rid of the Nginx in font that was providing basic auth but the problem remained the same.
This appears to be the only errors I'm seeing. The proxy doesn't appear to be outputting any errors.
And of course no metrics are being scraped.
The text was updated successfully, but these errors were encountered: