[Bug]: Web sessions appear to be broken? #2900

Closed
opened 2026-04-25 00:11:42 +02:00 by adam · 11 comments
Owner

Originally created by @Zageron on GitHub (Jul 16, 2025).

What happened?

Accessing my audiobookshelf instance through the web interface does not respect sessions.

  • If I refresh the page, or close/open tab, I am logged out.
  • If I go to audiobookshelf/config/users any of my users connecting via web do not show as online or have their last seen updated.
    • audiobookshelf/config/sessions page is up to date and correct.

What did you expect to happen?

I'd expect the same session behaviour of 2.25.

Steps to reproduce the issue

  1. Log in
    2a. View sessions page, observe you are not online.
    3b. Close tab or refresh
  2. Observe login page.

Audiobookshelf version

v2.26.0

How are you running audiobookshelf?

Other (list in "Additional Notes" box)

What OS is your Audiobookshelf server hosted from?

Linux

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

Firefox

Logs

Axios error 404 <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /audiobookshelf/api/api-keys</pre>
</body>
</html>

Additional Notes

Manjaro Linux, https://aur.archlinux.org/packages/audiobookshelf
Logs are a failure I noted, but they only occur when navigating to the API keys page.
Firefox 140.0.4 (64-bit)
Same behaviour observed in chrome.
The only cookie I have is connect.sid, which has a session lifetime and thus vanishes on occurance of bug.

Originally created by @Zageron on GitHub (Jul 16, 2025). ### What happened? Accessing my audiobookshelf instance through the web interface does not respect sessions. - If I refresh the page, or close/open tab, I am logged out. - If I go to `audiobookshelf/config/users` any of my users connecting via web do not show as online or have their last seen updated. - `audiobookshelf/config/sessions` page is up to date and correct. ### What did you expect to happen? I'd expect the same session behaviour of 2.25. ### Steps to reproduce the issue 1. Log in 2a. View sessions page, observe you are not online. 3b. Close tab or refresh 4. Observe login page. ### Audiobookshelf version v2.26.0 ### How are you running audiobookshelf? Other (list in "Additional Notes" box) ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Firefox ### Logs ```shell Axios error 404 <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> </head> <body> <pre>Cannot GET /audiobookshelf/api/api-keys</pre> </body> </html> ``` ### Additional Notes Manjaro Linux, https://aur.archlinux.org/packages/audiobookshelf Logs are a failure I noted, but they only occur when navigating to the API keys page. Firefox 140.0.4 (64-bit) Same behaviour observed in chrome. The only cookie I have is `connect.sid`, which has a session lifetime and thus vanishes on occurance of bug.
adam added the bug label 2026-04-25 00:11:42 +02:00
adam closed this issue 2026-04-25 00:11:42 +02:00
Author
Owner

@Zageron commented on GitHub (Jul 16, 2025):

Additional logs from journalctl

