[Bug]: Book match does not work #317

Closed
opened 2026-04-24 23:04:36 +02:00 by adam · 7 comments
Owner

Originally created by @h78b7bdfb6737g on GitHub (Apr 28, 2022).

Describe the issue

When I try and use the 'Match' function, it never finds the book no matter what service I use or what the book is.

The debug errors I see are:
[GoogleBooks] Volume search error Error: getaddrinfo EAI_AGAIN www.googleapis.com
[Audible] search error Error: getaddrinfo EAI_AGAIN api.audible.com
[iTunes] search request error Error: getaddrinfo EAI_AGAIN itunes.apple.com
OpenLib Search Error 404

Steps to reproduce the issue

Audiobookshelf version

2.0.3

How are you running audiobookshelf?

Docker

Originally created by @h78b7bdfb6737g on GitHub (Apr 28, 2022). ### Describe the issue When I try and use the 'Match' function, it never finds the book no matter what service I use or what the book is. The debug errors I see are: [GoogleBooks] Volume search error Error: getaddrinfo EAI_AGAIN www.googleapis.com [Audible] search error Error: getaddrinfo EAI_AGAIN api.audible.com [iTunes] search request error Error: getaddrinfo EAI_AGAIN itunes.apple.com OpenLib Search Error 404 ### Steps to reproduce the issue 1. ### Audiobookshelf version 2.0.3 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:04:36 +02:00
adam closed this issue 2026-04-24 23:04:36 +02:00
Author
Owner

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

Can you share a screenshot of the match you are trying to make?

@tvories commented on GitHub (Apr 28, 2022): Can you share a screenshot of the match you are trying to make?
Author
Owner

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

Alt text

@h78b7bdfb6737g commented on GitHub (Apr 28, 2022): ![Alt text](https://i.ibb.co/HTWFCy5/ss.jpg)
Author
Owner

@szemlicka commented on GitHub (Apr 29, 2022):

Search works fine for me.

@szemlicka commented on GitHub (Apr 29, 2022): Search works fine for me.
Author
Owner

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

Looks like you may have something blocking the outgoing requests. Search is working well.

@advplyr commented on GitHub (Apr 29, 2022): Looks like you may have something blocking the outgoing requests. Search is working well.
Author
Owner

@jrhedman commented on GitHub (Aug 7, 2022):

I know this has been closed but I wanted to share my own findings as I'm sure this bug will come up again as I just spent this morning dealing with it.

For my instance, it came from my firewall settings within my Synology NAS where my docker container is running. Until I disabled the firewall I enabled on the NAS. This is also why other people aren't running into this error as it's Synology specific.

I'm not sure what ports I'll need to open on the Synology Firewall yet but once I do, I'll list it here in case other people need this as well.
Edit 1: I have found that explicitly opening the audiobookshelf port open is a must for the matching function to work. This way one doesn't need to disable their entire firewall.

Edit 2: Unfortunately my fix was not working and I had instead left the firewall off. So no, I'm still not sure why Audiobookshelf cannot pull book data with my current firewall settings.

@jrhedman commented on GitHub (Aug 7, 2022): I know this has been closed but I wanted to share my own findings as I'm sure this bug will come up again as I just spent this morning dealing with it. For my instance, it came from my firewall settings within my Synology NAS where my docker container is running. Until I disabled the firewall I enabled on the NAS. This is also why other people aren't running into this error as it's Synology specific. ~I'm not sure what ports I'll need to open on the Synology Firewall yet but once I do, I'll list it here in case other people need this as well.~ **Edit 1:** ~I have found that explicitly opening the audiobookshelf port open is a must for the matching function to work. This way one doesn't need to disable their entire firewall.~ **Edit 2:** Unfortunately my fix was _not_ working and I had instead left the firewall off. So no, I'm still not sure why Audiobookshelf cannot pull book data with my current firewall settings.
Author
Owner

@advplyr commented on GitHub (Aug 7, 2022):

Great thanks, we can add this to the readme/docs

@advplyr commented on GitHub (Aug 7, 2022): Great thanks, we can add this to the readme/docs
Author
Owner

@bbrotherton commented on GitHub (May 16, 2023):

For any fellow wanderers, who are searching for an answer to this issue: I found an easy change that worked for me. I set up a firewall rule to allow traffic from my Docker bridge network access on my Synology NAS.

  1. Go to Control Panel > Security > Firewall (tab)
  2. Click "Edit Rules" button
  3. Click "Create" button to build the rule

I added a rule to allow all ports and all protocols for the IP range that the Docker bridge network uses.

@bbrotherton commented on GitHub (May 16, 2023): For any fellow wanderers, who are searching for an answer to this issue: I found an easy change that worked for me. I set up a firewall rule to allow traffic from my Docker bridge network access on my Synology NAS. 1. Go to Control Panel > Security > Firewall (tab) 2. Click "Edit Rules" button 3. Click "Create" button to build the rule I added a rule to allow all ports and all protocols for the IP range that the Docker bridge network uses.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#317