Skip to content

Socket hang up #98

@MT22067

Description

@MT22067

Environment

| Component | Version

| Node.js | v12.22.9
| Client (Chrome/Chromium/...) | Google Chrome 123.0.6312.58
| OS running Node.js | Ubuntu 22.04
| OS running the client | Ubuntu 22.04
| chrome-remote-interface | 0.31.3

Is the client running in a container? NO

Description

I was trying to run the following the set of commands (basically to capture HAR file from android) chrome
(1) adb shell am start -n com.android.chrome/com.google.android.apps.chrome.Main
(2) adb forward tcp:9222 localabstract:chrome_devtools_remote
(3) chrome-har-capturer --force --port 9222 -o my.har http://www.example.com
Issue received: Socket hang up
How to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions