Skip to content
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

getting read ECONNRESET error when request takes longer time #116

Open
ANANDHAKUMARS opened this issue May 14, 2019 · 5 comments
Open

getting read ECONNRESET error when request takes longer time #116

ANANDHAKUMARS opened this issue May 14, 2019 · 5 comments

Comments

@ANANDHAKUMARS
Copy link

Its not working even after increasing timeout to unlimited time.

Code:
var response = request('POST', url, {
headers : {'content-type':'application/xml'},
body: payload,
timeout : 200000
});

Note:
The request will take 5 minutes to complete. Platform windows

Error:
nodeNC failed: events.js:167 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:111:27) Emitted 'error' event at: at emitErrorNT (internal/streams/destroy.js:82:8) at emitErrorAndCloseNT (internal/streams/destroy.js:50:3) at process._tickCallback (internal/process/next_tick.js:63:19) : success : false

@jncompany
Copy link

+1

4 similar comments
@arrowing
Copy link

arrowing commented Jun 2, 2020

+1

@ddivanshu
Copy link

+1

@tashidexiaoL
Copy link

+1

@kirinsir
Copy link

kirinsir commented Sep 5, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants