advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
6.71k stars 473 forks source link

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

Closed bushibot closed 2 months ago

bushibot commented 2 months ago

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

gstevenking commented 2 months ago

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)
github-actions[bot] commented 2 months ago

Fixed in v2.13.4.