Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextcloud news will timeout when trying to connect IPv6 despite not available #1356

Open
oriold opened this issue Dec 25, 2023 · 7 comments
Open

Comments

@oriold
Copy link

oriold commented Dec 25, 2023

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.

@David-Development
Copy link
Member

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.

@oriold
Copy link
Author

oriold commented Jan 4, 2024

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.

nextcloud_news_bug

@David-Development
Copy link
Member

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?

@oriold
Copy link
Author

oriold commented Jan 8, 2024

Bookmarks and Notes. They don't have this issue.

@tobiasKaminsky
Copy link
Member

Hm. No, I never heard about this problem.
I sometimes have this, but when I switch network, but then also files app times out.

@David-Development
Copy link
Member

@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.. 🤔

@oriold
Copy link
Author

oriold commented Jan 17, 2024

I will upload logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants