botwave icon indicating copy to clipboard operation
botwave copied to clipboard

Error connecting to server: client stopped

Open ktyfReal opened this issue 11 months ago • 4 comments

I am using wsl with debian as my server (network mode mirrored) and connecting to it from a raspberry pi 5 with raspbian os lite (debian bookworm x64) However, when I try to connect, there is an error:

BotWave - Client

[OK] Found bw_custom at: /opt/BotWave/backends/bw_custom/src/bw_custom
[INFO] Checking for protocol updates...
[OK] You are using the latest protocol version
[CLIENT] Connecting to wss://192.168.1.165:9938...
[ERR] Error connecting to server:
[CLIENT] Client stopped

If this can help, I am also running an openmediavault NAS on the same raspberry pi. Could this be the reason?

Image

ktyfReal avatar Dec 15 '25 17:12 ktyfReal

Hey, thanks for making this issue. As it's WSL, i think that it's making some dark magic to not get this functionning, and i think that the issue is server side. Could you eventually try to uninstall it server side (curl -sSL https://botwave.dpip.lol/uninstall | sudo bash), then to install it again but this time using this command:

curl -sSL https://raw.githubusercontent.com/dpipstudio/botwave/refs/heads/main/misc_doc/cloud-install.sh | bash

It should install the server alongside a 'tunnel component'. on startup, it will give you a command to start the client. It should work as long both have internet access.

Also, rpi 5 isn't supported :-:, didn't you get a warning during the client installation ?

douxxtech avatar Dec 15 '25 17:12 douxxtech

I will test that, I did get a warning message although I was only using it to test if my server worked (I have an rpi3 but it has no sd card so that's why)

ktyfReal avatar Dec 15 '25 18:12 ktyfReal

It worked, thanks

ktyfReal avatar Dec 15 '25 18:12 ktyfReal

glad to hear. The bore tunnels are a bit experimental and arent 100% functionnal, they will continue working after you exit the server, so make sure to do some sudo pkill bore after using them.

douxxtech avatar Dec 15 '25 19:12 douxxtech