Unable to parse authentication credentials - from Chronograf, but telegraf works fine

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 remote_addr="[::1]:62574" response_time=0s status=200
1 Like