-
Notifications
You must be signed in to change notification settings - Fork 17
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
http://localhost:9222 is blank with no console error #29
Comments
Those two 404s are normal. |
I've got the same behaviour on Windows 11 + iOS 17.5.1 (iPhone) Everything is OK and connected, but there's no pages to inspect. The console says "WebSocket connection to 'ws://localhost:9222/devtools/page/1' failed" I've made sure iTunes is installed, debugging (Safari Web Inspector) is enabled on the iPhone, the PC is trusted from the iPhone and the console window shows my device as connected. Also, I tried disabling Windows Firewall, without result. |
I've just tried to do the same with my iPad (iOS 17.5.1) and it did better. It allowed me to inspect all the open pages except for one (the one I needed the most). I wonder why some pages won't show up in the list P.S. I went back to my iPhone after that and localhost:9222 showed none of the same pages I had tried to inspect on the iPad. That's weird :) |
Doesn't work with iPhone 15, I get a blank page on localhost:9222 |
@kingnathi112 Does the phone show up in the logs of ios-webkit-debug-proxy? |
@HimbeersaftLP yes it does show up, localhost:9222 shows the phone name but no page information is shown |
@kingnathi112 So far, I have always been able to fix that issue with a combination of closing and reopening the tab and/or Safari and/or unplugging and plugging back in the device. |
Getting the same issue on Linux |
When I open localhost:9222 the page just displays the following;
Inspectable pages for My iPhone:
and nothing else, no console errors, and no errors in the network tab.
http://localhost:8080/Main.html?ws=localhost:9222/devtools/page/1 displays the devtool page, but nothing to inspect. In the console it has the following errors;
GET http://localhost:8080/WebKitAdditions/WebInspectorUI/WebInspectorUIAdditions.css net::ERR_ABORTED 404 (File not found)
GET http://localhost:8080/WebKitAdditions/WebInspectorUI/WebInspectorUIAdditions.js net::ERR_ABORTED 404 (File not found)
WebSocket connection to 'ws://localhost:9222/devtools/page/1' failed:
and network tab for chrome devtools also shows the missing files logged in the console were not found
If I click the target or reload buttons, I get an uncaught error that looks like the following;
When I go to HTTP://localhost:8080, the result is as shown below.
The text was updated successfully, but these errors were encountered: