"Error Unauthorized" in the command line after enabling "Remote JS debugging"
See original GitHub issue🐛 Bug Report
I am getting “Error Unauthorized” in the command line after enabling “Remote JS debugging”. This is from a freshly installed react-native v0.58.6.
To Reproduce
react-native start
react-native run android
Enable Hot Reloading
Enable Live Reload
Enable JS Debugging
Expected Behavior
Chrome tab should open Chrome debugger App should not display a white screen & command line should not show “Error unauthorized”
Code Example
Default app of a freshly installed react-native v0.58.6. Not sure what I can reproduce here.
Environment
React Native Environment Info: System: OS: macOS 10.14.3 CPU: (4) x64 Intel® Core™ i5-7360U CPU @ 2.30GHz Memory: 35.32 MB / 8.00 GB Shell: 5.3 - /bin/zsh Binaries: Node: 8.12.0 - /usr/local/bin/node Yarn: 1.12.3 - ~/.yarn/bin/yarn npm: 6.5.0 - /usr/local/bin/npm Watchman: 4.7.0 - /usr/local/bin/watchman SDKs: Android SDK: API Levels: 23, 25, 26, 27, 28 Build Tools: 23.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.3 IDEs: Android Studio: 3.1 AI-173.4720617 Xcode: /undefined - /usr/bin/xcodebuild npmPackages: react: 16.6.3 => 16.6.3 react-native: 0.58.5 => 0.58.5 npmGlobalPackages: react-native-cli: 2.0.1 react-native-git-upgrade: 0.2.7
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:17 (2 by maintainers)
Top GitHub Comments
Disable all chrome CORS extensions, and then try 😃
I was with the same error. For me worked change the url in chrome from
192.168.0.xxx:8081/debugger-ui
tolocalhost:8081/debugger-ui
. This happened when i was using Live Reload to run my app in a real device. I hope this help you