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

local lan sync fails when there's no Internet connection #988

Closed
2 tasks done
nutpantz opened this issue Aug 20, 2024 · 2 comments
Closed
2 tasks done

local lan sync fails when there's no Internet connection #988

nutpantz opened this issue Aug 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@nutpantz
Copy link

nutpantz commented Aug 20, 2024

Problem scope

  • I'm sure that this is a DAVx⁵ problem.

App version

  • I'm using the latest available DAVx⁵ version.

Android version and device/firmware type

Android 12

Steps to reproduce

Create account on local network no internet server
Connect to server locally
Look at warning that no internet connectivity valadated
Fail to sync
It does nothing because Android thinks there is no internet.

Actual result

Create account on local network no internet server
Connect to server locally
Look at warning that no internet connectivity valadated
(It's a local server internet is not required)
It should sync since it can connect to the local server just fine

Expected result

Don't use Androids captive portal system to check if there is internet. Maybe ping the needed server. Which will work fine on s local network or one that uses the internet

Or just have a bypass option so that the app ignores Android questioning if there is internet. A network is still useful without internet.

@nutpantz nutpantz added the bug Something isn't working label Aug 20, 2024
@rfc2822 rfc2822 added enhancement New feature or request and removed bug Something isn't working labels Aug 21, 2024
@rfc2822
Copy link
Member

rfc2822 commented Aug 21, 2024

It's a very complicated topic for very little users. However we still want to support this feature.

At the moment, syncing while Android says there's no connection is not in the scope of DAVx5. Make sure there's a validated Internet connection to synchronize. (Btw this is not the "captive portal system", but the NetworkManager API, which returns which connections are available and usable.)

I'll copy the issue over and mark this one as duplicate.

@rfc2822 rfc2822 changed the title local lan sync fails local lan sync fails when there's no connection Aug 21, 2024
@rfc2822 rfc2822 changed the title local lan sync fails when there's no connection local lan sync fails when there's no Internet connection Aug 21, 2024
@rfc2822
Copy link
Member

rfc2822 commented Aug 21, 2024

Duplicate of #990

@rfc2822 rfc2822 marked this as a duplicate of #990 Aug 21, 2024
@rfc2822 rfc2822 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants