Errors: does not resolve & "Login with nextcloud" does not find my local instance #727
-
I started getting synchronization errors between my local Nextcloud instance and my Android 14 phone about a week ago (I think, I haven't been paying too close attention). The error notifictions says "cannot resolve hostname: nextcloud.nibelheim". The strange thing is that I have defined a host override for nextcloud.nibelheim in my pfsense DNS resolver (pfsense is my DNS server) and it works both on computers, laptops and on phones. When I type https://nextcloud.nibelheim in any browser on the phone it will resolve to the correct local IP address and take me to my local Nextcloud instance login screen. But DavX5 can't resolve it. If I for troubleshooting purposes try to add a new account and select "Login with Nextcloud", DavX5 responds: couldn't obtain login URL. Neither direct IP address works which is even weirder. What might be up with DavX5 not finding my local Nextcloud all of a sudden? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
You can view the logs after an unsuccessful login and you should be able to find all details there. DAVx5 uses okhttp, which uses the normal system methods for DNS resolving as far as I know. |
Beta Was this translation helpful? Give feedback.
-
Hi,
That seems clear enough, but when I run a DNS lookup from the same phone the DNS lookup works fine. |
Beta Was this translation helpful? Give feedback.
Thanks for the idea about IPv6.
Problem solved! (I think)
The Nextcloud instance at nextcloud.nibelheim did not have any IPv6 configured. Autoconfiguring that and rebooting firewalls (switching back and forth between old and current configs a few times) and devices seems to have solved the problem.
I also added the IPv6 address to the host override for nextcloud.nibelheim in pfsense.
Weird thing: ping IPv6 does not work, but DNS lookup resolves both IPv4 & 6
/ fingers crossed /