console.log: valence: PowerShell -Command ps ios-webkit-debug-proxy: Terminated with error code: 4294901760
Closed this issue · 11 comments
Firefox nightly, ios-webkit-debug-proxy-win32 v 2014-02-14 windows 8.1
-
got valence and run it as in instruction
jpm run -v -b /c/Program\ Files/Firefox\ Nightly/firefox.exe
-
entered WebIDE run Safari/Firefox and other webview on ide
got log:
Shumway is registered
console.error: valence:
PowerShell -Command ps ios-webkit-debug-proxy: I
console.log: valence: PowerShell -Command ps ios-webkit-debug-proxy: Terminated with error code: 4294901760
console.log: valence: Connecting to http://localhost:9230
console.log: Connection status changed: connecting
console.log: Connection status changed: connected
Then nothing happens.
What do you get if you go to the valence tools/win32 subdirectory and run the proxy from powershell like this:
ios-webkit-debug-proxy.exe -c null:9221,:9230-9240 --no-frontend
Also try it from cmd.exe instead of powershell and see if there are any differences.
Thank you for your hint @past .
I've did exactly as you told me.
Unfortunately no luck.
After installing Valence (I don't actually thing this is about Valence, just a coincidence I hope) I'm also experiencing some problems with ios-webkit-debug-proxy-win32 itself. it seems it stopped working standalone :(
So I will deal with ios-webkit-debug-proxy-win32 first. And then retry with Valence.
So the issue I mentioned is resolved. ios-webkit-debug-proxy-win32 works fine with Chrome.
While testing Valence I've mentioned a few things:
1) It starts ios-webkit-debug-proxy-win32 itself and see the log below.
console.error: valence:
PowerShell -Command ps ios-webkit-debug-proxy: I
console.log: valence: PowerShell -Command ps ios-webkit-debug-proxy: Terminated with error code: 4294901760
console.log: valence: Connecting to http://localhost:9230
console.log: Connection status changed: connecting
console.log: Connection status changed: connected
However no debug console appears in WebIDE.
2) When I close Valence with Ctrl+C the ios-webkit-debug-proxy process stays unkilled.
@artygus @past thank you.
I seem to be weak in this topic so I describe exactly what I do, step by step.
I have Firefox Nightly installed at "C:\Program Files\Firefox Nightly", Web Inspector turned on in mobile safari settings, phone connected to USB.
And from cmd in admin mode i do:,
- In D:\Valence\ i do
git clone -b ios-win-applicationUpdated https://github.com/past/valence.git && cd valence
D:\System\Valence\valence> npm install -g jpm
D:\System\Valence\valence> npm install
D:\System\Valence\valence> jpm run -v -b "c:\Program Files\Firefox Nightly\firefox.exe"
- In appeared Firefox Nightly I choose WebIDE and Select Runtime: "Safari/Firefox and other webviews"
- If Firewall is on (I tried both ways): Firewall notification appears where I agree to let ios-webkit-proxy-win32 to do whatever it neads
- Nothing changes in WebIDE and the Valence log says:
console.error: valence:
PowerShell -Command ps ios-webkit-debug-proxy: I
console.log: valence: PowerShell -Command ps ios-webkit-debug-proxy: Terminated with error code: 4294901760
console.log: valence: Connecting to http://localhost:9230
console.log: Connection status changed: connecting
console.log: Connection status changed: connected
@past I did read the docs, sure.
There was nothing in the list untill I've killed previous ios-webkit-debug-proxy process, that was last from yesterday's test.
So after the rpc update everything woked.
And for last test everything worked.
Just some old unkilled ios-webkit-debug-proxy was making problems.
Thanks a million times for your help!
So should I close?
Ah, an old proxy process could explain these symptoms. Thanks for filing, I'll close the issue after I merge the fix.