question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Socket Hang Up during CDP to Android Chrome over USB

See original GitHub issue

Trying to run example to Android Chrome with following configuration, chrome is crashing in Mobile and I could see this trace.

{ Error: socket hang up
    at createHangUpError (_http_client.js:335:15)
    at Socket.socketOnEnd (_http_client.js:428:23)
    at Socket.emit (events.js:185:15)
    at endReadableNT (_stream_readable.js:1101:12)
    at process._tickCallback (internal/process/next_tick.js:114:19) code: 'ECONNRESET' }

I’m able to list, create or activate sessions but CDP() not working in seems.

Component Version
Operating system Windows
Node.js 9.8.0
Chrome/Chromium/… Android 7.1.1 Chrome 65.0
chrome-remote-interface 0.25.5

Is Chrome running in a container? NO

Am I missing something here??

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kunal-mazumdarcommented, Mar 22, 2018

Well I tried with version 63 and 64 also, similar behavior.

I raised a bug and here is the link here for tracking.

Thanks

0reactions
kunal-mazumdarcommented, Mar 22, 2018

Thanks a ton, with { local: true }, I am able to make connection. 💯

Read more comments on GitHub >

github_iconTop Results From Across the Web

NodeJS - What does "socket hang up" actually mean?
It means that socket does not send connection end event within the timeout period. If you are getting the request for cheerio via...
Read more >
824626 - Android Chrome crashing while inspecting over USB ...
Issue 824626: Android Chrome crashing while inspecting over USB with nodejs ... --port 9222` : `Cannot connect to remote endpoint: Error: socket hang...
Read more >
Untitled
One bounce on the diamond crossword, Pigeon on the gate reel sheet music! ... 08 patch season 11-12 by thehbk, Gondrong tapi rapi,...
Read more >
Untitled
Android apk on windows phone? Public bus price in india, Victim witness assistance unit! Well organized, Coolrunner ii power consumption?
Read more >
Untitled
While I was trying to boot a vanilla linux kernel on the Teclast X98 Air 3G I messed up ... ch341a programmer bios,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found