I think there might be a bug in Rclone in regards to the VPN protocol WireGuardNT. Not WireGuard, but the newest version of the protocol WireGuardNT. It doesn't seem to matter which VPN service I used; as long as it supports WireGuardNT it has the same issue. Using both Google Drive and PCloud, file scanning in order to detect differences was noticeably slower. If a change was detected, and needed to be uploaded, the file upload with start and then quickly get to a speed of zero bps. File transfers are not possible using WireGuardNT. This is not the case if I disconnect from the VPN, or use and older version of the WireGuard protocol. WireGuardNT is the newer form, and it will soon be adopted by most VPNs. Again, this doesn't seem to be backend dependent, or config dependent.
Run the command 'rclone version' and share the full output of the command.
C:\Program Files\rclone>rclone version
rclone v1.57.0
os/version: Microsoft Windows 10 Pro 2009 (64 bit)
os/kernel: 10.0.22000.527 (x86_64)
os/type: windows
os/arch: amd64
go/version: go1.17.2
go/linking: dynamic
go/tags: cmount
Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
-->
Yes
Which cloud storage system are you using? (eg Google Drive)
Google Drive and PCloud
The command you were trying to run (eg rclone copy /tmp remote:tmp)
That's not too helpful. Which VPN. I just right now tried it on Mullvad and WireguardNT had the same issues as described above. After downgrading to WireGuard-go the issues were gone. The same is true for all the other VPNs I've tried; IVPN, hide.me, NordVPN, Surfshark, TorGuard and airVPN. The latter you need to use the beta version for WireGuard, but presents the same issues.
Since you posed that as a question me add that I did say "It doesn't seem to matter which VPN service I used; as long as it supports WireGuardNT it has the same issue."
Yeah, I've tried it on three machines each having the same result. When WireGuardNT is active rclone doesn't work. With Mullvad you'll need to run the following command to get rclone to work. It turns off WireGuardNT and downgrades it.
"mullvad tunnel wireguard use-wireguard-nt set off"
With the latest version of Mullvad WireGuardNT became the default.
Interesting. By chance could you be using Linux? The term in your log talpid_core suggests you are. I am not, I'm using Windows 11 and had the same issues on Windows 10/ Other than that, I can't see why yours would work find and mine would not. Also, what are your port and mtu settings for Mullvad?
Yes it does. In fact, WireGuard was developed for linux and then ported over to Windows. That's why options like the killswitch in the official wireguard client do not work in Windows but they do in linux.
I can't imagine what it could be. I use windows' firewall, but disabled it. I disabled DoH. I don't use any anti-malware scanner, other than Windows Security.
You have to be binding to a NIC, not a TAP/TUN, right? Is this a way of forcing an excluded rclone.exe?
You have to be running a different OS than me, because I couldn't even use the --bind= switch. When I tried GDrive started throwing up all kinds of errors. I couldn't even get rclone to run correctly after adding rclone.exe to Mullvad's split tunnel.
Oh I did not paste a log for that. However, I may have found something that worked. The key is to exclude rclone.exe Mullvad AND use the --bind= switch. You inadvertently helped me, because I didn't know that switch was even an option. Of course, rclone being excluded means that nothing will be encrypted. But that's another issue. I think I solved the issue.