-
Notifications
You must be signed in to change notification settings - Fork 36
Error: Request failed with status code 504 #20
Comments
Is this issue still persist with the latest version of the server 1.28.3? |
It seems to have fixed the 504 error, I am still getting the app telling me it needs to upload the same assets over and over. |
I assume those are duplicated asset. The duplication assets failed silently. We haven't update the CLI yet to reflect the duplicated error code |
Pretty crazy that you have that many duplicated. To make sure those are duplicated you can monitor the server log to see if the error message popped up. |
That's what I mean, I don't believe they are duplicated assets. |
Did you see anything while uploading in the server logs? |
do the logs write to console? or are they stored within the microservices container? |
Logs write to console, you can use this command https://docs.docker.com/engine/reference/commandline/logs/ The log for inserting will be in the immich-server container |
hmm strange. Time to rewrite CLI tool |
Ok! I will need to add better error message to handle these cases. Would you mind tell me how big is the video file? And did you use local IP or dns? Do you use Nginx as your reverse proxy? |
Sure! |
Same for me. My file is 2.5G. Also no rev proxy involved Failed to upload 1 files [
{
file: 'Z:\\Bilder\\xxxx.xx - iPhone\\IMG_0177.MOV',
reason: Error: Request failed with status code 504
at createError (C:\Users\max\AppData\Local\pnpm\global\5\.pnpm\axios@0.26.1\node_modules\axios\lib\core\createError.js:16:15)
at settle (C:\Users\max\AppData\Local\pnpm\global\5\.pnpm\axios@0.26.1\node_modules\axios\lib\core\settle.js:17:12)
at IncomingMessage.handleStreamEnd (C:\Users\max\AppData\Local\pnpm\global\5\.pnpm\axios@0.26.1\node_modules\axios\lib\adapters\http.js:322:11)
at IncomingMessage.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
config: [Object],
request: [ClientRequest],
response: [Object],
isAxiosError: true,
toJSON: [Function: toJSON]
},
response: '<html>\r\n' +
'<head><title>504 Gateway Time-out</title></head>\r\n' +
'<body>\r\n' +
'<center><h1>504 Gateway Time-out</h1></center>\r\n' +
'<hr><center>nginx/1.23.3</center>\r\n' +
'</body>\r\n' +
'</html>\r\n'
}
] |
I'm uploading about 400 assets using the docker method and keep running into this error:
Error uploading asset [/import/20220815_065326_9A9FEC1A.mov]: Error: Request failed with status code 504
This happens for quite a few items. If I run it again, the errored assets seems to be less and less.
At the point now where I run the job and it tells me there are two assets to upload, and it seems to do so without error, however whenever I run the job, it says the same thing over and over.
The text was updated successfully, but these errors were encountered: