Error when trying to debug from device
See original GitHub issueAfter following the instructions to run my app on a device I still got an error when I shook the device and tried to enter debug mode:
[RCTWebSocketExecutor.m:108] WebSocket connection failed with error Error Domain=NSPOSIXErrorDomain Code=61 "The operation couldn’t be completed. Connection refused"
2015-04-16 16:35:58.255 [error][tid:main][RCTWebSocketExecutor.m:50] Connection to http://localhost:8081/debugger-proxy timed out. Are you running node proxy? If you are running on the device check if you have the right IP address on `RCTWebSocketExecutor.m` file.
With help from @vjeux on IRC we got it down to RCTWebSocketExecutor.m#L33 where localhost
is hardcoded.
Hardcoding my current IP address in there fixed the issue for me but the actual fix will obviously involve passing through the value of jsCodeLocation
.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Debugging Exceptions within your App - CodePath Cliffnotes
Debugging Procedure · Witnessing the Crash · Setting Up Error Filter · Find the Stack Trace · Identify the Exception · Open the...
Read more >Network connection lost error while trying to debug
Since updating to VS Enterprise 15.6 I have been unable to debug my UWP app using either the Microsoft Emulator or an actual...
Read more >Debugging WidgetKit install error … | Apple Developer Forums
I'm trying to create an iOS 14 WidgetKit widget. It's compiling, but when I try to run it, on either simulator or device,...
Read more >Flutter Error when trying to debug Windows App - Stack Overflow
Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows.
Read more >Debugger Error when trying to debug PIC24EP with MPLAB ...
The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding. The most ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
#6362 and #6345 both have a go at fixing this issue
@jtremback - hmm, it sounds vaguely familiar but having looked through several hundred issues in the last few days I’m having a hard time remembering exactly, if you find it let me know