You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is this issue currently blocking your project? yes:
is this issue affecting a production system? yes:
Context
node version: 18
module version with issue: 21.2.0
last module version without issue: not known
environment (e.g. node, browser, native): node
used with (e.g. hapi application, another framework, standalone, ...): hapi application
any other relevant information:
What are you trying to achieve or the steps to reproduce?
I'm experiencing Bad Request responses when uploading large zip archives on slow internet connection (My colleagues have slower internet connection + archive size varies so I throttle requests in chrome).
Basically I just createWriteStream and pipe payload to writer in handler.
Is it possible to solve it? I need to increase timeout only for 1-2 routes so I wondered it could be solved with options.timeout.server/socket or options.payload.timeout.
Thanks
The text was updated successfully, but these errors were encountered:
Support plan
Context
What are you trying to achieve or the steps to reproduce?
I'm experiencing
Bad Request
responses when uploading large zip archives on slow internet connection (My colleagues have slower internet connection + archive size varies so I throttle requests in chrome).Basically I just
createWriteStream
and pipe payload to writer in handler.My route:
But timeouts does not work and it always crashes after ~5 mins
I think issue is somewhere in
hapi/lib/core.js
Line 543 in 71ffe08
where listener has default
requestTimeout
= 300000 - it is 5mins reported by browser ^^Node.js 18 requestTimeout docs
What was the result you got?
from
And
from
What result did you expect?
Successfully import archives
Is it possible to solve it? I need to increase timeout only for 1-2 routes so I wondered it could be solved with
options.timeout.server/socket
oroptions.payload.timeout
.Thanks
The text was updated successfully, but these errors were encountered: