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
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
The text was updated successfully, but these errors were encountered:
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
tohttp
. 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
The text was updated successfully, but these errors were encountered: