-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
non issueIssue is not a problem or requires changesIssue is not a problem or requires changes
Description
ECONNRESET Error: Client request error: socket hang up
In route config, when { payload: { timeout: false }} (never) the socket will timeout after 2 minutes (node default).
To fix this problem { timeout: { socket : false } } must be specified.
I expected that the socket timeout config will automatically be the size of the payload timeout.
Route validation will catch similar problems, for example:
When payload timeout is specified in milliseconds ({ payload: { timeout: 240000 }}) the server will throw if the timeout is greater than socket timeout (if specified or not).
Route validation should fail if { payload: { timeout: false} } and { timeout: { socket: 120000 }}
or
Socket timeout should automatically be set to payload timeout.
Metadata
Metadata
Assignees
Labels
non issueIssue is not a problem or requires changesIssue is not a problem or requires changes