[Bug]: Unable to match books to services #1064

Closed
opened 2026-04-24 23:30:53 +02:00 by adam · 1 comment
Owner

Originally created by @DarrowLykos on GitHub (Apr 12, 2023).

Describe the issue

Running Audiobookshelf in Windows 10 Docker Desktop. Was working fine but an update to Docker meant I had to reinstall the ABS container. Managed to recover the settings, etc no problem but now I can't match books to any of the services. I thought it was my VPN but I've tried split tunnelling and turning the VPN off to see if that fixes things but it didn't.

I'm also able to access my ABS server from an external IP so I know that it can at least access the internet OK.

2023-04-11 21:40:16 Config /config /metadata
2023-04-11 21:40:17 [2023-04-11 20:40:16] INFO: === Starting Server ===
2023-04-11 21:40:17 [2023-04-11 20:40:16] INFO: [Server] Init v2.2.18
2023-04-11 21:40:17 [2023-04-11 20:40:16] INFO: [DB] 1 Collections Loaded
2023-04-11 21:40:17 [2023-04-11 20:40:16] INFO: [DB] 1 Libraries Loaded
2023-04-11 21:40:17 [2023-04-11 20:40:16] INFO: [DB] 1 Playlists Loaded
2023-04-11 21:40:50 [2023-04-11 20:40:49] ERROR: [Audible] query search error AxiosError: getaddrinfo EAI_AGAIN api.audible.com
2023-04-11 21:40:50 at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {
2023-04-11 21:40:50 hostname: 'api.audible.com',
2023-04-11 21:40:50 syscall: 'getaddrinfo',
2023-04-11 21:40:50 code: 'EAI_AGAIN',
2023-04-11 21:40:50 errno: -3001,
2023-04-11 21:40:50 config: {
2023-04-11 21:40:50 transitional: {
2023-04-11 21:40:50 silentJSONParsing: true,
2023-04-11 21:40:50 forcedJSONParsing: true,
2023-04-11 21:40:50 clarifyTimeoutError: false
2023-04-11 21:40:50 },
2023-04-11 21:40:50 adapter: [Function: httpAdapter],
2023-04-11 21:40:50 transformRequest: [ [Function: transformRequest] ],
2023-04-11 21:40:50 transformResponse: [ [Function: transformResponse] ],
2023-04-11 21:40:50 timeout: 0,
2023-04-11 21:40:50 xsrfCookieName: 'XSRF-TOKEN',
2023-04-11 21:40:50 xsrfHeaderName: 'X-XSRF-TOKEN',
2023-04-11 21:40:50 maxContentLength: -1,
2023-04-11 21:40:50 maxBodyLength: -1,
2023-04-11 21:40:50 env: { FormData: [Function] },
2023-04-11 21:40:50 validateStatus: [Function: validateStatus],
2023-04-11 21:40:50 headers: {
2023-04-11 21:40:50 Accept: 'application/json, text/plain, /',
2023-04-11 21:40:50 'User-Agent': 'axios/0.27.2'
2023-04-11 21:40:50 },
2023-04-11 21:40:50 method: 'get',
2023-04-11 21:40:50 url: 'https://api.audible.com/1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=The+Fall+of+Hyperion&author=Dan+Simmons',
2023-04-11 21:40:50 data: undefined
2023-04-11 21:40:50 },
2023-04-11 21:40:50 request: <ref *1> Writable {
2023-04-11 21:40:50 _writableState: WritableState {
2023-04-11 21:40:50 objectMode: false,
2023-04-11 21:40:50 highWaterMark: 16384,
2023-04-11 21:40:50 finalCalled: false,
2023-04-11 21:40:50 needDrain: false,
2023-04-11 21:40:50 ending: false,
2023-04-11 21:40:50 ended: false,
2023-04-11 21:40:50 finished: false,
2023-04-11 21:40:50 destroyed: false,
2023-04-11 21:40:50 decodeStrings: true,
2023-04-11 21:40:50 defaultEncoding: 'utf8',
2023-04-11 21:40:50 length: 0,
2023-04-11 21:40:50 writing: false,
2023-04-11 21:40:50 corked: 0,
2023-04-11 21:40:50 sync: true,
2023-04-11 21:40:50 bufferProcessing: false,
2023-04-11 21:40:50 onwrite: [Function: bound onwrite],
2023-04-11 21:40:50 writecb: null,
2023-04-11 21:40:50 writelen: 0,
2023-04-11 21:40:50 afterWriteTickInfo: null,
2023-04-11 21:40:50 buffered: [],
2023-04-11 21:40:50 bufferedIndex: 0,
2023-04-11 21:40:50 allBuffers: true,
2023-04-11 21:40:50 allNoop: true,
2023-04-11 21:40:50 pendingcb: 0,
2023-04-11 21:40:50 constructed: true,
2023-04-11 21:40:50 prefinished: false,
2023-04-11 21:40:50 errorEmitted: false,
2023-04-11 21:40:50 emitClose: true,
2023-04-11 21:40:50 autoDestroy: true,
2023-04-11 21:40:50 errored: null,
2023-04-11 21:40:50 closed: false,
2023-04-11 21:40:50 closeEmitted: false,
2023-04-11 21:40:50 [Symbol(kOnFinished)]: []
2023-04-11 21:40:50 },
2023-04-11 21:40:50 _events: [Object: null prototype] {
2023-04-11 21:40:50 response: [Function: handleResponse],
2023-04-11 21:40:50 error: [Function: handleRequestError],
2023-04-11 21:40:50 socket: [Function: handleRequestSocket]
2023-04-11 21:40:50 },
2023-04-11 21:40:50 _eventsCount: 3,
2023-04-11 21:40:50 _maxListeners: undefined,
2023-04-11 21:40:50 _options: {
2023-04-11 21:40:50 maxRedirects: 21,
2023-04-11 21:40:50 maxBodyLength: 10485760,
2023-04-11 21:40:50 protocol: 'https:',
2023-04-11 21:40:50 path: '/1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=The+Fall+of+Hyperion&author=Dan+Simmons',
2023-04-11 21:40:50 method: 'GET',
2023-04-11 21:40:50 headers: [Object],
2023-04-11 21:40:50 agent: undefined,
2023-04-11 21:40:50 agents: [Object],
2023-04-11 21:40:50 auth: undefined,
2023-04-11 21:40:50 hostname: 'api.audible.com',
2023-04-11 21:40:50 port: null,
2023-04-11 21:40:50 nativeProtocols: [Object],
2023-04-11 21:40:50 pathname: '/1.0/catalog/products',
2023-04-11 21:40:50 search: '?num_results=10&products_sort_by=Relevance&title=The+Fall+of+Hyperion&author=Dan+Simmons'
2023-04-11 21:40:50 },
2023-04-11 21:40:50 _ended: true,
2023-04-11 21:40:50 _ending: true,
2023-04-11 21:40:50 _redirectCount: 0,
2023-04-11 21:40:50 _redirects: [],
2023-04-11 21:40:50 _requestBodyLength: 0,
2023-04-11 21:40:50 _requestBodyBuffers: [],
2023-04-11 21:40:50 _onNativeResponse: [Function (anonymous)],
2023-04-11 21:40:50 _currentRequest: ClientRequest {
2023-04-11 21:40:50 _events: [Object: null prototype],
2023-04-11 21:40:50 _eventsCount: 7,
2023-04-11 21:40:50 _maxListeners: undefined,
2023-04-11 21:40:50 outputData: [],
2023-04-11 21:40:50 outputSize: 0,
2023-04-11 21:40:50 writable: true,
2023-04-11 21:40:50 destroyed: false,
2023-04-11 21:40:50 _last: true,
2023-04-11 21:40:50 chunkedEncoding: false,
2023-04-11 21:40:50 shouldKeepAlive: false,
2023-04-11 21:40:50 maxRequestsOnConnectionReached: false,
2023-04-11 21:40:50 _defaultKeepAlive: true,
2023-04-11 21:40:50 useChunkedEncodingByDefault: false,
2023-04-11 21:40:50 sendDate: false,
2023-04-11 21:40:50 _removedConnection: false,
2023-04-11 21:40:50 _removedContLen: false,
2023-04-11 21:40:50 _removedTE: false,
2023-04-11 21:40:50 strictContentLength: false,
2023-04-11 21:40:50 _contentLength: 0,
2023-04-11 21:40:50 _hasBody: true,
2023-04-11 21:40:50 _trailer: '',
2023-04-11 21:40:50 finished: true,
2023-04-11 21:40:50 _headerSent: true,
2023-04-11 21:40:50 _closed: false,
2023-04-11 21:40:50 socket: [TLSSocket],
2023-04-11 21:40:50 _header: 'GET /1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=The+Fall+of+Hyperion&author=Dan+Simmons HTTP/1.1\r\n' +
2023-04-11 21:40:50 'Accept: application/json, text/plain, /\r\n' +
2023-04-11 21:40:50 'User-Agent: axios/0.27.2\r\n' +
2023-04-11 21:40:50 'Host: api.audible.com\r\n' +
2023-04-11 21:40:50 'Connection: close\r\n' +
2023-04-11 21:40:50 '\r\n',
2023-04-11 21:40:50 _keepAliveTimeout: 0,
2023-04-11 21:40:50 _onPendingData: [Function: nop],
2023-04-11 21:40:50 agent: [Agent],
2023-04-11 21:40:50 socketPath: undefined,
2023-04-11 21:40:50 method: 'GET',
2023-04-11 21:40:50 maxHeaderSize: undefined,
2023-04-11 21:40:50 insecureHTTPParser: undefined,
2023-04-11 21:40:50 path: '/1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=The+Fall+of+Hyperion&author=Dan+Simmons',
2023-04-11 21:40:50 _ended: false,
2023-04-11 21:40:50 res: null,
2023-04-11 21:40:50 aborted: false,
2023-04-11 21:40:50 timeoutCb: null,
2023-04-11 21:40:50 upgradeOrConnect: false,
2023-04-11 21:40:50 parser: null,
2023-04-11 21:40:50 maxHeadersCount: null,
2023-04-11 21:40:50 reusedSocket: false,
2023-04-11 21:40:50 host: 'api.audible.com',
2023-04-11 21:40:50 protocol: 'https:',
2023-04-11 21:40:50 _redirectable: [Circular *1],
2023-04-11 21:40:50 [Symbol(kCapture)]: false,
2023-04-11 21:40:50 [Symbol(kBytesWritten)]: 0,
2023-04-11 21:40:50 [Symbol(kEndCalled)]: true,
2023-04-11 21:40:50 [Symbol(kNeedDrain)]: false,
2023-04-11 21:40:50 [Symbol(corked)]: 0,
2023-04-11 21:40:50 [Symbol(kOutHeaders)]: [Object: null prototype],
2023-04-11 21:40:50 [Symbol(kUniqueHeaders)]: null
2023-04-11 21:40:50 },
2023-04-11 21:40:50 _currentUrl: 'https://api.audible.com/1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=The+Fall+of+Hyperion&author=Dan+Simmons',
2023-04-11 21:40:50 [Symbol(kCapture)]: false
2023-04-11 21:40:50 }
2023-04-11 21:40:50 } (Audible.js:110)

