-
-
Notifications
You must be signed in to change notification settings - Fork 683
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
Debug: internal, implementation, error #433
Comments
I also have this error :/ |
@jamkaramol, @tiagofabre, could you please provide more info? When it happens? Is this related to #419 |
Ha, definitely sounds like a Hapi. Lets close and mark as duplicate this one? |
Debug: internal, implementation, error |
@shriram9494, could you please provide more info? When it happens? What code you used? |
I ran into this issue recently (with version 1.2.2). The analyzed cause was a misconfigured reverse proxy, that messed up the chunked encoding resulting in a HTTP response that neither a formidable seems to then expect an empty body, resulting in the error here: https://github.com/node-formidable/formidable/blob/v1.2.1/lib/incoming_form.js#L159 the function dummyParser(self) {
return {
end: function () {
self.ended = true;
self._maybeEnd();
return null;
}
};
} Now this is indeed caused by a problem outside of the scope of formidable. It would help tremendously if that error would not disappear uncaught but would instead result in the callback being invoked with some kind of error. edit: @xarguments @tunnckoCore mention - not sure if you get notified, since this issue has been closed - should I open a new one? |
don't bother if it version 1.x, unless you want to be the maintainer of the 1.x branch |
Maybe check for existing headers before passing it to formidable |
I could provide a PR. I understand the focus on version 2 though. |
Properly emit an error event when data is supplied even if neither `Content-Length` nor `Transfer-Encoding is set
Properly emit an error event when data is supplied even if neither `Content-Length` nor `Transfer-Encoding is set
TypeError: Uncaught error: this._parser.write is not a function
How to fix this error ???
The text was updated successfully, but these errors were encountered: