Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Occasional [node-debug2] read ECONNRESET on Windows w/ Node v6.6.0 (32-bit) #28

Closed
mousetraps opened this issue Sep 27, 2016 · 4 comments

Comments

@mousetraps
Copy link

Testing microsoft/vscode#12600

Running against Node v6.6.0 (32-bit), after launching the debugger successfully several times in a row, saw this error in the infobar:
[node-debug2] read ECONNRESET

And this error to the debug console:

node --inspect=28101 --debug-brk --nolazy server.js 
Debugger listening on port 28101.
Warning: This is an experimental feature and could change at any time.
******** Error in DebugAdapter - Unhandled promise rejection: Error: read ECONNRESET
    at exports._errnoException (util.js:1026:11)

Will provide further details if I manage to come up with a better repro

@mousetraps
Copy link
Author

FWIW shortly after, tried running again, and received:

node --inspect=4001 --debug-brk --nolazy server.js 
Unable to open devtools socket: address already in use

didn't seem to see lingering processes in Task manager, so not sure what's up

@roblourens
Copy link
Member

That time it might just be that we picked a random process id that was already claimed since we don't check whether it's in use (node-debug does the same thing)

@mousetraps
Copy link
Author

Verbose logs:
vscode-node-debug2.txt

@roblourens
Copy link
Member

Anything in the command prompt when you get econnreset? Did Node crash with that assert?

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants