Problems in connecting second client pc over internet

In short, I can’t connect a second device, that is already configured and was running locally. Now I want to run it over the internet. An other client in the same network seems to work but the other one is not. Don’t see any difference in configuration or setup.

The detailed story:

1 Win10 UrBackup Server, let’s call it “PC-Srv”
2 Win10 UrBackup Clients “PC-Clt1” “PC-Clt2”

I had all 3 PCs in the same LAN and was able to configure and backup everything. Worked quite nice. Then I prepared the upcoming Internet connection of my server with DNS Name and double checked the “Internet auth key” for both clients on the server config and each client config.

Then I moved the “PC-Srv” to my parent’s place to establish a private cloud setup.
I configured my domain and DNS Name to their public IP and port mapped multiple services (e.g https and UrBackup Internet Port 55415. Certificates and others were already configured.
Now I was able to access the UrBuilder Web Frontend over my domain.

“PC-Clt1” was able to connect from my home LAN to the “PC-Srv” at my parent’s place. At the “Status” page in the Web Frontend it sais that it is “Online” and “PC-Clt1” is working and “Indexing”. I’m pretty iritated since it is doing so for hours now. However maybe “PC-Clt1” must recalculate all checksums or so. I don’t know, but on a direct connection over LAN it was just taking seconds.
In the client app it says: “Indexing” and “Server: (my url) (Internet: Yes)” and Internetconnectionstatus: Connected with Internetserver
Fine fine, so let’s wait here…

“PC-Clt2” is worse. It is still placed in the same home LAN as “PC-Clt2”. First nothing was working, just red symbol in system tray. I opened the Client Settings and noticed that the “Internet auth key” was missing. Ok, without this, it can’t work. I entered the auth key manually and double checked it with the server configuration. Then I restarted the client app.
In the Server’s Web Frontend “PC-Clt2” is still “Offline”.
BUT
In the client app under “Status” it sais “Untätig”(German) which means “nothing to do”(dont know how the english version would look like) and “Internetconnectionstatus: Connected with Internetserver”
BUT it does NOT say “Server: (my url) (Internet: Yes)” This section is missing compared to “PC-Clt1”.
I can’t trigger a backup but client app seems to think that it is connected to the server?!

I looked into the client and the server logs at debug level.
On client the newest entry is from the time the server was connected over LAN. Nothing relevant.
Server logs had also nothing relevant.

I don’t get it. I’ve done 2 times exactly the same and one time it seems to work and is doing this crazy indexing and one time the server seems to ignore the client.
It would be important for me to reuse the initial backups since it would take very long to backup everything again over the internet.

Hope someone has a hint.
btw. firewall at “PC-Clt2” is already deactivated and I can access the Server Web Frontend from “PC-Clt2” by using https and my domain.

Check “Beta: Calculate file hashes on client in parallel” in the Internet settings to make indexing (hash calculation) finish faster, or disable “Calculate file-hashes on the client”.

Can you upload/send the client log of the client that doesn’t connect? Have you forwarded the Internet port btw. ?

Thank you for your answer.
I will give it a try with the “calculat parallel” setting.

The connectivity thing for “PC-Clt2”:
I have a port forward from the server-public ip to the server-lan ip of the “PC-Srv” at the router of my parents.
At my home I have no port forwards since only clients shall connect TO the “PC-Srv” and no incoming connections shall be routed in my home network. (So my thoughts.) And as mentioned. the one client can connect and the other one can’t and they are both in my home network. Just other local ips but no port forwards in my home network.

Logs:
(Edit)
Found out that I had to restart the backend service to get logs xD
2020-02-09 23:16:31: Loaded -fileserv- plugin
2020-02-09 23:16:31: Loaded -fsimageplugin- plugin
2020-02-09 23:16:31: Loaded -cryptoplugin- plugin
2020-02-09 23:16:31: SQLite: recovered 5113 frames from WAL file C:\Program Files\UrBackup\urbackup\backup_client.db-wal code: 283
2020-02-09 23:16:31: urbackupserver: Server started up successfully!
2020-02-09 23:16:31: FileSrv: Backup privileges set successfully
2020-02-09 23:16:31: FileSrv: Backup privileges set successfully (SE_SECURITY_NAME)
2020-02-09 23:16:31: FileSrv: Backup privileges set successfully (SE_RESTORE_NAME)
2020-02-09 23:16:31: FileSrv: Binding UDP socket at port 35622…
2020-02-09 23:16:31: FileSrv: done.
2020-02-09 23:16:31: FileSrv: Disabling new behavior…
2020-02-09 23:16:31: FileSrv: Binding ipv6 UDP socket at port 35622…
2020-02-09 23:16:31: FileSrv: done.
2020-02-09 23:16:31: FileSrv: Disabling new behavior…
2020-02-09 23:16:31: FileSrv: Servername: (removed)
2020-02-09 23:16:31: FileSrv: Server started up successfully
2020-02-09 23:16:31: FileSrv: UDP Thread started
2020-02-09 23:16:31: Started UrBackupClient Backend…
2020-02-09 23:16:31: Filesystem. Vol="\?\Volume{f9d2893f-f82c-4582-ac8c-75419e81bec4}" Name=“wiederherstellung” Type=“ntfs” VPaths=0 Size=471855104
2020-02-09 23:16:31: GPT formated hard disk encountered. No bootable flag. Attributes = -9223372036854775807
2020-02-09 23:16:31: Do not automount is set
2020-02-09 23:16:31: System partition is set
2020-02-09 23:16:31: Bootable flag set for volume
2020-02-09 23:16:31: Found potential candidate: \?\Volume{f9d2893f-f82c-4582-ac8c-75419e81bec4}\ Score: 3
2020-02-09 23:16:31: Filesystem. Vol="\?\Volume{5add06e6-e75f-4aba-8865-5dd6ce70ecc7}" Name=“c_system” Type=“ntfs” VPaths=1 Size=510931476480
2020-02-09 23:16:31: Filesystem is System partition. Skipping…
2020-02-09 23:16:31: Filesystem. Vol="\?\Volume{6dd57806-797a-4d35-8d3f-e1e4cb5aa68f}" Name="" Type=“ntfs” VPaths=0 Size=587198464
2020-02-09 23:16:31: GPT formated hard disk encountered. No bootable flag. Attributes = -9223372036854775807
2020-02-09 23:16:31: Do not automount is set
2020-02-09 23:16:31: System partition is set
2020-02-09 23:16:31: Bootable flag set for volume
2020-02-09 23:16:31: Found potential candidate: \?\Volume{6dd57806-797a-4d35-8d3f-e1e4cb5aa68f}\ Score: 3
2020-02-09 23:16:31: Filesystem. Vol="\?\Volume{7fe2852a-6d50-4d0d-b105-e39615afe65e}" Name=“data” Type=“refs” VPaths=1 Size=1333520236544
2020-02-09 23:16:31: GPT formated hard disk encountered. No bootable flag. Attributes = 0
2020-02-09 23:16:31: Bootable flag not set for volume
2020-02-09 23:16:31: Filesystem. Vol="\?\Volume{5257564d-8309-457b-a6e8-0ed2ac064ab6}" Name="" Type=“fat32” VPaths=0 Size=100663296
2020-02-09 23:16:31: GPT formated hard disk encountered. No bootable flag. Attributes = -9223372036854775808
2020-02-09 23:16:31: Do not automount is set
2020-02-09 23:16:31: Bootable flag not set for volume
2020-02-09 23:16:31: Found potential candidate: \?\Volume{5257564d-8309-457b-a6e8-0ed2ac064ab6}\ Score: 3
2020-02-09 23:16:31: Selected volume \?\Volume{f9d2893f-f82c-4582-ac8c-75419e81bec4}
2020-02-09 23:16:31: System dir: C:\WINDOWS
2020-02-09 23:16:31: Volpath: \.\C:
2020-02-09 23:16:31: EFI partition with type UUID {DE94BBA4-06D1-4D40-A16A-BFD50179D6AC}
2020-02-09 23:16:31: EFI partition with type UUID {C12A7328-F81F-11D2-BA4B-00A0C93EC93B}
2020-02-09 23:16:31: EFI System Partition is at \?\GLOBALROOT\Device\Harddisk2\Partition2
2020-02-09 23:16:31: urbackupserver: No available slots… starting new Worker
2020-02-09 23:16:31: ClientService cmd: STATUS#pw=(removed2)
2020-02-09 23:16:32: Looking for old Sessions… 0 sessions
2020-02-09 23:16:32: Internet only mode not enabled. Waiting for local server for 3:00…
2020-02-09 23:16:32: Final path: D:
2020-02-09 23:16:35: ClientService cmd: STATUS DETAIL#pw=(removed2)
2020-02-09 23:16:36: ClientService cmd: STATUS DETAIL#pw=(removed2)
2020-02-09 23:16:37: ClientService cmd: STATUS DETAIL#pw=(removed2)
2020-02-09 23:16:38: ClientService cmd: STATUS DETAIL#pw=(removed2)
2020-02-09 23:16:39: ClientService cmd: STATUS DETAIL#pw=(removed2)
2020-02-09 23:16:40: ClientService cmd: STATUS DETAIL#pw=(removed2)
2020-02-09 23:16:41: rc=0 hasError=true state=0

And the strangest thing is that the server web frontend sais “Offline” for “PC-Clt2” but the client app “Status” says “Connected with Internetserver”

I just noticed that the “Internet auth key” changed again on the server for “PC-Clt2”.
I updated the password in the “PC-Clt2” client app settings. Still not working.

The Backup on “PC-Clt1” now really ran throught successfully.

Ok, here I think I got a useful section in the log:

2020-02-09 23:38:05: ClientService cmd: STATUS DETAIL#pw=(removed pw)
2020-02-09 23:38:06: Trying to connect to internet server "(removed url)" at port 55415
2020-02-09 23:38:06: Successfully connected.
2020-02-09 23:38:06: Error reading id of authentication response
2020-02-09 23:38:06: InternetClient: Had an auth error

Try setting Separate settings for this client for the client, then saving it. It might not have a saved authkey at all (so it just shows a randomly generated one each time you look at it), though that should not happen (maybe it happend with whatever version you added the client with initially). I guess I should improve the error handling in this case…

Cool

 Separate settings for this client

this worked! I got a new password on the server, I configured the password to the client and now the device is shown as “online”

Any chance to get back to disable “separate settings” again to get a clean and common setup? I’m sure, in a few years I will forget that this device has it’s own settings :stuck_out_tongue_winking_eye:

Yeah, authkey is handled specially, so it won’t be deleted when you disable separate settings.