1

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

4
  • How large is the file? Commented May 17, 2016 at 13:54
  • It starts with files larger than 70Mb. And my connection is very slow, so it's perhaps linked.. Commented May 17, 2016 at 13:59
  • Hard to give feedback on your code without any... code. But you'll likely find one or more things here stackoverflow.com/questions/31502631/… Commented May 17, 2016 at 16:02
  • It's an other problem now.. In fact, many files are received to the server, but files with extensions (.img for my issue) doesnt pass... Is there a configuration for accept all the files ? Commented May 18, 2016 at 10:22

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.