Jul 16 12:22:20 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:20.428] DEBUG: [ApiCacheManager] Cache miss: {"user":"zageron","url":"/libraries/643dfad7-89a8-4309-9695-692053d907b5/personalized?include=rssfeed,numEpisodesIncomplete,share"}
Jul 16 12:22:20 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:20.428] DEBUG: [ApiCacheManager] Caching with 1800000 ms TTL
Jul 16 12:22:20 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:20.769] INFO: [SocketAuthority] Unauth socket sak8XyZqgOR1UFm5AAOu disconnected (Reason: transport close)
Jul 16 12:22:21 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:21.454] INFO: [STREAM-CHECK] Check Files 3887 of 8819 44.08% Furthest Segment: 8675
Jul 16 12:22:21 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:21.454] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350
Jul 16 12:22:23 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:23.454] INFO: [STREAM-CHECK] Check Files 3906 of 8819 44.29% Furthest Segment: 8694
Jul 16 12:22:23 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:23.455] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350
Jul 16 12:22:25 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:25.455] INFO: [STREAM-CHECK] Check Files 3924 of 8819 44.49% Furthest Segment: 8712
Jul 16 12:22:25 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:25.455] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350
Jul 16 12:22:27 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:27.455] INFO: [STREAM-CHECK] Check Files 3944 of 8819 44.72% Furthest Segment: 8732
Jul 16 12:22:27 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:27.455] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350
Jul 16 12:22:29 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:29.455] INFO: [STREAM-CHECK] Check Files 3965 of 8819 44.96% Furthest Segment: 8753
Jul 16 12:22:29 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:29.455] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350
Jul 16 12:22:31 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:31.455] INFO: [STREAM-CHECK] Check Files 3985 of 8819 45.19% Furthest Segment: 8773
Jul 16 12:22:31 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:31.455] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350
Jul 16 12:22:33 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:33.456] INFO: [STREAM-CHECK] Check Files 4006 of 8819 45.42% Furthest Segment: 8794
Jul 16 12:22:33 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:33.456] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350
Jul 16 12:22:35 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:35.456] INFO: [STREAM-CHECK] Check Files 4024 of 8819 45.63% Furthest Segment: 8812
Jul 16 12:22:35 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:35.457] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350
Jul 16 12:22:35 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:35.875] INFO: [FFMPEG] Transcoding ended
Jul 16 12:22:50 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:50.724] INFO: [SocketAuthority] Unauth socket BWzNxeCF6owxNTKAAAOs disconnected (Reason: transport close)
Jul 16 12:22:57 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:57.523] INFO: [Auth] User "zageron" logged in from ip 100.108.50.51
Jul 16 12:22:57 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:57.615] INFO: [SocketAuthority] Socket Connected to /audiobookshelf/socket.io RJyMpeb_G0d1M9TZAAOw
Jul 16 12:22:57 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:57.617] DEBUG: [ApiCacheManager] count: 3 size: 219331
Jul 16 12:22:57 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:57.617] DEBUG: [ApiCacheManager] Cache hit: {"user":"zageron","url":"/libraries"}
Jul 16 12:22:57 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:57.628] ERROR: Cannot validate socket - invalid token
Jul 16 12:22:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:59.669] DEBUG: [ApiCacheManager] count: 3 size: 219331
Jul 16 12:22:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:59.669] DEBUG: [ApiCacheManager] Cache hit: {"user":"zageron","url":"/libraries/643dfad7-89a8-4309-9695-692053d907b5?include=filterdata"}
Jul 16 12:22:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:59.725] DEBUG: [ApiCacheManager] count: 3 size: 219331
Jul 16 12:22:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:59.725] DEBUG: [ApiCacheManager] Cache hit: {"user":"zageron","url":"/libraries/643dfad7-89a8-4309-9695-692053d907b5/personalized?include=rssfeed,numEpisodesIncomplete,share"}
Jul 16 12:23:52 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:52.636] INFO: [SocketAuthority] Unauth socket RJyMpeb_G0d1M9TZAAOw disconnected (Reason: transport close)
Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.301] INFO: [Auth] User "zageron" logged in from ip 100.108.50.51
Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.353] DEBUG: [ApiCacheManager] count: 3 size: 219331
Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.353] DEBUG: [ApiCacheManager] Cache hit: {"user":"zageron","url":"/libraries/643dfad7-89a8-4309-9695-692053d907b5?include=filterdata"}
Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.438] DEBUG: [ApiCacheManager] count: 3 size: 219331
Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.439] DEBUG: [ApiCacheManager] Cache hit: {"user":"zageron","url":"/libraries/643dfad7-89a8-4309-9695-692053d907b5/personalized?include=rssfeed,numEpisodesIncomplete,share"}
Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.442] DEBUG: [ApiCacheManager] count: 3 size: 219331
Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.442] DEBUG: [ApiCacheManager] Cache hit: {"user":"zageron","url":"/libraries"}
Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.443] INFO: [SocketAuthority] Socket Connected to /audiobookshelf/socket.io KO37CPBL_KlwNUQoAAOy
Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.701] ERROR: Cannot validate socket - invalid token
@Zageron commented on GitHub (Jul 16, 2025): Additional logs from journalctl ``` Jul 16 12:22:20 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:20.428] DEBUG: [ApiCacheManager] Cache miss: {"user":"zageron","url":"/libraries/643dfad7-89a8-4309-9695-692053d907b5/personalized?include=rssfeed,numEpisodesIncomplete,share"} Jul 16 12:22:20 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:20.428] DEBUG: [ApiCacheManager] Caching with 1800000 ms TTL Jul 16 12:22:20 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:20.769] INFO: [SocketAuthority] Unauth socket sak8XyZqgOR1UFm5AAOu disconnected (Reason: transport close) Jul 16 12:22:21 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:21.454] INFO: [STREAM-CHECK] Check Files 3887 of 8819 44.08% Furthest Segment: 8675 Jul 16 12:22:21 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:21.454] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350 Jul 16 12:22:23 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:23.454] INFO: [STREAM-CHECK] Check Files 3906 of 8819 44.29% Furthest Segment: 8694 Jul 16 12:22:23 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:23.455] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350 Jul 16 12:22:25 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:25.455] INFO: [STREAM-CHECK] Check Files 3924 of 8819 44.49% Furthest Segment: 8712 Jul 16 12:22:25 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:25.455] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350 Jul 16 12:22:27 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:27.455] INFO: [STREAM-CHECK] Check Files 3944 of 8819 44.72% Furthest Segment: 8732 Jul 16 12:22:27 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:27.455] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350 Jul 16 12:22:29 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:29.455] INFO: [STREAM-CHECK] Check Files 3965 of 8819 44.96% Furthest Segment: 8753 Jul 16 12:22:29 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:29.455] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350 Jul 16 12:22:31 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:31.455] INFO: [STREAM-CHECK] Check Files 3985 of 8819 45.19% Furthest Segment: 8773 Jul 16 12:22:31 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:31.455] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350 Jul 16 12:22:33 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:33.456] INFO: [STREAM-CHECK] Check Files 4006 of 8819 45.42% Furthest Segment: 8794 Jul 16 12:22:33 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:33.456] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350 Jul 16 12:22:35 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:35.456] INFO: [STREAM-CHECK] Check Files 4024 of 8819 45.63% Furthest Segment: 8812 Jul 16 12:22:35 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:35.457] DEBUG: [SocketAuthority] clientEmitter - no clients found for user 8f3fd8b4-4890-4fb4-91c4-c3201dedd350 Jul 16 12:22:35 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:35.875] INFO: [FFMPEG] Transcoding ended Jul 16 12:22:50 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:50.724] INFO: [SocketAuthority] Unauth socket BWzNxeCF6owxNTKAAAOs disconnected (Reason: transport close) Jul 16 12:22:57 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:57.523] INFO: [Auth] User "zageron" logged in from ip 100.108.50.51 Jul 16 12:22:57 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:57.615] INFO: [SocketAuthority] Socket Connected to /audiobookshelf/socket.io RJyMpeb_G0d1M9TZAAOw Jul 16 12:22:57 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:57.617] DEBUG: [ApiCacheManager] count: 3 size: 219331 Jul 16 12:22:57 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:57.617] DEBUG: [ApiCacheManager] Cache hit: {"user":"zageron","url":"/libraries"} Jul 16 12:22:57 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:57.628] ERROR: Cannot validate socket - invalid token Jul 16 12:22:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:59.669] DEBUG: [ApiCacheManager] count: 3 size: 219331 Jul 16 12:22:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:59.669] DEBUG: [ApiCacheManager] Cache hit: {"user":"zageron","url":"/libraries/643dfad7-89a8-4309-9695-692053d907b5?include=filterdata"} Jul 16 12:22:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:59.725] DEBUG: [ApiCacheManager] count: 3 size: 219331 Jul 16 12:22:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:22:59.725] DEBUG: [ApiCacheManager] Cache hit: {"user":"zageron","url":"/libraries/643dfad7-89a8-4309-9695-692053d907b5/personalized?include=rssfeed,numEpisodesIncomplete,share"} Jul 16 12:23:52 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:52.636] INFO: [SocketAuthority] Unauth socket RJyMpeb_G0d1M9TZAAOw disconnected (Reason: transport close) Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.301] INFO: [Auth] User "zageron" logged in from ip 100.108.50.51 Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.353] DEBUG: [ApiCacheManager] count: 3 size: 219331 Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.353] DEBUG: [ApiCacheManager] Cache hit: {"user":"zageron","url":"/libraries/643dfad7-89a8-4309-9695-692053d907b5?include=filterdata"} Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.438] DEBUG: [ApiCacheManager] count: 3 size: 219331 Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.439] DEBUG: [ApiCacheManager] Cache hit: {"user":"zageron","url":"/libraries/643dfad7-89a8-4309-9695-692053d907b5/personalized?include=rssfeed,numEpisodesIncomplete,share"} Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.442] DEBUG: [ApiCacheManager] count: 3 size: 219331 Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.442] DEBUG: [ApiCacheManager] Cache hit: {"user":"zageron","url":"/libraries"} Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.443] INFO: [SocketAuthority] Socket Connected to /audiobookshelf/socket.io KO37CPBL_KlwNUQoAAOy Jul 16 12:23:59 tiny-dev audiobookshelf[135759]: [2025-07-16 12:23:59.701] ERROR: Cannot validate socket - invalid token ```
Author
Owner

