wofferl / proxmox-backup-arm64

Script for building Proxmox Backup Server 3.x (Bookworm) for Armbian64
151 stars 12 forks source link

Shell Issue (Connection failed (Code: 1006) #25

Closed rooskie94 closed 1 year ago

rooskie94 commented 1 year ago

Got pbs installed on my pi and backups are working. Greatly appreciate this. My only issue is when trying to access the shell on the web client Connection failed (Code: 1006).

If you have any tips or fixes let me know. Thanks!

wofferl commented 1 year ago

This may be a problem with the websocket request.

wss://ip:8007/api2/json/nodes/localhost/vncwebsocket

Can you check your browsers debug console, if the request is blocked or has an error?

Which browser do you use? Do you use a proxy?

rooskie94 commented 1 year ago

No errors except "xtermjs: starting" Ive used firefox, chrome and even cleared cache and data. Have a local PVE and no issues. No proxy, everything is LAN. Worse case I can try to reinstall it again or continue researching. But thought Id let you know.

Noticed this in the pbs syslogs thread 'tokio-runtime-worker' panicked at 'error executing termproxy: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/api2/node/mod.rs:180:41

wofferl commented 1 year ago

Which version of pve-xtermjs do you have installed? Is the file /usr/bin/termproxy present?

rooskie94 commented 1 year ago

/usr/bin/termproxy is not present. Ive tried searching in root and proxmox dir and no luck finding xterm version and using xterm -version prints -bash: xterm: command not found Make me wonder if something happened during install.

wofferl commented 1 year ago

xterm is not the problem here.

You need the ./pve-xtermjs_*_arm64.deb package. This is also build with the build.sh script and should be in the packages directory. Look at the README which packages you need to install for the proxmox-backup-server installation.

rooskie94 commented 1 year ago

My bad, found pve-xtermjs_4.16.0-1_arm64.deb in packages