Steps to reproduce the issue

  1. Attempt to match audiobook on any service
  2. Returns no matches

Audiobookshelf version

2.2.18

How are you running audiobookshelf?

Docker

Originally created by @DarrowLykos on GitHub (Apr 12, 2023). ### Describe the issue Running Audiobookshelf in Windows 10 Docker Desktop. Was working fine but an update to Docker meant I had to reinstall the ABS container. Managed to recover the settings, etc no problem but now I can't match books to any of the services. I thought it was my VPN but I've tried split tunnelling and turning the VPN off to see if that fixes things but it didn't. I'm also able to access my ABS server from an external IP so I know that it can at least access the internet OK. 2023-04-11 21:40:16 Config /config /metadata 2023-04-11 21:40:17 [2023-04-11 20:40:16] INFO: === Starting Server === 2023-04-11 21:40:17 [2023-04-11 20:40:16] INFO: [Server] Init v2.2.18 2023-04-11 21:40:17 [2023-04-11 20:40:16] INFO: [DB] 1 Collections Loaded 2023-04-11 21:40:17 [2023-04-11 20:40:16] INFO: [DB] 1 Libraries Loaded 2023-04-11 21:40:17 [2023-04-11 20:40:16] INFO: [DB] 1 Playlists Loaded 2023-04-11 21:40:50 [2023-04-11 20:40:49] ERROR: [Audible] query search error AxiosError: getaddrinfo EAI_AGAIN api.audible.com 2023-04-11 21:40:50 at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) { 2023-04-11 21:40:50 hostname: 'api.audible.com', 2023-04-11 21:40:50 syscall: 'getaddrinfo', 2023-04-11 21:40:50 code: 'EAI_AGAIN', 2023-04-11 21:40:50 errno: -3001, 2023-04-11 21:40:50 config: { 2023-04-11 21:40:50 transitional: { 2023-04-11 21:40:50 silentJSONParsing: true, 2023-04-11 21:40:50 forcedJSONParsing: true, 2023-04-11 21:40:50 clarifyTimeoutError: false 2023-04-11 21:40:50 }, 2023-04-11 21:40:50 adapter: [Function: httpAdapter], 2023-04-11 21:40:50 transformRequest: [ [Function: transformRequest] ], 2023-04-11 21:40:50 transformResponse: [ [Function: transformResponse] ], 2023-04-11 21:40:50 timeout: 0, 2023-04-11 21:40:50 xsrfCookieName: 'XSRF-TOKEN', 2023-04-11 21:40:50 xsrfHeaderName: 'X-XSRF-TOKEN', 2023-04-11 21:40:50 maxContentLength: -1, 2023-04-11 21:40:50 maxBodyLength: -1, 2023-04-11 21:40:50 env: { FormData: [Function] }, 2023-04-11 21:40:50 validateStatus: [Function: validateStatus], 2023-04-11 21:40:50 headers: { 2023-04-11 21:40:50 Accept: 'application/json, text/plain, */*', 2023-04-11 21:40:50 'User-Agent': 'axios/0.27.2' 2023-04-11 21:40:50 }, 2023-04-11 21:40:50 method: 'get', 2023-04-11 21:40:50 url: 'https://api.audible.com/1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=The+Fall+of+Hyperion&author=Dan+Simmons', 2023-04-11 21:40:50 data: undefined 2023-04-11 21:40:50 }, 2023-04-11 21:40:50 request: <ref *1> Writable { 2023-04-11 21:40:50 _writableState: WritableState { 2023-04-11 21:40:50 objectMode: false, 2023-04-11 21:40:50 highWaterMark: 16384, 2023-04-11 21:40:50 finalCalled: false, 2023-04-11 21:40:50 needDrain: false, 2023-04-11 21:40:50 ending: false, 2023-04-11 21:40:50 ended: false, 2023-04-11 21:40:50 finished: false, 2023-04-11 21:40:50 destroyed: false, 2023-04-11 21:40:50 decodeStrings: true, 2023-04-11 21:40:50 defaultEncoding: 'utf8', 2023-04-11 21:40:50 length: 0, 2023-04-11 21:40:50 writing: false, 2023-04-11 21:40:50 corked: 0, 2023-04-11 21:40:50 sync: true, 2023-04-11 21:40:50 bufferProcessing: false, 2023-04-11 21:40:50 onwrite: [Function: bound onwrite], 2023-04-11 21:40:50 writecb: null, 2023-04-11 21:40:50 writelen: 0, 2023-04-11 21:40:50 afterWriteTickInfo: null, 2023-04-11 21:40:50 buffered: [], 2023-04-11 21:40:50 bufferedIndex: 0, 2023-04-11 21:40:50 allBuffers: true, 2023-04-11 21:40:50 allNoop: true, 2023-04-11 21:40:50 pendingcb: 0, 2023-04-11 21:40:50 constructed: true, 2023-04-11 21:40:50 prefinished: false, 2023-04-11 21:40:50 errorEmitted: false, 2023-04-11 21:40:50 emitClose: true, 2023-04-11 21:40:50 autoDestroy: true, 2023-04-11 21:40:50 errored: null, 2023-04-11 21:40:50 closed: false, 2023-04-11 21:40:50 closeEmitted: false, 2023-04-11 21:40:50 [Symbol(kOnFinished)]: [] 2023-04-11 21:40:50 }, 2023-04-11 21:40:50 _events: [Object: null prototype] { 2023-04-11 21:40:50 response: [Function: handleResponse], 2023-04-11 21:40:50 error: [Function: handleRequestError], 2023-04-11 21:40:50 socket: [Function: handleRequestSocket] 2023-04-11 21:40:50 }, 2023-04-11 21:40:50 _eventsCount: 3, 2023-04-11 21:40:50 _maxListeners: undefined, 2023-04-11 21:40:50 _options: { 2023-04-11 21:40:50 maxRedirects: 21, 2023-04-11 21:40:50 maxBodyLength: 10485760, 2023-04-11 21:40:50 protocol: 'https:', 2023-04-11 21:40:50 path: '/1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=The+Fall+of+Hyperion&author=Dan+Simmons', 2023-04-11 21:40:50 method: 'GET', 2023-04-11 21:40:50 headers: [Object], 2023-04-11 21:40:50 agent: undefined, 2023-04-11 21:40:50 agents: [Object], 2023-04-11 21:40:50 auth: undefined, 2023-04-11 21:40:50 hostname: 'api.audible.com', 2023-04-11 21:40:50 port: null, 2023-04-11 21:40:50 nativeProtocols: [Object], 2023-04-11 21:40:50 pathname: '/1.0/catalog/products', 2023-04-11 21:40:50 search: '?num_results=10&products_sort_by=Relevance&title=The+Fall+of+Hyperion&author=Dan+Simmons' 2023-04-11 21:40:50 }, 2023-04-11 21:40:50 _ended: true, 2023-04-11 21:40:50 _ending: true, 2023-04-11 21:40:50 _redirectCount: 0, 2023-04-11 21:40:50 _redirects: [], 2023-04-11 21:40:50 _requestBodyLength: 0, 2023-04-11 21:40:50 _requestBodyBuffers: [], 2023-04-11 21:40:50 _onNativeResponse: [Function (anonymous)], 2023-04-11 21:40:50 _currentRequest: ClientRequest { 2023-04-11 21:40:50 _events: [Object: null prototype], 2023-04-11 21:40:50 _eventsCount: 7, 2023-04-11 21:40:50 _maxListeners: undefined, 2023-04-11 21:40:50 outputData: [], 2023-04-11 21:40:50 outputSize: 0, 2023-04-11 21:40:50 writable: true, 2023-04-11 21:40:50 destroyed: false, 2023-04-11 21:40:50 _last: true, 2023-04-11 21:40:50 chunkedEncoding: false, 2023-04-11 21:40:50 shouldKeepAlive: false, 2023-04-11 21:40:50 maxRequestsOnConnectionReached: false, 2023-04-11 21:40:50 _defaultKeepAlive: true, 2023-04-11 21:40:50 useChunkedEncodingByDefault: false, 2023-04-11 21:40:50 sendDate: false, 2023-04-11 21:40:50 _removedConnection: false, 2023-04-11 21:40:50 _removedContLen: false, 2023-04-11 21:40:50 _removedTE: false, 2023-04-11 21:40:50 strictContentLength: false, 2023-04-11 21:40:50 _contentLength: 0, 2023-04-11 21:40:50 _hasBody: true, 2023-04-11 21:40:50 _trailer: '', 2023-04-11 21:40:50 finished: true, 2023-04-11 21:40:50 _headerSent: true, 2023-04-11 21:40:50 _closed: false, 2023-04-11 21:40:50 socket: [TLSSocket], 2023-04-11 21:40:50 _header: 'GET /1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=The+Fall+of+Hyperion&author=Dan+Simmons HTTP/1.1\r\n' + 2023-04-11 21:40:50 'Accept: application/json, text/plain, */*\r\n' + 2023-04-11 21:40:50 'User-Agent: axios/0.27.2\r\n' + 2023-04-11 21:40:50 'Host: api.audible.com\r\n' + 2023-04-11 21:40:50 'Connection: close\r\n' + 2023-04-11 21:40:50 '\r\n', 2023-04-11 21:40:50 _keepAliveTimeout: 0, 2023-04-11 21:40:50 _onPendingData: [Function: nop], 2023-04-11 21:40:50 agent: [Agent], 2023-04-11 21:40:50 socketPath: undefined, 2023-04-11 21:40:50 method: 'GET', 2023-04-11 21:40:50 maxHeaderSize: undefined, 2023-04-11 21:40:50 insecureHTTPParser: undefined, 2023-04-11 21:40:50 path: '/1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=The+Fall+of+Hyperion&author=Dan+Simmons', 2023-04-11 21:40:50 _ended: false, 2023-04-11 21:40:50 res: null, 2023-04-11 21:40:50 aborted: false, 2023-04-11 21:40:50 timeoutCb: null, 2023-04-11 21:40:50 upgradeOrConnect: false, 2023-04-11 21:40:50 parser: null, 2023-04-11 21:40:50 maxHeadersCount: null, 2023-04-11 21:40:50 reusedSocket: false, 2023-04-11 21:40:50 host: 'api.audible.com', 2023-04-11 21:40:50 protocol: 'https:', 2023-04-11 21:40:50 _redirectable: [Circular *1], 2023-04-11 21:40:50 [Symbol(kCapture)]: false, 2023-04-11 21:40:50 [Symbol(kBytesWritten)]: 0, 2023-04-11 21:40:50 [Symbol(kEndCalled)]: true, 2023-04-11 21:40:50 [Symbol(kNeedDrain)]: false, 2023-04-11 21:40:50 [Symbol(corked)]: 0, 2023-04-11 21:40:50 [Symbol(kOutHeaders)]: [Object: null prototype], 2023-04-11 21:40:50 [Symbol(kUniqueHeaders)]: null 2023-04-11 21:40:50 }, 2023-04-11 21:40:50 _currentUrl: 'https://api.audible.com/1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=The+Fall+of+Hyperion&author=Dan+Simmons', 2023-04-11 21:40:50 [Symbol(kCapture)]: false 2023-04-11 21:40:50 } 2023-04-11 21:40:50 } (Audible.js:110) ### Steps to reproduce the issue 1. Attempt to match audiobook on any service 2. Returns no matches ### Audiobookshelf version 2.2.18 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:30:53 +02:00
adam closed this issue 2026-04-24 23:30:53 +02:00
Author
Owner

@advplyr commented on GitHub (Apr 12, 2023):

Try using other match providers. If your docker container can't make outgoing requests then this is an issue with your setup and not a bug in Abs.
Try using google books to match or if you have a podcast library setup try searching for podcasts.

@advplyr commented on GitHub (Apr 12, 2023): Try using other match providers. If your docker container can't make outgoing requests then this is an issue with your setup and not a bug in Abs. Try using google books to match or if you have a podcast library setup try searching for podcasts.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1064