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

React native debugger gives error ERR_SSL_PROTOCOL_ERROR.

Open gmavritsakis opened this issue 3 years ago • 1 comments

React Native Debugger app version: [0.13.0] React Native version: [0.69.2] Platform: [FILL THIS OUT: Android] Is real device of platform: [No] Operating System: [Windows]

React native debugger gives error ERR_SSL_PROTOCOL_ERROR.

React native debugger won't connect with metro again after having some erratic setup on a web server in my machine serving localhost where I have mistakenly set up HSTS. I have removed the site from chrome and edge HSTS lists and I have run a local site without HSTS so as to clear that out, but still. When I run a local site on port 8081 the debugger says ERR_CONNECTION_RESET which is ok. As soon as I run the metro metro bundler is starts giving errors ERR_SSL_PROTOCOL_ERROR.

Does anyone know how I could reset that? (Reinstalling RND didn't helped either).

gmavritsakis avatar Oct 14 '22 12:10 gmavritsakis

I think this depends on your version of npm, you might try 16. I also had this problem on a project, I can still conveniently switch the version of npm using nvm before doing npm start.

gianlucalippolis avatar Dec 09 '22 01:12 gianlucalippolis