Open rv2931 opened 3 years ago
[W 210825 11:32:42 web:2250] 400 GET /ws?id=140391744658640 (172.16.84.54) 0.36ms
[D 210825 11:32:42 websocket:240] Can "Upgrade" only to "WebSocket".
The tornado server did not receive the "Upgrade" header, so the websocket connection was failed. It is probably a proxy problem.
Hello Me again. What could be the proxy problem ? something to configure in webssh config ? My serveur has a proxy configured in /etc/environment http_proxy and HTTP_PROXY for compliance I had to configured Docker in addition via /etc/systemd/system/docker.service with Environment Is there something equivalent for webssh ?
Hello I'm trying to deploy webssh in docker-compose instance. When I try it locally, everything is working (I'm on Windows/Docker desktop) but when I deploy the same docker-compose file on a remote serveur (Linux, there is a proxy configured on the host, ...) webssh displays correctly the login page but when I enter user/password and connect nothing happens. there is no error message At the beginning, even on localhost I had this behaviour but I solved it by adding "--policy=autoadd" options (I'm only using user/password authentification). But adding the same option on my remote server didn't solve the problem So I changed run.py options to add info :
CMD ["python", "run.py", "--policy=autoadd", "--logging=debug", "--log-file-prefix=main.log"]
I think that my docker-compose file is useless to investigate
the only thing that coulb be tricky is the fact that my host needs a proxy but in docker-compose environment, between 2 docker services, I don't see why there would be a problem... I don't really see what could cause the problem. authentification is OK and then connexion is closed
Thank you in advance RV
Here you can find the logs :