-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: stream ended unexpectedly #22
Comments
Hm, weird. I would love to take a look and figure it out. Can you help provide instruction on how to reproduce so I can take a look? Provide the following, for example:
Thanks! |
Same here node --version
v9.5.0 pakages.json "connect-multiparty": "^2.1.0",
"express": "^4.16.3", app.js const express = require('express')
const app = express()
const multipart = require('connect-multiparty')
const multipartMiddleware = multipart()
app.post('/', multipartMiddleware, (req, res) => {
console.debug(req.body, req.files)
}) raises the following:
|
Seems like it occurs when re-submitting the posted form refreshing the page. |
Hi @vinyll I can definitely take a look. I ran your app, and that error doesn't actually appear. After I copy the app and run it, what are the steps to see the error? |
The step to reproduce:
The error should raise… |
I did try that in Chrome and there wasn't an error. I'm hoping that you can possible some more specific instructions if possible. Maybe the code for how to do the post is different between us? Or the web browser? |
Good point. I tried with Chromium and Firefox 56 and I had no error risen; it occurs on Firefox 60. What I do more precisely to reproduce:
At this stage I'm wondering if it isn't a bug with FF… :/ |
Ah, gotcha. I will work to get Firefox installed soon and try it out 👍 |
Hi @Akash0333 so I downloaded & installed Firefox 30 and setup my form to do the same thing you described: I have a Is it possible you can update your above Also, you're always welcome to submit a fix as a PR as well 👍I want to get this fixed, but I don't (yet) have a way to see the issue to understand what to change. |
Hey @dougwilson! Why are you talking about Firefox 30? |
Sorry that was a typo. I meant Firefox 60 (the current version). |
I have the same issue if I don't send any body from post man to any service. What is the wrong ?? and how to fix it ?? |
Open a new issue with complete code and steps to reproduce the issue so we can figure it out. |
I am getting this error i don't know from where i am getting this error and why
The text was updated successfully, but these errors were encountered: