Proxy response 400 !== 200
-
Hi,
I encounter this error when trying to add a host (master) on a different XOA
server.enable { "id": "3c563df5-b08f-4b87-877e-68e4bc1e8f85" } { "name": "AbortError", "code": "UND_ERR_ABORTED", "call": { "duration": 240, "method": "session.login_with_password", "params": "* obfuscated *" }, "message": "Proxy response (400) !== 200 when HTTP Tunneling", "stack": "AbortError: Proxy response (400) !== 200 when HTTP Tunneling at Client.connect (/usr/local/lib/node_modules/xo-server/node_modules/undici/lib/dispatcher/proxy-agent.js:87:22)" }
The goal is to replicate a VM from a client infrastructure to our infrastructure, using an XO Proxy in our infra.
I'm trying to add one host from our infra to theirs.We have a working xoproxy than can get to the host. IP of host added is the local IP of our infra.
What am i missing ?
nb : our proxy is published by Nginx Proxy Manager on TCP Port 443 with a lets encrypt SSL certificate, that is different of internal certificates...
-
Hi,
Have you enabled websockets?
-
@olivierlambert yes Olivier.
but I'm in doubt of the correct redirection I have to make in NPM ... Should I port the token part of the url also in the redirected internal part ?
or do I miss an nginx parameter to help pass this token 'inside' ?