Closed jemand771 closed 2 months ago
Hello,
I will look at it next week or the week after, when i will have a bit more free time on hand.
Should be fixed in pre-release 9.2.3, would you mind letting me know if that's ok ? https://github.com/erebe/wstunnel/releases/tag/v9.2.3
I haven't tried any more elaborate scenarios (e.g. reconnect after long downtime), but just from a quick test it looks like that works: restart the server, try to use the reverse tunnel -> comes back after a couple of seconds. thanks! :D
Describe the bug After a tunnel server restart, client(s) don't reconnect automatically.
To Reproduce Steps to reproduce the behavior:
wstunnel server --restrict-to 0.0.0.0:52100 wss://0.0.0.0:8022 -r my-token
wstunnel client -R tcp://0.0.0.0:52100:localhost:22 -P my-token --log-lvl DEBUG wss://tunnel.example.org:8022
Expected behavior Given that the client realized something is wrong, I'd expect an automatic reconnect after some time. Also, the error message looks weird/ungaught.
ScreenshotsClient log (debug) Note that I've replaced the server hostname and ip address with dummy values. I'm going to be experimenting with (briefly) unprotected ssh tunnels and don't want any bot scooping up the ip 👀note: I've removed the desktop information block. my machine is not relevant to this issue.
Additional context I'm using the docker images, tag
v9.2.2
. server is amd64, client is arm64. just to make sure: the connection works perfectly fine as long as I start the server first. the network connection between the two devices is not restricted in any way (company firewall, government proxy, whatever)related issues (but with different errors):