Uptime-Kuma-Web-API
Uptime-Kuma-Web-API copied to clipboard
Unable to authenticate
Currently im unable to authenticate. ive recreated the user. checked permissions and logs. just returns faulty credentials at all times.
i have tried the credentials listed in the compose file (admin + my pass) and the credentials for the webui. neither work.
i removed the credentials when posting this comment.
services:
uptime-kuma:
image: louislam/uptime-kuma:latest
container_name: kuma
volumes:
- ./uptime-kuma-data:/app/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 3000:3001
restart: unless-stopped
environment:
- UPTIME_KUMA_DISABLE_FRAME_SAMEORIGIN=true
api:
container_name: backend
image: medaziz11/uptimekuma_restapi:latest
volumes:
- api:/db:rwx
restart: unless-stopped
environment:
- KUMA_SERVER=
- KUMA_USERNAME=
- KUMA_PASSWORD=
- ADMIN_PASSWORD=
depends_on:
- uptime-kuma
ports:
- "8001:8000"
watchtower:
container_name: watchtower
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
image: containrrr/watchtower
restart: unless-stopped
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_SCHEDULE=0 0 4 * *```
when authenticating with the credentials listed above i receive this response:
{
"detail": {
"message": "Incorrect Kuma credentials"
}
}
when using the webui credentials i receive:
{
"detail": {
"message": "Incorrect username or password"
}
}
the request hangs for about 5 - 10 seconds when entering the correct credentials. it still present me with incorrect credentials message.
when i use the wrong password on purpose the request closes in 232ms.
I found out in this isssue #66 that you have to delete the volume to reset the credentials