prometheus-community / prometheus-community/PushProx
Client err="malformed HTTP request \"<html>\""
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 811
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at caller main.go:179 and trace how PushProx receives requests through the ALB, Nginx, and proxy setup described in the report. Reproduce the malformed HTTP request and determine what configuration or request handling prevents the proxy from receiving valid client traffic; done means the error is resolved and metrics are scraped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, nginx
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100