Attachment downloads are broken for files over 500 MiB

(#600) Bug Open: Awaiting confirmation media self-hosting

Thread

Comment by Fl4il
Fl4il 1 vote Still happening
today this is still happening. latest updates 8/11/2026 4:40 AM CEST To test I just bumped my "Max Attachment File Size" to 5GB uploaded a 1GB file. pressed download button. nothing seems to happen but. client logs : context: 'File download', hostname: '<domain_name>', error: 'Error: Download exceeds 536870912 bytes\n' + ' at IncomingMessage.<anonymous> (file:///opt/fluxer/resources/app.asar/dist/main/MainApp.js:13:77543)\n' + ' at IncomingMessage.emit (node:events:526:24)\n' + ' at addChunk (node:internal/streams/readable:569:12)\n' + ' at readableAddChunkPushByteMode (node:internal/streams/readable:520:3)\n' + ' at Readable.push (node:internal/streams/readable:400:5)\n' + ' at HTTPParser.parserOnBody (node:_http_common:137:24)\n' + ' at TLSSocket.socketOnData (node:_http_client:814:22)\n' + ' at TLSSocket.emit (node:events:514:28)\n' + ' at addChunk (node:internal/streams/readable:569:12)\n' + ' at readableAddChunkPushByteMode (node:internal/streams/readable:520:3)' server logs (seeweedfs) E1108 03:40:08.844883 s3api_object_handlers.go:1445 streamFromVolumeServers: streamFn failed after writing 558104576 bytes: write tcp 172.18.0.4:8333-&gt;172.18.0.12:37618: write: broken pipe E1108 03:40:08.844929 s3api_object_handlers.go:1135 GetObjectHandler: failed to stream fluxer/attachments/1562478376139096067/1568831675914256384/525359446.mp4 from volume servers: write tcp 172.18.0.4:8333-&gt;172.18.0.12:37618: write: broken pipe