immich
immich copied to clipboard
[UPLOAD FAILED] Premature close
The bug
Hello, i tried to upload a .MOV video but i have this error in the docker container:
Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
at new NodeError (node:internal/errors:399:5)
at ServerResponse.onclose (node:internal/streams/end-of-stream:154:30)
at ServerResponse.emit (node:events:525:35)
at emitCloseNT (node:_http_server:984:10)
at Socket.onServerResponseClose (node:_http_server:277:5)
at Socket.emit (node:events:525:35)
at TCP.
The OS that Immich Server is running on
Unraid (docker)
Version of Immich Server
immich:v1.62.1-ig127
Version of Immich Mobile App
latest IOS
Platform with the issue
- [X] Server
- [X] Web
- [ ] Mobile
Your docker-compose.yml content
ghcr.io/imagegenius/immich
Your .env content
ghcr.io/imagegenius/immich
Reproduction steps
I tried to upload a MOV video file.
Resolution: 4K
Size: 151Mo
Time: 14s
Second file wich failed:
Name: IMG_0060.MOV
Size:162
Time: 15s
Additional information
No response
How did you initiate the upload? Mobile? Web? Cli?
The error you posted happens when you stop viewing a video in the web UI and can be ignored. Are there any other errors in the logs?
How did you initiate the upload? Mobile? Web? Cli?
Web
The error you posted happens when you stop viewing a video in the web UI and can be ignored. Are there any other errors in the logs?
I updated to new version and no suspicious log. I retried to upload with new version but it's the same .... The only thing is a warning to set sysctl vm.overcommit_memory=1. I did it. I will try if it can solve the problem after a reboot.
Hello, can i have help on this problem. I reencoded both videos. Converted in x265 10 bits 4K MP4
Before it was a MOV in 4K took with my iphone.
I tried to import them and on video successfully imported. The imported video was converted from 151Mo to 30Mo. The failed import video 162 Mo to 105 Mo
It said in documentation logs are in docker container but i have no error....