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

Chrome devtool auto discovery triggers ECONNRESET (was: ECONNRESET) #13

Open
stelcheck opened this issue Nov 27, 2017 · 0 comments
Open
Assignees

Comments

@stelcheck
Copy link
Member

stelcheck commented Nov 27, 2017

Platform: macOS (Linux not affected, Windows is unknown)

On certain platforms, when remote debugger autodiscovery is set on chrome (which is the default) and the dev tools are open, the discovery intermittently triggers the following error to occur:

(js) (17951) mage/xxxxxxxxx >> m-17950 - 15:25:08.261 [MAGE processManager] Uncaught exception: connect ECONNRESET 127.0.0.1:2502
error: {
"code": "ECONNRESET",
"type": "Error",
"errno": "ECONNRESET",
"syscall": "connect",
"address": "127.0.0.1",
"port": 2502,
"file": "util.js",
"line": 1014,
"offset": 11,
"stack": [
"Object.exports._errnoException (util.js:1014:11)",
"exports._exceptionWithHostPort (util.js:1037:20)",
"TCPConnectWrap.afterConnect [as oncomplete] (net.js:1138:14)"
]
}

I was not able to reproduce this issue on my Linux desktop, and have not tried on other environments either.

stelcheck added a commit to stelcheck/mage-console that referenced this issue Nov 27, 2017
  * Listen for errors on the debugger proxy connections
  * Destroy debugger proxy connections after end.

Fixes mage#13
@stelcheck stelcheck self-assigned this Nov 27, 2017
stelcheck added a commit that referenced this issue Nov 28, 2017
  * Listen for errors on the debugger proxy connections
  * Destroy debugger proxy connections after end.

Fixes #13
@stelcheck stelcheck changed the title ECONNRESET Chrome devtool auto discovery triggers ECONNRESET (was: ECONNRESET) Nov 28, 2017
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

1 participant