pierrick26
pierrick26

Reputation: 21

Upload large files with node js

I try to upload large files with Node js. But when the file is large the servers returns an error : "Request aborted" and in my Chrome console, I've : "Failed to load resource: net::ERR_CONNECTION_RESET."

I use formidable to get the file in my route. The timeout of my server is about 1hour, so it's not that.. Or perhaps when its a big file, nodejs doesnt take my timeout..

The upload block at 2minutes.

I try all the solution...

Help me please :)

Pierrick

Upvotes: 1

Views: 4276

Answers (1)

Ilia P
Ilia P

Reputation: 646

There is a bug in nodejs underlying libraries. I hope this helps https://github.com/nodejs/node/issues/4266

Upvotes: 1

Related Questions