Resolved! 🎉 "“Failed to connect to Nextcloud” when attempting to sign in on the macOS VFS client"

After taking repeated stabs and trying to fix this on and off I’ve finally done it (thanks Claude). For me the issue was that one of my IPs was a private IP since my nextcloud instance is running on a home server and some how the client did not have the MacOS “Local Network” permission enabled. Once I flicked it on and restarted the client it worked a charm! Hope this helps someone else too :slight_smile:

I’ve opened a PR for the client to add a check for the permission to hopefully avoid others running in this same situation as me. If you’ve been effected by this give it a thumbs up to help prioritise it: [FR] Show warning if Nextcloud server URL resolved to private IP and MacOS's "Local Network" premission is not granted. · Issue #10452 · nextcloud/desktop · GitHub


Request to mods: Can you please merge this in with the original topic so anyone who finds it can see the solution (or at least the solution that worked for me)? The topic has been closed automatically for inactivity so I can’t post there myself: "Failed to connect to Nextcloud" when attempting to sign in on the macOS VFS client - #7 by cos667

Thank you for the hint. I think I investigated a while ago in regard to insecure local network connections. As far as I remember, there is no API to request such permission upfront on macOS (unlike – for example – access to the photo library). The system prompts the user when the actual access is attempted. Attempting that without any justification upfront is suspicious on the other hand.

The topic of ensuring HTTP without S for the file provider works is still on my long to-do list.