nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.29k stars 1.77k forks source link

Android client does not reconnect after IMAP backend outage #13621

Open AussieCodeKing71 opened 1 month ago

AussieCodeKing71 commented 1 month ago

⚠️ Before posting ⚠️

Steps to reproduce

  1. Setup server using an IMAP backend for logins
  2. Setup Android app to connect with server
  3. Have IMAP server outage long enough for Android app to notice
  4. Try using Android client after server back on line
  5. Android client will be reset, ready for a new server connection to be made (see image in actual behaviour below)

Expected behaviour

After IMAP backend is available, Android client should reconnect to server with previously provided credentials

Actual behaviour

After IMAP backend is available, Android client asks for connection details as if it is a fresh install: Screenshot_20240925_100535_Nextcloud

Android version

14

Device brand and model

Samsung Galaxy A15 5G (SM-A156E/N)

Stock or custom OS?

Stock

Nextcloud android app version

3.29.2

Nextcloud server version

29.0.7

Using a reverse proxy?

Yes

Android logs

logcatOutput2.txt

Server error logs

[user_external] Error: ERROR: IMAP Login failed via curl: Login denied
    POST /index.php
    from 10.71.74.206 by -- at 25 Sept 2024, 10:07:24 am

Additional information

I have encountered this issue for years, across many versions of the app, server, android version, phone brand, etc. Previously I always fixed it for my family users. But now that some of them are dispersing I'm reporting it so that it is correctly handled by the app for them.

liquidat commented 16 hours ago

Possibly related: https://github.com/nextcloud/android/issues/10761