-
Notifications
You must be signed in to change notification settings - Fork 71
[cordova-debug-adapter] Error: connect ECONNREFUSED 127.0.0.1:9223 #191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Is the simulator you are connecting to running iOS 10? The tools that we use to connect to iOS for debugging need to be updated to work with iOS 10: google/ios-webkit-debug-proxy#144 You could try updating them as mentioned in the linked issue: |
That did it! Thanks for the quick and detailed response, these tools are a life saver. |
I just got this same error on a different, pre-existing branch. Running the above updates didn't fix the problem. Any suggestions? |
What do you mean by "pre-existing branch"? This is still you trying to deploy to the iOS simulator running iOS 10 correct? Could you please try running it, and then on the command line running |
Did a "cordova platform update ios" and somehow it fixed the problem. Sorry about that. |
The proposed fixes don't work for me. Note that everything works fine when using UIWebView, even on iOS10 before applying the proposed fixes. Only when using WKWebView it doesn't work anymore. I can still connect to the simulator via the Safari debugging tools. |
@letmaik having same issue... were you able to resolve? pretty sure the problem is the local server WKWebview runs on unlike the standard UIWebview. would be cool to find a fix. |
Hi there, sorry for delay. |
Closing now! Feel free to reopen if you still have this issue |
Uh oh!
There was an error while loading. Please reload this page.
Am getting this error whenever I try to "run ios on simulator". This is with the default values from the Cordova debug tools in my launch.json (so port 9220 for "run ios on simulator"). These are my debug logs:
Launching for ios (This may take a while)...
Launching app (This may take a while)...
Starting Ionic dev server (live reload: true)
Building and deploying app
Attaching to ios
Configuring debugging proxy
Unable to communicate with target
connect ECONNREFUSED 127.0.0.1:9223
The text was updated successfully, but these errors were encountered: