dokkaner / teemii

A versatile, self-hosted manga reader and manager with extensible agent-based metadata retrieval
https://www.teemii.io
MIT License
289 stars 17 forks source link

Collection covers are black and white #69

Open ApacheCamel opened 7 months ago

ApacheCamel commented 7 months ago

Description

When viewing covers in my collection, they seem to be showing in black and white. The individual covers seem to be okay (tested one and it seemed to be fine). Recommendation covers also seem to be fine. It only seems to affect the top level ones.

As an aside, when attempting to search for new manga to add, the images pretty much never show up at all.

I believe this may be related to this: https://github.com/Kareadita/Kavita/issues/2591 but I haven't dug into your code to see if that is the case. The same issue DID happen to me with Kavita.

Version

Version 0.8.2

Steps to Reproduce

Add any manga to your collection.

Screenshots

image

image

Logs

{"level":"INFO","time":"2024-02-07T20:07:39.617Z","msg":"nautiljon getMangaByName - Found: HUNTER × HUNTER. Query: Hunter x Hunter, 1998"}
{"level":"INFO","time":"2024-02-07T20:07:40.113Z","msg":"mangadex: Looking up chapters for manga ID: db692d58-4b13-4174-ae8c-30c515c0689c"}
{"level":"INFO","time":"2024-02-07T20:07:40.114Z","msg":"comickfun: Looking up chapters for manga ID: HgmyWiv9"}
{"level":"INFO","time":"2024-02-07T20:07:40.115Z","msg":"mangapill: Looking up chapters for manga ID: 1828"}
{"level":"INFO","time":"2024-02-07T20:07:40.116Z","msg":"mangakakalot: Looking up chapters for manga ID: oc955385"}
{"level":"INFO","time":"2024-02-07T20:07:40.117Z","msg":"bato: Looking up chapters for manga ID: 106937"}
{"level":"ERROR","time":"2024-02-07T20:07:40.848Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9tZWRpYS5raXRzdS5pby9tYW5nYS82OC9wb3N0ZXJfaW1hZ2UvOTFlODIyOWRkOWUxZGYwYjFlZDViMTRmZTM2NjgwMTMud2VicA==","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadImage"}
{"level":"ERROR","time":"2024-02-07T20:07:40.851Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9tZWRpYS5raXRzdS5pby9tYW5nYS82OC9wb3N0ZXJfaW1hZ2UvOTFlODIyOWRkOWUxZGYwYjFlZDViMTRmZTM2NjgwMTMud2VicA==","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadAssets"}
{"level":"INFO","time":"2024-02-07T20:07:41.463Z","msg":"bato: Found 400 chapters for manga ID: 106937"}
{"level":"INFO","time":"2024-02-07T20:07:41.516Z","msg":"mangakakalot: Found 404 chapters for manga ID: oc955385"}
{"level":"ERROR","time":"2024-02-07T20:07:42.950Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9jZG4ubXlhbmltZWxpc3QubmV0L2ltYWdlcy9tYW5nYS8yLzI1MzExOWwuanBn","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadImage"}
{"level":"ERROR","time":"2024-02-07T20:07:42.951Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9jZG4ubXlhbmltZWxpc3QubmV0L2ltYWdlcy9tYW5nYS8yLzI1MzExOWwuanBn","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadAssets"}
{"level":"ERROR","time":"2024-02-07T20:07:43.481Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9jZG4ubXlhbmltZWxpc3QubmV0L2ltYWdlcy9tYW5nYS8yLzI1MzExOWwuanBn","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadImage"}
{"level":"ERROR","time":"2024-02-07T20:07:43.483Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9jZG4ubXlhbmltZWxpc3QubmV0L2ltYWdlcy9tYW5nYS8yLzI1MzExOWwuanBn","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadAssets"}
{"level":"ERROR","time":"2024-02-07T20:07:44.025Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9jZG4ubXlhbmltZWxpc3QubmV0L2ltYWdlcy9tYW5nYS8yLzI1MzExOWwuanBn","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadImage"}
{"level":"ERROR","time":"2024-02-07T20:07:44.027Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9jZG4ubXlhbmltZWxpc3QubmV0L2ltYWdlcy9tYW5nYS8yLzI1MzExOWwuanBn","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadAssets"}
{"level":"ERROR","time":"2024-02-07T20:07:44.674Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9zNC5hbmlsaXN0LmNvL2ZpbGUvYW5pbGlzdGNkbi9tZWRpYS9tYW5nYS9iYW5uZXIvMzAwMjYtSlhmcmFpYXpMVFFlLmpwZw==","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadImage"}
{"level":"ERROR","time":"2024-02-07T20:07:44.676Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9zNC5hbmlsaXN0LmNvL2ZpbGUvYW5pbGlzdGNkbi9tZWRpYS9tYW5nYS9iYW5uZXIvMzAwMjYtSlhmcmFpYXpMVFFlLmpwZw==","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadAssets"}
{"level":"ERROR","time":"2024-02-07T20:07:45.212Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9zNC5hbmlsaXN0LmNvL2ZpbGUvYW5pbGlzdGNkbi9tZWRpYS9tYW5nYS9iYW5uZXIvMzAwMjYtSlhmcmFpYXpMVFFlLmpwZw==","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadImage"}
{"level":"ERROR","time":"2024-02-07T20:07:45.214Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9zNC5hbmlsaXN0LmNvL2ZpbGUvYW5pbGlzdGNkbi9tZWRpYS9tYW5nYS9iYW5uZXIvMzAwMjYtSlhmcmFpYXpMVFFlLmpwZw==","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadAssets"}
{"level":"ERROR","time":"2024-02-07T20:07:45.750Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9zNC5hbmlsaXN0LmNvL2ZpbGUvYW5pbGlzdGNkbi9tZWRpYS9tYW5nYS9iYW5uZXIvMzAwMjYtSlhmcmFpYXpMVFFlLmpwZw==","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadImage"}
{"level":"ERROR","time":"2024-02-07T20:07:45.752Z","err":{"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n    at settle (/app/node_modules/axios/dist/node/axios.cjs:1970:12)\n    at RedirectableRequest.handleResponse (/app/node_modules/axios/dist/node/axios.cjs:3017:9)\n    at RedirectableRequest.emit (node:events:514:28)\n    at RedirectableRequest.emit (node:domain:489:12)\n    at RedirectableRequest._processResponse (/app/node_modules/follow-redirects/index.js:397:10)\n    at RedirectableRequest._onNativeResponse (/app/node_modules/follow-redirects/index.js:90:12)\n    at Object.onceWrapper (node:events:629:26)\n    at ClientRequest.emit (node:events:514:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63","Accept-Language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","referer":"wsrv.nl","origin":"wsrv.nl","Accept-Encoding":"gzip, compress, deflate, br"},"method":"get","url":"https://wsrv.nl/?url=https://services.f-ck.me/v1/image/aHR0cHM6Ly9zNC5hbmlsaXN0LmNvL2ZpbGUvYW5pbGlzdGNkbi9tZWRpYS9tYW5nYS9iYW5uZXIvMzAwMjYtSlhmcmFpYXpMVFFlLmpwZw==","responseType":"stream"},"code":"ERR_BAD_REQUEST","status":404},"msg":"downloadAssets"}
{"level":"INFO","time":"2024-02-07T20:07:48.506Z","msg":"mangapill: Found 400 chapters for manga ID: 1828"}

