Skip to content

Mobile app fails to upload/write data in LAN-only isolated network (No WAN), despite browse/read functionality working #17063

@hgjoni20

Description

@hgjoni20

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

​Set up a Nextcloud server instance on a local machine.
​Connect a mobile device and the Nextcloud server to the same local Access Point (AP).
​Ensure the AP is isolated from the internet (Local LAN only, No WAN access). The mobile OS should display a "Connected, no internet" notification.
​Open the Nextcloud mobile app and log into the local server instance using its local IP or local DNS.
​Browse the directories and open an existing file (Verify that Read/Browse functionality works).
​Try to upload a new file (image, document, etc.) from the mobile device to any folder inside the app.
​Notice that the upload fails, hangs indefinitely, or stays stuck in the sync queue, even though the local server is fully active.

Expected behaviour

The upload queue should attempt to push data if the specific server host is reachable, independent of the global WAN/Internet connectivity status reported by the mobile OS.

Actual behaviour

The mobile app successfully connects to the server and allows browsing and downloading of existing files. However, when attempting to upload a file, the upload process fails, hangs indefinitely, or remains permanently queued. The app acts as if the server is offline for write operations, solely because the mobile OS reports "no internet connection" on the Wi-Fi network, despite the local server being fully accessible.

Android version

Android 15

Device brand and model

Samsung Galaxy S21+ 5G

Stock or custom OS?

Stock

Nextcloud android app version

Last

Nextcloud server version

Last

Using a reverse proxy?

I don't know

Android logs

No response

Server error logs

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions