-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
I am experiencing a persistent 401 Unauthorized error when trying to connect to my WAHA instance. It seems the API key defined in my docker-compose.yml (deployed via Portainer/Docker Swarm) is not being correctly read by the WAHA service.
I receive a 401 error from:
The WAHA Dashboard itself.
My Chatwoot integration.
Direct curl commands to the API.
This suggests the WAHA_API_KEY_PLAIN environment variable is being ignored or overridden, as the curl test proves the API is rejecting the key.
My Environment
Deployment: Docker Swarm
Management: Portainer
Proxy: Traefik
I have also tried to force-redeploy the stack via Portainer ("Update the stack") to ensure the environment variables are reloaded, but the problem persists.
Is there a different variable I should be using for Docker Swarm, or is this a potential bug?