Hello @Janon, Hallo all
I have a similar setup. Nextcloud (NCP) behind an Apache Reverse Proxy. Both servers are running on Proxmox. The Proxy in a CT (IPv6 capable) and NCP on a VM. My vHost and config.php look pretty much the same, because I used the same settings linked by @janon in the previous post as solution. Everything is running and I’m able to reach my cloud with every browser out of every network via domain. This works in my private network for my Windows desktop machine and my mobile phone with Android. Even when the phone is connected with the mobile network I can reach my cloud via browser. The only thing which is not working is the Android app when the phone is connected with the mobile network. When the phone is connected to my home network it works.
A big difference to @Janon solution here is that I have only SSL encryption up to the proxy. The communication in my private network between the proxy and the NC runs over http (unencrypted). This is similar to the linked settings in the as solution marked post. Could this be the problem? Does the Android app require continuous SSL encryption (also behind the proxy) when accessing from the mobile network (ipv6)?
Edit:
- The Nextcloud could be reached with an iPhone / iOS NC App without problems. So it must be a problem of the Android App.
- This thread IPv6 und Android App seems to be the same issue. It’s linked with an open issue on github ipv6 not reachable, app not fallback ipv4. The A and AAAA record for my (sub)domain are set. I can
ping6the proxy out of the mobile network. So according to my understanding a fallback should NOT be necessary. Am I right?
SOLUTION:
------------------
The solution was to delete the AAAA record of the subdomain for the cloud. This means that the provider only offers one path to the cloud, which is via ipv4, and a fallback is no longer necessary.