-
Notifications
You must be signed in to change notification settings - Fork 415
localhost refused to connect #755
Comments
Same issue here, I'm on Windows. |
What version do you use guys? |
I'm using 1.9.0 |
I have the same issue - on OSX el capitan and poltergeist 1.9.0 http://localhost:9664/ can't be reached |
What version of chrome? what version of osx? what version of phantomjs? what do you have :inspector set to your poltergeist configuration? |
FYI... sorry for leaving this issue open, but I tracked this down to the fact that I am using Opal (ruby to javascript transpiler) which breaks chromes poltergeist driver. The reason is that Opal adds functions to the array prototype, which chrome dislikes, so any code that you have that plays around with built in javascript types could be causing this issue (or you have a different issue completely.) |
Closing this since from @catmando description it sounds like it was phantomjs issue with code produced by Opal - for anyone else still having this issue, and not running code that is modfying the array prototype -- please check which interface on your machine has port 9664 listening and whether or not that interface is what localhost resolves to. |
@twalpole I just updated to poltergeist 1.16 and I'm still having this issue on OSX 10.12.6 - I don't have Opal, but I just removed a |
@twalpole, I am having a similar issue, and for what its worth, a work around. Perhaps this will help improve the code. Issue: remote-debugger-port=9664, but getting "This webpage is not available" on https://localhost:9664/ Workaround: Instead of waiting for https://localhost:9664/ to resolve, go directly to http://127.0.0.1:9664//webkit/inspector/inspector.html?page=2 Setup: |
I am running on mac osx, and when I try calling page.driver.debug, a chrome tab comes up pointing to localhost:9664, but chrome says "localhost refused to connect"
Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: