bobarr icon indicating copy to clipboard operation
bobarr copied to clipboard

getaddrinfo ENOT FOUND

Open Destrocamil opened this issue 5 years ago • 4 comments

Been unable to add any movie to my library. Firstly, it says "getaddrinfo ENOT FOUND" then "duplicate key value violates unique constraint "UQ_e67ea82f6973f5b9a6747fba346". So, from what I understand, it faces problems to connect to Redis but somehow something is stored in the DB. Transmission does not start any download.

And one note more: can't Dowload Tv shows, appears like a "forbiden" sign on the "Download" button.

Let me know if I can help

EDIT: more info

bobarr-api | 2020-09-01 03:09:08.660 [info] LibraryService - track movie - {"tmdbId":338762} bobarr-api | 2020-09-01 03:09:08.691 [info] JobsService - add download movie job - {"movieId":8} bobarr-api | 2020-09-01 03:09:08.693 [error] ExceptionsHandler - getaddrinfo ENOTFOUND redis - {"trace":"Error: getaddrinfo ENOTFOUND redis\n at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26)"}

and then that error persist

bobarr-api | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) bobarr-api | [ioredis] Unhandled error event: Error: getaddrinfo ENOTFOUND redis bobarr-api | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) bobarr-api | [ioredis] Unhandled error event: Error: getaddrinfo ENOTFOUND redis bobarr-api | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) bobarr-api | [ioredis] Unhandled error event: Error: getaddrinfo ENOTFOUND redis bobarr-api | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) bobarr-api | [ioredis] Unhandled error event: Error: getaddrinfo ENOTFOUND redis bobarr-api | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) bobarr-api | [ioredis] Unhandled error event: Error: getaddrinfo ENOTFOUND redis bobarr-api | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) bobarr-api | [ioredis] Unhandled error event: Error: getaddrinfo ENOTFOUND redis bobarr-api | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) bobarr-api | [ioredis] Unhandled error event: Error: getaddrinfo ENOTFOUND redis bobarr-api | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26)

If I try to add the movie again: bobarr-api | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) bobarr-api | 2020-09-01 03:10:29.888 [error] ExceptionsHandler - duplicate key value violates unique constraint "UQ_e67ea82f6973f5b9a6747fba346" - {"trace":"QueryFailedError: duplicate key value violates unique constraint "UQ_e67ea82f6973f5b9a6747fba346"\n at new QueryFailedError (/usr/src/app/node_modules/typeorm/error/QueryFailedError.js:11:28)\n at Query. (/usr/src/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:176:38)\n at Query.handleError (/usr/src/app/node_modules/pg/lib/query.js:139:19)\n at Client._handleErrorMessage (/usr/src/app/node_modules/pg/lib/client.js:326:17)\n at Connection.emit (events.js:315:20)\n at /usr/src/app/node_modules/pg/lib/connection.js:109:12\n at Parser.parse (/usr/src/app/node_modules/pg-protocol/dist/parser.js:40:17)\n at Socket. (/usr/src/app/node_modules/pg-protocol/dist/index.js:8:42)\n at Socket.emit (events.js:315:20)\n at addChunk (_stream_readable.js:295:12)\n at readableAddChunk (_stream_readable.js:271:9)\n at Socket.Readable.push (_stream_readable.js:212:10)\n at TCP.onStreamRead (internal/stream_base_commons.js:186:23)"}

Destrocamil avatar Sep 01 '20 01:09 Destrocamil

Can you run docker-compose ps and send me the output? Also if you can pm me on Discord I can help.

iam4x avatar Dec 07 '20 19:12 iam4x

It happens to me, any idea of root cause? the bitami version of redis starting failed, I switch to official redis for a workaround. I'm not sure why

nch3ng avatar Jan 11 '21 08:01 nch3ng

Yes the bitnami image is not arm compatible I guess that's why.

iam4x avatar Jan 11 '21 09:01 iam4x

Yes the bitnami image is not arm compatible I guess that's why.

Would you mind explaining how to make this swap?

bwt615 avatar Dec 17 '23 00:12 bwt615