-
Notifications
You must be signed in to change notification settings - Fork 333
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
Could not sign in #642
Comments
I solved it! As it seems, the problem is in the password I defined for admin. I used one created from InfluxDB and it worked. |
Hey, getting the same problem after changing the service type to load balancer.
Error: |
However, is there a Load Balancer available in your cluster? |
Yes, I have a load balancer available in my cluster. I am not using a ClusterIP as I wanted to access the influxDB publicly. I also managed to set up InfluxDB manually without the helm chart and got it working with the LoadBalancer. |
The admin account is only configured if it is not already and the PV is retained. So if you install the helm chart, then upgrade/reinstall it with different creds for the admin user, it won't have any effect. |
Hello,
I installed InfluxDB on Kubernetes by using the provided Helm chart. (https://helm.influxdata.com/)
I run the following commands:
helm repo add influxdata https://helm.influxdata.com/
helm install influxdb2 influxdata/influxdb2 --values my-values.yaml
In the values I just defined the persistence volume, nothing else. it's the following:
However, even though I use
admin
as a username and I am pretty sure I use the correct password when I try to log in through GUI, I always get "Could not sign in", while the message in the logs is always the same:lvl=error msg="api error encountered" log_id=0owjCPE0000 handler=session error="unauthorized access"
I found that the docker image you are using is the
influxdb:2.7.4-alpine
I used it on my personal machine. The first time I logged in I had to create a primary account. I created it, logged in, logged out and when I re-logged in everything was fine. From what I see, when InfluxDB is installed by the Helm chart, a similar procedure is programmed to run as an initial process. Is it possible that it's not run successfully?
Chart version 2.1.2
App Version 2.7.4
The text was updated successfully, but these errors were encountered: