react-native icon indicating copy to clipboard operation
react-native copied to clipboard

WebSocket connection to 'ws://localhost:8081/debugger-proxy?role=debugger&name=Chrome' failed: Error during WebSocket handshake: Unexpected response code: 400

Open muhamedsalih-tw opened this issue 3 years ago • 1 comments

Description

Can't able to debug application. Chrome or react native debugger can't attach itself to react native process in port 8081 it throw below error

bundle.js:10 WebSocket connection to 'ws://localhost:8081/debugger-proxy?role=debugger&name=Chrome' failed: Error during WebSocket handshake: Unexpected response code: 400

Version

0.60.0

Output of npx react-native info

System: OS: macOS 13.0.1 CPU: (10) arm64 Apple M1 Pro Memory: 83.80 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.13.2 - ~/.asdf/installs/nodejs/16.13.2/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 8.1.2 - ~/.asdf/plugins/nodejs/shims/npm Watchman: 2022.10.10.00 - /opt/homebrew/bin/watchman SDKs: iOS SDK: Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1 IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8815526 Xcode: 14.1/14B47b - /usr/bin/xcodebuild npmPackages: react: 16.8.6 => 16.8.6 react-native: 0.60.0 => 0.60.0

Steps to reproduce

I am not sure how it occur and its private repo [can't share it]

Snack, code example, screenshot, or link to a repository

image

muhamedsalih-tw avatar Dec 15 '22 20:12 muhamedsalih-tw

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jun 14 '23 05:06 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Jul 03 '23 05:07 github-actions[bot]