Cannot download media from inbox
Summary
KOR - Wonder Girls - MV - Irony was after/while freezing KM App downloaded, but the media download does not work
Which version and OS are you using?
v8.0.38-next (Sakuya Splendide, karaokemugen-app@07b5c0e2)
electron : 33.2.0 chrome : 130.0.6723.118 v8 : 13.0.245.18-electron.0 node : 20.18.0
AppImage on Ubuntu 24.04
How to reproduce the bug?
Try to download karaokemugen/bases/karaokebase#14686 (closed)
What's the actual bug behavior?
video does not download, error message (see log below)
What should happen instead?
video download, review the inbox song
Logs and/or screenshots
04/12/2024, 14:45:22 - DownloaderError during download of KOR - Wonder Girls - MV - Irony.mp4 (HEAD) Show details { "code": "ERR_BAD_REQUEST", "config": { "adapter": [ "xhr", "http", "fetch" ], "env": {}, "headers": { "Accept": "application/json, text/plain, /", "Accept-Encoding": "gzip, compress, deflate, br", "user-agent": "KaraokeMugenApp/8.0.38-next" }, "httpAgent": { "_events": { "free": [ null, null ] }, "_eventsCount": 2, "closeSocketCount": 0, "closeSocketCountLastCheck": 0, "createSocketCount": 0, "createSocketCountLastCheck": 0, "createSocketErrorCount": 0, "createSocketErrorCountLastCheck": 0, "defaultPort": 80, "errorSocketCount": 0, "errorSocketCountLastCheck": 0, "freeSockets": {}, "keepAlive": true, "keepAliveMsecs": 1000, "maxFreeSockets": 256, "maxSockets": null, "maxTotalSockets": null, "options": { "freeSocketTimeout": 4000, "keepAlive": true, "noDelay": true, "path": null, "socketActiveTTL": 0, "timeout": 8000 }, "protocol": "http:", "requestCount": 0, "requestCountLastCheck": 0, "requests": {}, "scheduling": "lifo", "sockets": {}, "timeoutSocketCount": 0, "timeoutSocketCountLastCheck": 0, "totalSocketCount": 0 }, "httpsAgent": { "_events": { "free": [ null, null ] }, "_eventsCount": 2, "_sessionCache": { "list": [ "kara.moe:443:::::::::::::::::::::", "shelter.moe:443:::::::::::::::::::::", "gitlab.com:443:::::::::::::::::::::" ], "map": { "gitlab.com:443:::::::::::::::::::::": { "data": [ .... loooong list of numbers
193
],
"type": "Buffer"
}
},
"_writableState": {
"bufferedIndex": 0,
"corked": 0,
"highWaterMark": 16384,
"length": 0,
"pendingcb": 0,
"writelen": 0
},
"allowHalfOpen": false,
"alpnProtocol": false,
"authorizationError": null,
"authorized": true,
"autoSelectFamilyAttemptedAddresses": [
"54.36.176.153:443"
],
"connecting": false,
"encrypted": true,
"parser": null,
"secureConnecting": false,
"servername": "kara.moe",
"ssl": {
"_parent": {
"onconnection": null,
"reading": true
},
"_parentWrap": null,
"_secureContext": {
"context": {}
},
"reading": true
},
"timeout": 4000
}
]
},
"keepAlive": true,
"keepAliveMsecs": 1000,
"maxCachedSessions": 100,
"maxFreeSockets": 256,
"maxSockets": null,
"maxTotalSockets": null,
"options": {
"freeSocketTimeout": 4000,
"keepAlive": true,
"noDelay": true,
"path": null,
"socketActiveTTL": 0,
"timeout": 8000
},
"protocol": "https:",
"requestCount": 14,
"requestCountLastCheck": 0,
"requests": {},
"scheduling": "lifo",
"sockets": {},
"timeoutSocketCount": 4,
"timeoutSocketCountLastCheck": 0,
"totalSocketCount": 1
},
"maxBodyLength": -1,
"maxContentLength": -1,
"method": "head",
"responseType": "json",
"timeout": 0,
"transformRequest": [
null
],
"transformResponse": [
null
],
"transitional": {
"clarifyTimeoutError": false,
"forcedJSONParsing": true,
"silentJSONParsing": true
},
"url": "https://kara.moe/downloads/medias/KOR%20-%20Wonder%20Girls%20-%20MV%20-%20Irony.mp4",
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN"
}, "message": "Request failed with status code 404", "name": "AxiosError", "stack": "AxiosError: Request failed with status code 404\n at settle (/tmp/.mount_Karaokcau7OB/resources/app.asar/node_modules/axios/lib/core/settle.js:19:12)\n at IncomingMessage.handleStreamEnd2 (/tmp/.mount_Karaokcau7OB/resources/app.asar/node_modules/axios/lib/adapters/http.js:599:11)\n at IncomingMessage.emit (node:events:531:35)\n at endReadableNT (node:internal/streams/readable:1696:12)\n at processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Axios.request (/tmp/.mount_Karaokcau7OB/resources/app.asar/node_modules/axios/lib/core/Axios.js:45:41)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at downloadFile (/tmp/.mount_Karaokcau7OB/resources/app.asar/src/lib/utils/downloader.ts:54:20)\n at processDownload (/tmp/.mount_Karaokcau7OB/resources/app.asar/src/services/download.ts:141:3)", "status": 404 }