File Size Upload
What is the max time or file size I can upload from 1 video ( how big can my video be? )
13 Replies
There's no hard limit for file size AFAIK
Cause I can only upload <7 minute videos
Ah I see, I’m using cloudflare
@sogan But weirdly, it just stalls every time I try, and uploading via web errors aswell. I checked in logs and something is refusing to connect.
I believe there’s a 100mb upload limit for Cloudflare.
I switched to main ip and now it is still stalling. :/
```2023-08-18 16:50:41 immich_web | headers: {
2023-08-18 16:50:41 immich_web | Accept: 'application/json, text/plain, /',
2023-08-18 16:50:41 immich_web | Authorization: 'Bearer 9fak0PQo7InGQjCDQipzXc2Hkz9336XRpSUspRAHkiY',
2023-08-18 16:50:41 immich_web | 'User-Agent': 'axios/0.27.2'
2023-08-18 16:50:41 immich_web | },
2023-08-18 16:50:41 immich_web | method: 'get',
2023-08-18 16:50:41 immich_web | url: 'http://immich-server:3001/user/me',
2023-08-18 16:50:41 immich_web | data: undefined
2023-08-18 16:50:41 immich_web | },
2023-08-18 16:50:41 immich_web | request: <ref *1> Writable {
2023-08-18 16:50:41 immich_web | _writableState: WritableState {
2023-08-18 16:50:41 immich_web | objectMode: false,
2023-08-18 16:50:41 immich_web | highWaterMark: 16384,
2023-08-18 16:50:41 immich_web | finalCalled: false,
2023-08-18 16:50:41 immich_web | needDrain: false,
2023-08-18 16:50:41 immich_web | ending: false,
2023-08-18 16:50:41 immich_web | ended: false,
2023-08-18 16:50:41 immich_web | finished: false,
2023-08-18 16:50:41 immich_web | destroyed: false,
2023-08-18 16:50:41 immich_web | decodeStrings: true,
2023-08-18 16:50:41 immich_web | defaultEncoding: 'utf8',
2023-08-18 16:50:41 immich_web | length: 0,
2023-08-18 16:50:41 immich_web | writing: false,
2023-08-18 16:50:41 immich_web | corked: 0,
2023-08-18 16:50:41 immich_web | sync: true,
2023-08-18 16:50:41 immich_web | bufferProcessing: false,
2023-08-18 16:50:41 immich_web | onwrite: [Function: bound onwrite],
2023-08-18 16:50:41 immich_web | writecb: null,
2023-08-18 16:50:41 immich_web | writelen: 0,
2023-08-18 16:50:41 immich_web | afterWriteTickInfo: null,
2023-08-18 16:50:41 immich_web | buffered: [],
2023-08-18 16:50:41 immich_web | bufferedIndex: 0,
2023-08-18 16:50:41 immich_web | allBuffers: true,
2023-08-18 16:50:41 immich_web | allNoop: true,
2023-08-18 16:50:41 immich_web | pendingcb: 0,
2023-08-18 16:50:41 immich_web | constructed: true,
2023-08-18 16:50:41 immich_web | prefinished: false,
2023-08-18 16:50:41 immich_web | errorEmitted: false,
2023-08-18 16:50:41 immich_web | emitClose: true,
2023-08-18 16:50:41 immich_web | autoDestroy: true,
2023-08-18 16:50:41 immich_web | errored: null,
2023-08-18 16:50:41 immich_web | closed: false,
2023-08-18 16:50:41 immich_web | closeEmitted: false,
2023-08-18 16:50:41 immich_web | [Symbol(kOnFinished)]: []
2023-08-18 16:50:41 immich_web | },
2023-08-18 16:50:41 immich_web | _events: [Object: null prototype] {
2023-08-18 16:50:41 immich_web | response: [Function: handleResponse],
2023-08-18 16:50:41 immich_web | error: [Function: handleRequestError],
2023-08-18 16:50:41 immich_web | socket: [Function: handleRequestSocket]
2023-08-18 16:50:41 immich_web | },
2023-08-18 16:50:41 immich_web | _eventsCount: 3,
2023-08-18 16:50:41 immich_web | _maxListeners: undefined,
2023-08-18 16:50:41 immich_web | _options: {
2023-08-18 16:50:41 immich_web | maxRedirects: 21,
2023-08-18 16:50:41 immich_web | maxBodyLength: 10485760,
2023-08-18 16:50:41 immich_web | protocol: 'http:',
2023-08-18 16:50:41 immich_web | path: '/user/me',
2023-08-18 16:50:41 immich_web | method: 'GET',
2023-08-18 16:50:41 immich_web | headers: [Object],
2023-08-18 16:50:41 immich_web | agent: undefined,
2023-08-18 16:50:41 immich_web | agents: [Object],
2023-08-18 16:50:42 immich_web | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
2023-08-18 16:50:42 immich_web | port: 3001,
2023-08-18 16:50:42 immich_web | address: '172.18.0.7',
2023-08-18 16:50:42 immich_web | syscall: 'connect',
2023-08-18 16:50:42 immich_web | code: 'ECONNREFUSED',
2023-08-18 16:50:42 immich_web | errno: -111,
2023-08-18 16:50:42 immich_web | config: {
2023-08-18 16:50:42 immich_web | transitional: {
2023-08-18 16:50:42 immich_web | silentJSONParsing: true,
2023-08-18 16:50:42 immich_web | forcedJSONParsing: true,
2023-08-18 16:50:42 immich_web | clarifyTimeoutError: false
2023-08-18 16:50:42 immich_web | },
2023-08-18 16:50:42 immich_web | adapter: [Function: httpAdapter],
2023-08-18 16:50:42 immich_web | transformRequest: [ [Function: transformRequest] ],
2023-08-18 16:50:42 immich_web | transformResponse: [ [Function: transformResponse] ],
2023-08-18 16:50:42 immich_web | timeout: 0,
2023-08-18 16:50:42 immich_web | xsrfCookieName: 'XSRF-TOKEN',
2023-08-18 16:50:42 immich_web | xsrfHeaderName: 'X-XSRF-TOKEN',
2023-08-18 16:50:42 immich_web | maxContentLength: -1,
2023-08-18 16:50:42 immich_web | maxBodyLength: -1,
2023-08-18 16:50:42 immich_web | env: { FormData: [Function] },
2023-08-18 16:50:42 immich_web | validateStatus: [Function: validateStatus],
2023-08-18 16:50:42 immich_web | headers: {
2023-08-18 16:50:42 immich_web | Accept: 'application/json, text/plain, /',
2023-08-18 16:50:42 immich_web | Authorization: 'Bearer 9fak0PQo7InGQjCDQipzXc2Hkz9336XRpSUspRAHkiY',
2023-08-18 16:50:42 immich_web | 'User-Agent': 'axios/0.27.2'
2023-08-18 16:50:42 immich_web | },
2023-08-18 16:50:42 immich_web | method: 'get',
2023-08-18 16:50:42 immich_web | url: 'http://immich-server:3001/user/me',
2023-08-18 16:50:42 immich_web | data: undefined
2023-08-18 16:50:42 immich_web | },
2023-08-18 16:50:42 immich_web | request: <ref *1> Writable {
2023-08-18 16:50:42 immich_web | _writableState: WritableState {
2023-08-18 16:50:42 immich_web | objectMode: false,
2023-08-18 16:50:42 immich_web | highWaterMark: 16384,
2023-08-18 16:50:42 immich_web | finalCalled: false,
2023-08-18 16:50:42 immich_web | needDrain: false,
2023-08-18 16:50:42 immich_web | ending: false,
2023-08-18 16:50:42 immich_web | ended: false,
2023-08-18 16:50:42 immich_web | finished: false,
2023-08-18 16:50:42 immich_web | destroyed: false,
2023-08-18 16:50:42 immich_web | decodeStrings: true,
2023-08-18 16:50:42 immich_web | defaultEncoding: 'utf8',
2023-08-18 16:50:42 immich_web | length: 0,
2023-08-18 16:50:42 immich_web | writing: false,
2023-08-18 16:50:42 immich_web | corked: 0,
2023-08-18 16:50:42 immich_web | sync: true,
2023-08-18 16:50:42 immich_web | bufferProcessing: false,
2023-08-18 16:50:42 immich_web | onwrite: [Function: bound onwrite],
2023-08-18 16:50:42 immich_web | writecb: null,
It says 'ECONNREFUSED', so there's something wrong with your setup.
Yea, but I haven’t really messed with anything and followed setup
So Idek anymore
Hosting on a Mac, would that make any difference?
No, it should be fine to host on Mac. Are there any errors popping up in in the
immich-server
logs?Some errors but they seem to just keep working let me paste them real quick in a pastebin
Wait nvm maybe lemme check
Yes
Does
ERR_STREAM_PREMATURE_CLOSE
happen when you try to upload a file?No, I don’t think so.
Hmm, I'm not really sure why it isn't working. Are you also unable to upload from mobile etc., or is it specific to web uploads?
I’m unable to upload videos on both web and app over a certain amount of mb
Not using reverse proxy*
I have to manually upload the photos onto the drive, then it will work.
I guess just a random issue with my setup, anyways I can always manually upload
Thanks
Sorry I couldn't help! I haven't encountered this issue before