@Vito0912 commented on GitHub (Jul 16, 2025):

Re last seen: This is not reliable to determine if a user is online. There have been quite some issues about this.
If the user uses third party apps it does not get updated

@Vito0912 commented on GitHub (Jul 16, 2025): Re last seen: This is not reliable to determine if a user is online. There have been quite some issues about this. If the user uses third party apps it does not get updated
Author
Owner

@Zageron commented on GitHub (Jul 16, 2025):

Re last seen: This is not reliable to determine if a user is online. There have been quite some issues about this. If the user uses third party apps it does not get updated

This is a new development for people using the web application. None of my users use third party apps. My apple users use the web browser instead. These users have their "last seen" set to before I updated from 2.25 to 2.26, and I have confirmed that they are using web app to listen first hand as well as through sessions.

If they keep the tab focused, the application will reconnect without issue when they restore the browser. If they close the tab or refresh, they must log in again.

@Zageron commented on GitHub (Jul 16, 2025): > Re last seen: This is not reliable to determine if a user is online. There have been quite some issues about this. If the user uses third party apps it does not get updated This is a new development for people using the web application. None of my users use third party apps. My apple users use the web browser instead. These users have their "last seen" set to before I updated from 2.25 to 2.26, and I have confirmed that they are using web app to listen first hand as well as through sessions. If they keep the tab focused, the application will reconnect without issue when they restore the browser. If they close the tab or refresh, they must log in again.
Author
Owner

@Vito0912 commented on GitHub (Jul 16, 2025):

That's strange. With version 26, there was an update to the authentication system. One user had an invalid JWT secret, which caused similar symptoms. Maybe you can check if your stored secret is valid

@Vito0912 commented on GitHub (Jul 16, 2025): That's strange. With version 26, there was an update to the authentication system. One user had an invalid JWT secret, which caused similar symptoms. Maybe you can check if your stored secret is valid
Author
Owner

@Zageron commented on GitHub (Jul 17, 2025):

In the meantime, I've downgraded to 2.25.1 and it has resolved the issue for now.

That's strange. With version 26, there was an update to the authentication system. One user had an invalid JWT secret, which caused similar symptoms. Maybe you can check if your stored secret is valid

The token looked fine? I'll have to spin up another instance to verify the token question.

@Zageron commented on GitHub (Jul 17, 2025): In the meantime, I've downgraded to 2.25.1 and it has resolved the issue for now. > That's strange. With version 26, there was an update to the authentication system. One user had an invalid JWT secret, which caused similar symptoms. Maybe you can check if your stored secret is valid The token looked fine? I'll have to spin up another instance to verify the token question.
Author
Owner

@filcuk commented on GitHub (Jul 20, 2025):

I've had this issue on the android app, even though, per the warning on the change, I haven't changed env vars or the JWT key.
The app logs were returning the same

Cannot validate socket - invalid token

Rolling back release restored functionality.
Web client worked fine for me.

@filcuk commented on GitHub (Jul 20, 2025): I've had this issue **on the android app**, even though, per the warning on the [change](https://github.com/advplyr/audiobookshelf/discussions/4460), I haven't changed env vars or the JWT key. The app logs were returning the same ``` Cannot validate socket - invalid token ``` Rolling back release restored functionality. Web client worked fine for me.
Author
Owner

@bagerthomas commented on GitHub (Jul 24, 2025):

I have the same problem as you, filcuk.... :/
Not able to login through the Android app, but the web browser works fine.

Running ABS on Unraid server using Docker, and Nginx as proxy.

@bagerthomas commented on GitHub (Jul 24, 2025): I have the same problem as you, filcuk.... :/ Not able to login through the Android app, but the web browser works fine. Running ABS on Unraid server using Docker, and Nginx as proxy.
Author
Owner

@kusznier commented on GitHub (Jul 25, 2025):

I have the same issue. It pauses or crashes app during listening.
I'm also using AB on docker with Nginx proxy.
My library is quite large ~5k audiobooks. No issues on Android (or maybe really rare) but it happens often on Plappa app on IOS like every 20 minutes of listening or even more often. Sometimes it helps to remove network from plappa when downloaded ab.
I can provide more logs as this happens really often. It might have something in common with nginx proxy, but it's just my wild guess. It's configured with ssl cert forward to http.

[SocketAuthority] Socket 0diQ4qI6VBTCrFgVAAGB disconnected from client "root" after 327510ms (Reason: ping timeout)
2025-07-23 14:53:36.939
INFO
[SocketAuthority] Socket uWdPi86pceoXfEKwAAGL disconnected from client "root" after 350429ms (Reason: ping timeout)
2025-07-23 15:23:19.760
INFO
[SocketAuthority] Socket xihcvI7oVsIQ7xReAAGN disconnected from client "root" after 406916ms (Reason: ping timeout)
2025-07-23 15:59:25.401
INFO
[SocketAuthority] Socket i3Xhat0J1_wY6wcqAAGP disconnected from client "root" after 78639ms (Reason: transport close)
2025-07-23 15:59:44.026
INFO
[SocketAuthority] Socket -wldfgUIWZ6t_4LCAAGR disconnected from client "wujek" after 39119ms (Reason: transport close)
2025-07-23 16:03:53.209

@kusznier commented on GitHub (Jul 25, 2025): I have the same issue. It pauses or crashes app during listening. I'm also using AB on docker with Nginx proxy. My library is quite large ~5k audiobooks. No issues on Android (or maybe really rare) but it happens often on Plappa app on IOS like every 20 minutes of listening or even more often. Sometimes it helps to remove network from plappa when downloaded ab. I can provide more logs as this happens really often. It might have something in common with nginx proxy, but it's just my wild guess. It's configured with ssl cert forward to http. [SocketAuthority] Socket 0diQ4qI6VBTCrFgVAAGB disconnected from client "root" after 327510ms (Reason: ping timeout) 2025-07-23 14:53:36.939 INFO [SocketAuthority] Socket uWdPi86pceoXfEKwAAGL disconnected from client "root" after 350429ms (Reason: ping timeout) 2025-07-23 15:23:19.760 INFO [SocketAuthority] Socket xihcvI7oVsIQ7xReAAGN disconnected from client "root" after 406916ms (Reason: ping timeout) 2025-07-23 15:59:25.401 INFO [SocketAuthority] Socket i3Xhat0J1_wY6wcqAAGP disconnected from client "root" after 78639ms (Reason: transport close) 2025-07-23 15:59:44.026 INFO [SocketAuthority] Socket -wldfgUIWZ6t_4LCAAGR disconnected from client "wujek" after 39119ms (Reason: transport close) 2025-07-23 16:03:53.209
Author
Owner

@Zageron commented on GitHub (Aug 3, 2025):

Update for you.
I accidentally updated again today, and encountered all of the same issues.
However, incidentally my tailscale connection to my NAS was having issues so I restarted the system audiobookshelf lives on. Issues persisted, but I accidentally restarted the machine a second time.

This time, when I refreshed the Audiobookshelf page I finally got the message about the authentication method changing, and that I needed to log back in.

Now the explicit filter works, and I don't get logged out every time I refresh.

Thoughts:

  • audiobookshelf required more than one restart to complete the migration? Perhaps the AUR script is not properly restarting the audiobookshelf service on update?
@Zageron commented on GitHub (Aug 3, 2025): Update for you. I accidentally updated again today, and encountered all of the same issues. However, incidentally my tailscale connection to my NAS was having issues so I restarted the system audiobookshelf lives on. Issues persisted, but I accidentally restarted the machine a second time. This time, when I refreshed the Audiobookshelf page I finally got the message about the authentication method changing, and that I needed to log back in. Now the explicit filter works, and I don't get logged out every time I refresh. Thoughts: - audiobookshelf required more than one restart to complete the migration? Perhaps the AUR script is not properly restarting the audiobookshelf service on update?
Author
Owner

@filcuk commented on GitHub (Aug 19, 2025):

Make sure you get the latest app, there's a beta out v0.10
I have that and latest server v2.28, everything works perfectly.

* Apologies I see after re-reading that's not relevant to your update.

@filcuk commented on GitHub (Aug 19, 2025): Make sure you get the latest app, there's a beta out v0.10 I have that and latest server v2.28, everything works perfectly. \* Apologies I see after re-reading that's not relevant to your update.
Author
Owner

@Zageron commented on GitHub (Aug 25, 2025):

Forgot to close this issue.

@Zageron commented on GitHub (Aug 25, 2025): Forgot to close this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2900