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

Socket hang up while using keep alive bwteen node services #39810

Open
dorshay6 opened this issue Aug 19, 2021 · 0 comments
Open

Socket hang up while using keep alive bwteen node services #39810

dorshay6 opened this issue Aug 19, 2021 · 0 comments
Labels
net Issues and PRs related to the net subsystem.

Comments

@dorshay6
Copy link

dorshay6 commented Aug 19, 2021

Version

14.15.5

Platform

Dokcer node:14.15.5

Subsystem

No response

What steps will reproduce the bug?

  • Create 2 node serivces, a listener and caller
  • Setup HTTP agent (tested via axios) with keep-alive flag
  • call from the caller to the listener via HTTP request every 10 sec
  • In some point some requests will fail with socket hangup log,

How often does it reproduce? Is there a required condition?

Not every time

What is the expected behavior?

The connection issue should not appear, response should work

What do you see instead?

The error

Additional information

Logs from debug

The last log looks suspicious

node/lib/net.js

Line 415 in 7ca2f13

debug('_final: not yet connected');

Screen Shot 2021-08-19 at 16 08 57

@dorshay6 dorshay6 changed the title Socket hang up while using keep alive bwteen node serices Socket hang up while using keep alive bwteen node services Aug 19, 2021
@Mesteery Mesteery added the net Issues and PRs related to the net subsystem. label Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
net Issues and PRs related to the net subsystem.
Projects
None yet
Development

No branches or pull requests

2 participants