[Bug]: When opening mobile app, I often have to manually connect #108

Closed
opened 2026-04-24 23:07:30 +02:00 by adam · 2 comments
Owner

Originally created by @jt196 on GitHub (Apr 26, 2022).

Describe the issue

Often the mobile app shows an empty library. If I click Connect, it'll find it. I'm not sure whether this happens on network change, or just app sleep. Is the app not automatically attempting a connect on open? Seems like it does it when opening, but maybe not when it's been sleeping?

It would be great if the app attempted an auto-connect when switching to it.

Steps to reproduce the issue

  1. Open App (after being asleep or network change)
  2. No library shown
  3. Click connect, app connects to library

Audiobookshelf version

server v2.0.2 Android mobile app v0.9.41-beta

How are you running audiobookshelf?

Docker

Originally created by @jt196 on GitHub (Apr 26, 2022). ### Describe the issue Often the mobile app shows an empty library. If I click **Connect**, it'll find it. I'm not sure whether this happens on network change, or just app sleep. Is the app not automatically attempting a connect on open? Seems like it does it when opening, but maybe not when it's been sleeping? It would be great if the app attempted an auto-connect when switching to it. ### Steps to reproduce the issue 1. Open App (after being asleep or network change) 2. No library shown 3. Click connect, app connects to library ### Audiobookshelf version server v2.0.2 Android mobile app v0.9.41-beta ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:07:30 +02:00
adam closed this issue 2026-04-24 23:07:30 +02:00
Author
Owner

@advplyr commented on GitHub (Apr 28, 2022):

The app does try to auto-connect when it is opened. The only time it doesn't is if it previously failed to connect or was previously logged out.
It stores a "last server config" id and if that is set when launched then it will try to connect to it.

@advplyr commented on GitHub (Apr 28, 2022): The app does try to auto-connect when it is opened. The only time it doesn't is if it previously failed to connect or was previously logged out. It stores a "last server config" id and if that is set when launched then it will try to connect to it.
Author
Owner

@jt196 commented on GitHub (Apr 28, 2022):

Thanks for the update, assumed this was an integral part of how it worked. Casual testing seems to work on network switching. Feel free to close, or I'll do myself after a week or so of monitoring this.

@jt196 commented on GitHub (Apr 28, 2022): Thanks for the update, assumed this was an integral part of how it worked. Casual testing seems to work on network switching. Feel free to close, or I'll do myself after a week or so of monitoring this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#108