-
-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
Hi,
We use traefik for our project and so we put wdb behind it. To make it clean we setup traefik to bind port 1984 to a specific virtualhost for wdb.
It work, except when wdb GUI try to fetch /status (or others URL) which immediately close the connexion.
Error : wdb_server/init.py:118 "self.warn('Origin and host are not the same, closing websocket...')"
(by the way self.warn does not exists)
After some investigation, we found that X-Forwarded-Proto is "ws" whereas wdb check for "http"
We fix that by forcing traefik to set request header X-Forwarded-Proto to http. But it seems not to be a good fix or something expected.
Can you provide some documentation on how to setup wdb with a reverse proxy ?
Thanks
vasica38 and luckydonald
Metadata
Metadata
Assignees
Labels
No labels