desktop-app
desktop-app copied to clipboard
(macOS) iCloud sync fails when VPN connected
Bug report
Describe your environment
- Device: _____
- OS name and version: macOS
- IVPN app version: _____
Describe the problem
"IVPN seems to interfere with the syncing of Safari bookmarks and tabs. They only sync properly when IVPN is turned off on the mac. It doesn’t seem to matter whether the iPhone is connected to IVPN."
"Here is the type of message that Console.app shows when trying to sync bookmarks with IVPN enabled."
501:com.apple.SafariBookmarksSyncAgent.XPC.TabCollectionMaintenance:C3CFEF:[
{name: DeviceActivityPolicy, policyWeight: 20.000, response: {Decision: Must Not Proceed, Score: 0.00, Rationale: [{deviceActivity == 1}]}}
], FinalDecision: Must Not Proceed}
- IVPN App firewall "Allow LAN" and "Allow Multicast" = no change
- IVPN App firewall OFF = no change
- use different VPN server = no change
VPN needs to be disabled in IVPN App on macOS to allow the iCloud sync to proceed.
Ref: https://www.reddit.com/r/MacOS/comments/m9ugp2/macos_wont_sync_safari_bookmarks_to_icloud_over/
Any progress on this? It is still an issue. I have tested all the scenarios mentioned above and I can confirm that iCloud sync for Safari doesn't work in any of them (bookmarks, open tabs and reading list). I have also tested 2 other VPN solutions. MullvadVPN seems to have the same problem but ProtonVPN doesn't. I will try and to a more detailed investigation.
Re Mullvad: It's worth noting that when using Mullvad's app, iCloud sync doesn't work. However when using the Wireguard app with Mullvad's servers, everything works.
Hi We are able to reproduce the issue and we are looking for possible solutions. At the current time, I can not provide you with any estimates of when the issue will be fixed.
I did some more debugging and it appears that the problem lies in antitracking/DNS settings that iVPN (and MullvadVPN) have, which are more agressive than what ProtonVPN has in place. If I use NextDNS as my custom DNS, controlling the blocking lists, iCloud/Safari sync works as expected. I hope that helps you with further debugging.
I can confirm that Safari bookmarks sync works well when using ProtonVPN.
Any progress on this issue?
Unfortunately, no updates for now.
The solution can be in changing the OS 'default' route to the VPN route. Currently, our app is using a more specific route '0/1' for the VPN channel. (see the proof of concept script for details: icloud-sync-route_script.zip)
Unfortunately, using a custom 'default' route is not persistent. macOS updates it in different situations. So, it can lead to unexpected leaks or to loss of connectivity.
I am postponing this ticket until we find a more robust solution.
Having this issue too... it's really frustrating because it makes iCloud Drive unusable.