Platform

desktop

Device

PC

Operating System

Windows 11

Browser

Firefox

Additional Context

This is running on an Ubuntu VM in Proxmox. I am viewing it from my Windows 11 PC.

Code of Conduct

dokkaner commented 7 months ago

Hello,

Yes, I dig a little there seems to be a link. Have you tried the recommendation of the issue you put? i.e. In proxmox, in the CPU settings for the VM, switch to "host" mode. But if your cpu is too old it may not solve the problem rn.

For Teemii, it's linked to the Sharp library that allows image manipulation (resizing, etc.).

The original issue is this one: https://github.com/lovell/sharp/issues/3894

Apparently one way around the problem is to disable SIMD instructions:

const simd = sharp.simd(false);

I'll implement this and condition it on the CPU type present; that should solve your problem. For reference can I ask you your CPU Specs?

ApacheCamel commented 7 months ago

32 x Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz (2 Sockets) is what I see in Proxmox. I hadn't tried setting my CPU to "host" mode yet since I noticed the issue while they were deploying the fix.

I just tried setting it to host and rebooting and it looks like it is still causing issues. :(

dokkaner commented 7 months ago

Okay, that confirms the problem. It doesn't change the fact that there seems to be a solution via what I said just above. I'll put the issue in the commit to let you know as soon as it's fixed.

ApacheCamel commented 7 months ago

I appreciate you and all the hard work you've put in! Thanks!

Elmagenta commented 7 months ago

I have the same problem on a Debian VM on Proxmox. And moreover for me even the images in the collection are broken.

CPU: AMD FX8350

2oNiHu47PW ltnJCeyK1c

b3nd1k commented 6 months ago

I've also run into the same issue. I see it mentioned that you can chang the CPU mode off teh VM in Proxmox to Host. Does anyone know how to do this?

EDIT: I got around the issue, by downloading the cover manually and giving it the same name as the existing one has in the Cover-folder.