[Bug]: Playback in Android randomly does not work #3250

Closed
opened 2026-04-25 00:14:31 +02:00 by adam · 1 comment
Owner

Originally created by @jarrodCoombes on GitHub (Mar 4, 2026).

What happened?

Over the last few days playback on Android has been hot or miss, this morning it would not play at all.

Either it just spins and never plays, or it pops up with an error "Failed to get library item from server"

When I go to the web interface via the nginx reverse proxy, and try to login all I get is a spinning icon, the login fields never show up, using the local (direct) IP does load the web ui and I can login.

What did you expect to happen?

I expected playback to work as normal.

Steps to reproduce the issue

  1. Open the app, find the media and tap on it, either you get an error here or
  2. You press stream and it either errors out or just spins forever.

Audiobookshelf version

2.32.1

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Other (list in "Additional Notes" box)

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Other (list in "Additional Notes" box)

Logs

[2026-03-04 07:06:55.878] INFO: Received ping
[2026-03-04 07:08:56.420] INFO: [SocketAuthority] Socket Connected to /socket.io W7YQVkUwGPXVDSgkAAC7
[2026-03-04 07:09:55.987] INFO: [PlaybackSessionManager] startSession: Closing open session "The Long Earth" for user "jarrod" (Device: Pixel 10 Pro XL SDK 36 / v0.12.0-beta)
[2026-03-04 07:09:56.279] INFO: Closing Stream e1e061d7-4276-4e21-b542-659bd9c07841
[2026-03-04 07:09:58.646] INFO: Deleted session data /metadata/streams/e1e061d7-4276-4e21-b542-659bd9c07841
[2026-03-04 07:11:28.417] INFO: [SocketAuthority] Socket W7YQVkUwGPXVDSgkAAC7 disconnected from client "jarrod" after 151997ms (Reason: transport close)
[2026-03-04 07:11:32.105] INFO: [SocketAuthority] Socket Connected to /socket.io hGER6UbcmnctHG0tAAC9
[2026-03-04 07:13:58.111] INFO: [SocketAuthority] Socket hGER6UbcmnctHG0tAAC9 disconnected from client "jarrod" after 146006ms (Reason: ping timeout)
[2026-03-04 07:14:38.967] INFO: [SocketAuthority] Socket Connected to /socket.io RHiqm-RCls1-RFm6AAC_
[2026-03-04 07:16:39.389] INFO: [SocketAuthority] Socket RHiqm-RCls1-RFm6AAC_ disconnected from client "jarrod" after 120422ms (Reason: ping timeout)
[2026-03-04 09:08:20.759] INFO: [SocketAuthority] Socket Connected to /socket.io _dFNn87lXnK8jDqpAADB
[2026-03-04 09:08:20.862] ERROR: Cannot validate socket - invalid token
[2026-03-04 09:08:33.447] INFO: [PlaybackSessionManager] startSession: Closing open session "The Long Earth" for user "jarrod" (Device: Pixel 10 Pro XL SDK 36 / v0.12.0-beta)
[2026-03-04 09:08:51.372] INFO: [SocketAuthority] Socket _dFNn87lXnK8jDqpAADB disconnected from client "jarrod" after 30613ms (Reason: transport close)
[2026-03-04 09:09:04.219] INFO: [SocketAuthority] Socket Connected to /socket.io Wa0ygpCZ1q_2Qb0jAADD
[2026-03-04 09:09:18.336] INFO: [PlaybackSessionManager] startSession: Closing open session "The Long Earth" for user "jarrod" (Device: Pixel 10 Pro XL SDK 36 / v0.12.0-beta)
[2026-03-04 09:09:33.899] INFO: [SocketAuthority] Socket Wa0ygpCZ1q_2Qb0jAADD disconnected from client "jarrod" after 29681ms (Reason: transport close)

Additional Notes

Docker on Unraid, playing from the Android app v0.12.0

The server is exposed to the internet via an NGINX reverse proxy with a valid let's encrypt certificate.

Restarting the docker container does not make a difference.

Originally created by @jarrodCoombes on GitHub (Mar 4, 2026). ### What happened? Over the last few days playback on Android has been hot or miss, this morning it would not play at all. Either it just spins and never plays, or it pops up with an error "Failed to get library item from server" When I go to the web interface via the nginx reverse proxy, and try to login all I get is a spinning icon, the login fields never show up, using the local (direct) IP does load the web ui and I can login. ### What did you expect to happen? I expected playback to work as normal. ### Steps to reproduce the issue 1. Open the app, find the media and tap on it, either you get an error here or 2. You press stream and it either errors out or just spins forever. ### Audiobookshelf version 2.32.1 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Other (list in "Additional Notes" box) ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Other (list in "Additional Notes" box) ### Logs ```shell [2026-03-04 07:06:55.878] INFO: Received ping [2026-03-04 07:08:56.420] INFO: [SocketAuthority] Socket Connected to /socket.io W7YQVkUwGPXVDSgkAAC7 [2026-03-04 07:09:55.987] INFO: [PlaybackSessionManager] startSession: Closing open session "The Long Earth" for user "jarrod" (Device: Pixel 10 Pro XL SDK 36 / v0.12.0-beta) [2026-03-04 07:09:56.279] INFO: Closing Stream e1e061d7-4276-4e21-b542-659bd9c07841 [2026-03-04 07:09:58.646] INFO: Deleted session data /metadata/streams/e1e061d7-4276-4e21-b542-659bd9c07841 [2026-03-04 07:11:28.417] INFO: [SocketAuthority] Socket W7YQVkUwGPXVDSgkAAC7 disconnected from client "jarrod" after 151997ms (Reason: transport close) [2026-03-04 07:11:32.105] INFO: [SocketAuthority] Socket Connected to /socket.io hGER6UbcmnctHG0tAAC9 [2026-03-04 07:13:58.111] INFO: [SocketAuthority] Socket hGER6UbcmnctHG0tAAC9 disconnected from client "jarrod" after 146006ms (Reason: ping timeout) [2026-03-04 07:14:38.967] INFO: [SocketAuthority] Socket Connected to /socket.io RHiqm-RCls1-RFm6AAC_ [2026-03-04 07:16:39.389] INFO: [SocketAuthority] Socket RHiqm-RCls1-RFm6AAC_ disconnected from client "jarrod" after 120422ms (Reason: ping timeout) [2026-03-04 09:08:20.759] INFO: [SocketAuthority] Socket Connected to /socket.io _dFNn87lXnK8jDqpAADB [2026-03-04 09:08:20.862] ERROR: Cannot validate socket - invalid token [2026-03-04 09:08:33.447] INFO: [PlaybackSessionManager] startSession: Closing open session "The Long Earth" for user "jarrod" (Device: Pixel 10 Pro XL SDK 36 / v0.12.0-beta) [2026-03-04 09:08:51.372] INFO: [SocketAuthority] Socket _dFNn87lXnK8jDqpAADB disconnected from client "jarrod" after 30613ms (Reason: transport close) [2026-03-04 09:09:04.219] INFO: [SocketAuthority] Socket Connected to /socket.io Wa0ygpCZ1q_2Qb0jAADD [2026-03-04 09:09:18.336] INFO: [PlaybackSessionManager] startSession: Closing open session "The Long Earth" for user "jarrod" (Device: Pixel 10 Pro XL SDK 36 / v0.12.0-beta) [2026-03-04 09:09:33.899] INFO: [SocketAuthority] Socket Wa0ygpCZ1q_2Qb0jAADD disconnected from client "jarrod" after 29681ms (Reason: transport close) ``` ### Additional Notes Docker on Unraid, playing from the Android app v0.12.0 The server is exposed to the internet via an NGINX reverse proxy with a valid let's encrypt certificate. Restarting the docker container does not make a difference.
adam added the bug label 2026-04-25 00:14:31 +02:00
adam closed this issue 2026-04-25 00:14:31 +02:00
Author
Owner

@jarrodCoombes commented on GitHub (Mar 4, 2026):

I did some more digging and figured I should check to see if there are any update for nginx that I am missing. Turns out the data drive was completely out of space. I did some cleanup on that server, and freed up some space.

This appears to have fixed the issue, so I am going to close this for now. If it turns out this did not fix the issue, then I'll re-open with more details.

@jarrodCoombes commented on GitHub (Mar 4, 2026): I did some more digging and figured I should check to see if there are any update for nginx that I am missing. Turns out the data drive was completely out of space. I did some cleanup on that server, and freed up some space. This appears to have fixed the issue, so I am going to close this for now. If it turns out this did not fix the issue, then I'll re-open with more details.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3250