question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

multipart/form-data doesn't work with large files

See original GitHub issue

Original comment by @alegout: https://github.com/cypress-io/cypress/issues/4235#issuecomment-493686803

Since Cypress 3.3.0, some users can’t upload files via a <form> to a server if the file size is over ~16kB

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alegoutcommented, May 22, 2019

thank you @flotwig

1reaction
jennifer-shehanecommented, May 21, 2019

I have another person I’ve had a discussion with that is getting a similar error when upgrading to 3.3.0. Original url has been obfuscated.

Currently waiting for a response on whether they also are using multipart/form-data

cypress:server:request received an error making http request { 
  timeout: null, 
  retryIntervals: [ 0, 100, 200, 200 ], 
  url: 'https://sub.domain.company.dev:8000/channel/bind?token=8abc', 
  requestId: 'request396', 
  retryOnNetworkFailure: true, 
  retryOnStatusCodeFailure: false, 
  delaysRemaining: [ 200, 200 ], 
  err: { 
    Error: socket hang up 
    at createHangUpError (_http_client.js:331:15) 
    at TLSSocket.socketOnEnd (_http_client.js:423:23) 
    at emitNone (events.js:111:20) 
    at TLSSocket.emit (events.js:208:7) 
    at endReadableNT (_stream_readable.js:1056:12) 
    at _combinedTickCallback (internal/process/next_tick.js:138:11) 
    at process._tickCallback (internal/process/next_tick.js:180:9) 
    code: 'ECONNRESET' 
  } 
} +4s
Read more comments on GitHub >

github_iconTop Results From Across the Web

Multipart Form Data Request Failing to Call For Large File Sizes
IT's working fine for small files, but fails when the file gets very large. (haven't tested exactly how big, but we want to...
Read more >
Upload files in ASP.NET Core - Microsoft Learn
ASP.NET Core supports uploading one or more files using buffered model binding for smaller files and unbuffered streaming for larger files.
Read more >
Uploading large files with POST multipart/form-data - B4X
This means in order to upload large files I must use a (buffered) stream and not load the whole file in to a...
Read more >
How You Can Fix The Biggest Problem With React File Upload
This step is crucial in view of uploading files because you must set the content type to multipart/form-data, or else it won't run...
Read more >
Processing of multipart/form-data request failed. null - Apache
These issues do not generally appear, I tried quite some uploading ... even while uploading loads of files, large files and both together....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found