influxdata / influxdata/influxdb
Unable to parse authentication credentials - from Chronograf, but telegraf works fine
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Hi there,
I just installed the entire TICK stack, but I ran into a silly issue.
When I leave influx with auth_enabled = false, I can get Telegraf to talk to Influx and Chronograf works perfectly.
Then, I changed auth_enabled to true and set a username and password in my influx config. If I update the Telegraf and Kapacitor config files with the authentication details - they work perfectly. The problem is the Chronograf now laughs at me (so rude) and tells me that it can’t connect to influx.
You can see the log below for the exact error. Am I missing something crucial when it comes to configuring chronograf? Why won’t it connect to influx when the other two apps are both happy to work?
Any help would seriously be appreciated…
Oh, btw. I’m one of those silly people that are running all of this on Windows… if that makes any difference.
time="2020-01-22T11:36:06+02:00" level=info msg="Response: OK" component=server method=GET remote_addr="[::1]:62574" response_time=0s status=200
time="2020-01-22T11:36:16+02:00" level=info msg="Response: OK" component=server method=GET remote_addr="[::1]:62574" response_time=0s status=200
time="2020-01-22T11:36:20+02:00" level=info msg="Failed to retrieve database version" error="{\"error\":\"unable to parse authentication credentials\"}\n"
time="2020-01-22T11:36:20+02:00" level=error msg="Error message Error contacting source" component=server http_status =400
time="2020-01-22T11:36:20+02:00" level=info msg="Response: Bad Request" component=server method=POST remote_addr="[::1]:62574" response_time=4.9858ms status=400
time="2020-01-22T11:36:26+02:00" level=info msg="Response: OK" component=server method=GET re
Contributor guide
Research direction
Reproduce the connection using InfluxDB with auth_enabled=true on Windows, comparing Chronograf with the working Telegraf and Kapacitor configurations. Trace the Chronograf-to-InfluxDB authentication request associated with the logged “unable to parse authentication credentials” response. Done when Chronograf connects successfully with authentication enabled.
Written by the indexing model from the issue text.
Assessment
- Domain
- authentication, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100