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

WebSocket connection to debugger failed

Open LuckyLuky opened this issue 10 years ago • 9 comments

Hi, I've sudenly started getting this strange error when trying to start debugger in Chrome. This is the full message: WebSocket connection to 'ws://localhost:8081/debugger-proxy?role=debugger&name=Chrome' failed: One or more reserved bits are on: reserved1 = 0, reserved2 = 1, reserved3 = 1 The status on debugger page also changes to this: Status: Disconnected from proxy. Attempting reconnection. Is node server running?

Everything worked fine until today. I've even tried to clear all node module and reinstall them, while updating React Native version to the latest. I've also tried running packager with parameter --reset-cache. None of these helped.

Edit: I should add that I'm running Windows 10.

LuckyLuky avatar May 05 '16 19:05 LuckyLuky

@facebook-github-bot duplicate #6627

damusnet avatar May 05 '16 21:05 damusnet

@damusnet tells me this issue is a duplicate of #6627. Let's discuss there, closing this one.

ghost avatar May 05 '16 21:05 ghost

I've started new a issue because the other one says Invalid frame header, nothing about reserved bits, so I wasn't sure if it is the same error.

LuckyLuky avatar May 05 '16 21:05 LuckyLuky

Seems close enough to me, and with > 500 issues, it feels right to try and group them whenever possible.

damusnet avatar May 05 '16 21:05 damusnet

After I have uninstalled the ESET Smart Security, it looks like the problem is fixed. :p

yuyi avatar May 06 '16 08:05 yuyi

@Yuyi Wow, thanks a lot, you're absolutely right! Haven't even crossed my mind since I had the program for quite a while and the problems started just yesterday. Uninstalling solved the problem.

@damusnet Should we add a mention about this potential problem to docs?

Btw. Removing ESET Smart Security is the worst, the program just wouldn't uninstall from Control Panels, I had to follow these instructions: http://support.eset.com/kb2289/#Windows10 Just in case someone else would have problems getting rid of the program.

LuckyLuky avatar May 06 '16 10:05 LuckyLuky

@LuckyLuky I guess you could to a PR to the debugging page though it seems like a classic "check your firewalls and antivirus" to me. At least this error and the solution now live here for others to find.

damusnet avatar May 06 '16 11:05 damusnet

same issue +1

ws2356 avatar Jul 03 '16 05:07 ws2356

+1

3LP avatar Jul 09 '16 13:07 3LP