is there any clear documentation on how to setup server / client websocket connection?
I have read through some of the testing posts, but im finding myself a little confused on how to get it connecting.
I am currently behind a proxy and have tried:
on the client side and it says connected to the internet server but doesnt actually route to the urbackup server.
ws://backups.domain.com/socket instead of
wss://backups.domain.com/socket instead of
urbackup:// means it uses the “UrBackup” protocol directly and not HTTP.
If it doesn’t work enabling client debug logging and looking at the log file should help.
Depending on what you mean by proxy it might not work. The HTTP proxy isn’t used currently. (It might work if you mean using Treafik as proxy on the server)
Yes on the Traefik proxy part.
Im getting an HTTP/1.1 500 Internal Server Error, which im assuming has to do with Traefik.
am I supposed to send traffic to:
Got it to connect finally, but found an issue.
after connecting properly, the windows client reverts my config to urbackup://backups.f******.com and the logs say failed to connect to said server.
Nevermind, I think I figured it out. I had to update the config on the server portal. Doesnt seem to be reverting now.
For everyone like me that came across this post trying to do the same thing, I just wanted to show what worked for me.
The documentation says that the port for internet clients is 55415 but if you are using websocket (with a proxy for example) you need to use the same port as the web interface (In my case 55414)
So here is my setup:
admin interface: https://backup.mydomain.com/
server url for internet clients: wss://backup.mydomain.com/
- main: mydomain.com
- url: http://192.168.1.10:55414/