Open oriold opened 10 months ago
Thank you for the report. Are you using the SSO feature? (Login using Nextcloud Files App)? If so, does the nextcloud files app work? The nextcloud news app doesn't do any network operations - all network requests are proxied through the files app - so the actual network request is created by the nextcloud files app.
If you use the old (and deprecated) manual login - I don't know why it shouldn't work - the app is not doing any magic related to IPv4/IPv6 handling.
I am using Nextcloud files to log in. There are no issues on any other application but this one. Nextcloud files don't try to connect over IPv6 if it is not available.
Attaching screenshot, only happens with Nextcloud News. When I open the app the symbol is spinning and obviously timing out as IPv6 is not available. You can see that the IP address is a local one and not a public one, so not able to connect.
Are you using some of the other supported SSO apps? (Like Deck, Notes or Bookmarks?) https://github.com/nextcloud/Android-SingleSignOn?tab=readme-ov-file#known-apps
Does the Nextcloud Files app work at the same location with the same setup (network)?
I don't know why it would behave any different than the Nextcloud Files App. Like I said - Nextcloud News app does not make the request itself - it sends the request via IPC (Inter-process communication) to the Nextcloud Files app which will make the actual network request. So if the Nextcloud Files App works - the News App should work as well.
Can you double check that you are using SSO indeed? (Click on your profile icon and log in using the "Login using Nextcloud Files App" again).
@tobiasKaminsky Any ideas? Have you heard of any issues related to IPv6 before?
Bookmarks and Notes. They don't have this issue.
Hm. No, I never heard about this problem. I sometimes have this, but when I switch network, but then also files app times out.
@oriold Any chance you could pull some Logcat logs? I'm wondering if it's related to the favicons or something else being downloaded from the server directly during the sync (with "downloaded directly" I mean that it is not using the SSO connection). If Bookmarks and Notes is working it makes no sense to me why the news app wouldn't be working.. 🤔
I will upload logs.
So if you have a host with both A and AAAA records nextcloud news doesn't seem to care if the system has not a connection with IPv6 enabled and tries to connect anyway, thus timing out. Its the job of the OS how to route the request. App should not be doing that.