influxdata / influxdata/influx-cli
Client does not work if db is behind reverse proxy
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 75
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
We have the influx db behind a caddy reverse proxy.
Port 8086 will be served via https://IP-ADDRESS/influxdb
This works fine with rest clients like eg. postman or bruno, they use the /influxdb.
But the cli client seems to forget the /influxdb, so it does not get a response from the influxdb, but from the reverse proxy.
See screenshot from bruno rest client, cli client with http and cli client with https.
Bruno:
HTTP:
HTTPS:
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
No files, tests, or entry points are named. Start by reproducing the CLI request against an InfluxDB URL served under the /influxdb path, comparing its HTTP and HTTPS behavior with Bruno or Postman. Done means the CLI preserves the configured path when communicating through the reverse proxy and receives the InfluxDB response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100