You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use api call to save and query data from another service on docker
Expected behavior:
api call works normally and i can get and set my data periodically
Actual behavior:
after 3 days i got unauthorized access from influxdb on my service.
when i try to login to influxdb on ui i got An InfluxDB error has occurred
Config:
i just use DOCKER_INFLUXDB_INIT_MODE, DOCKER_INFLUXDB_INIT_USERNAME, DOCKER_INFLUXDB_INIT_PASSWORD, DOCKER_INFLUXDB_INIT_ORG, DOCKER_INFLUXDB_INIT_BUCKET environment variable to launch influxdb on docker using docker compose
Logs:
influx db logs on docker:
influx-db-1 | ts=2024-09-03T07:59:45.567559Z lvl=info msg=Unauthorized log_id=0rMGMBwW000 error="session not found"
influx-db-1 | ts=2024-09-03T07:59:45.576214Z lvl=info msg=Unauthorized log_id=0rMGMBwW000 error="session not found"
influx-db-1 | ts=2024-09-03T07:59:45.583360Z lvl=info msg=Unauthorized log_id=0rMGMBwW000 error="session not found"
influx-db-1 | ts=2024-09-03T07:59:45.599761Z lvl=info msg=Unauthorized log_id=0rMGMBwW000 error="session not found"
influx-db-1 | ts=2024-09-03T07:59:45.613114Z lvl=info msg=Unauthorized log_id=0rMGMBwW000 error="session not found"
influx-db-1 | ts=2024-09-03T07:59:45.619762Z lvl=info msg=Unauthorized log_id=0rMGMBwW000 error="session not found"
i am using python influxdb client and username and password for authentication.
in my case after a while my session has been expired and i have 2 choice to solve this problem
using token base authentication except username and password authentication (i choose this one)
catch exception manually and sign in again
the problem with client solved but ui crash exists and randomly influx ui crashes
About the bug
Steps to reproduce:
Expected behavior:
api call works normally and i can get and set my data periodically
Actual behavior:
after 3 days i got
unauthorized access
from influxdb on my service.when i try to login to influxdb on ui i got
An InfluxDB error has occurred
Visual Proof:
i got this after login from ui
About your environment
Environment info:
Config:
i just use
DOCKER_INFLUXDB_INIT_MODE
,DOCKER_INFLUXDB_INIT_USERNAME
,DOCKER_INFLUXDB_INIT_PASSWORD
,DOCKER_INFLUXDB_INIT_ORG
,DOCKER_INFLUXDB_INIT_BUCKET
environment variable to launch influxdb on docker using docker composeLogs:
influx db logs on docker:
api call logs from other service:
The text was updated successfully, but these errors were encountered: