[Bug]: v2.13.3 socket disconnect in web client on match attempt #2246

Closed
opened 2026-04-25 00:05:25 +02:00 by adam · 2 comments
Owner

Originally created by @bushibot on GitHub (Sep 9, 2024).

What happened?

I have started getting socket disconnect errors when web client tries to do a full quick or full book match. This requires a server restart to clear. [v2.13.3
Web client is local going direct to Ip on host. Seems to be causing docker to hang/crash other session time too until server is reset.

What did you expect to happen?

match to complete or not but not hang the docker :)

Steps to reproduce the issue

  1. edit book, do quick match or book match from system tools

Audiobookshelf version

v2.13.3

How are you running audiobookshelf?

Docker

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?

Edge

Logs

2024-09-08 23:04:26.339

FATAL

[Server] Unhandled rejection: ReferenceError: getTitleIgnorePrefix is not defined, promise: Promise { <rejected> ReferenceError: getTitleIgnorePrefix is not defined at Scanner.quickMatchBookBuildUpdatePayload (/server/scanner/Scanner.js:232:31) at async Scanner.quickMatchLibraryItem (/server/scanner/Scanner.js:57:23) at async Scanner.matchLibraryItemsChunk (/server/scanner/Scanner.js:329:22) at async Scanner.matchLibraryItems (/server/scanner/Scanner.js:385:30) }

Additional Notes

No response

Originally created by @bushibot on GitHub (Sep 9, 2024). ### What happened? I have started getting socket disconnect errors when web client tries to do a full quick or full book match. This requires a server restart to clear. [v2.13.3 Web client is local going direct to Ip on host. Seems to be causing docker to hang/crash other session time too until server is reset. ### What did you expect to happen? match to complete or not but not hang the docker :) ### Steps to reproduce the issue 1. edit book, do quick match or book match from system tools ### Audiobookshelf version v2.13.3 ### How are you running audiobookshelf? Docker ### 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? Edge ### Logs ```shell 2024-09-08 23:04:26.339 FATAL [Server] Unhandled rejection: ReferenceError: getTitleIgnorePrefix is not defined, promise: Promise { <rejected> ReferenceError: getTitleIgnorePrefix is not defined at Scanner.quickMatchBookBuildUpdatePayload (/server/scanner/Scanner.js:232:31) at async Scanner.quickMatchLibraryItem (/server/scanner/Scanner.js:57:23) at async Scanner.matchLibraryItemsChunk (/server/scanner/Scanner.js:329:22) at async Scanner.matchLibraryItems (/server/scanner/Scanner.js:385:30) } ``` ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:05:25 +02:00
adam closed this issue 2026-04-25 00:05:25 +02:00
Author
Owner

@gstevenking commented on GitHub (Sep 9, 2024):

I'm having the same issue using Chrome. Also on version 2.13.3. t only seems to affect certain books in my case.

[2024-09-09 07:24:32.298] FATAL: [Server] Unhandled rejection: ReferenceError: getTitleIgnorePrefix is not defined, promise: Promise {
ReferenceError: getTitleIgnorePrefix is not defined
at Scanner.quickMatchBookBuildUpdatePayload (/server/scanner/Scanner.js:232:31)
at async Scanner.quickMatchLibraryItem (/server/scanner/Scanner.js:57:23)
at async ApiRouter.match (/server/controllers/LibraryItemController.js:447:23)

@gstevenking commented on GitHub (Sep 9, 2024): I'm having the same issue using Chrome. Also on version 2.13.3. t only seems to affect certain books in my case. [2024-09-09 07:24:32.298] FATAL: [Server] Unhandled rejection: ReferenceError: getTitleIgnorePrefix is not defined, promise: Promise { <rejected> ReferenceError: getTitleIgnorePrefix is not defined at Scanner.quickMatchBookBuildUpdatePayload (/server/scanner/Scanner.js:232:31) at async Scanner.quickMatchLibraryItem (/server/scanner/Scanner.js:57:23) at async ApiRouter.match (/server/controllers/LibraryItemController.js:447:23)
Author
Owner

@github-actions[bot] commented on GitHub (Sep 9, 2024):

Fixed in v2.13.4.

@github-actions[bot] commented on GitHub (Sep 9, 2024): Fixed in [v2.13.4](https://github.com/advplyr/audiobookshelf/releases/tag/v2.13.4).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2246