Medium / phantomjs

NPM wrapper for installing phantomjs
Other
1.42k stars 436 forks source link

Unable to use proxy with phantomjs #667

Open jroakes opened 7 years ago

jroakes commented 7 years ago

Has anyone successfully been able to connect the latest versions of PhantomJS (and CasperJS) to either an HTTP or SOCKS5 proxy server? If so, what command-line args or JS did it take? Our implementation seems to hang when using any proxy server (have tried several), but without a proxy the script works fine (and we can successfully use the proxy server outside of Phantom, within Node for instance).

zeroven commented 7 years ago

Me too image

davinkevin commented 7 years ago

@zeroven I don't think your error is linked to this issue... but seems to be link to https://github.com/Medium/phantomjs/issues/632#issuecomment-271851965

matthewwiesen commented 7 years ago

I have this same issue, however, I've been trying to get HTTP proxy environment variables supported directly within node.js:

https://github.com/nodejs/node/issues/8381#issuecomment-284726981