Upstream proxy and PhantomJS
See original GitHub issueSteps to reproduce the problem:
- Start mitmproxy with -U parameter (Upstream proxy)
- Connect to this proxy with PhantomJS
- Connection stucks/hangs
Any other comments? What have you tried so far?
Upstream proxy is working fine with Mozilla Firefox (after installing mitm.pem), and Chrome (sometimes, other times SSL certificate fails).
Upstream proxy isn’t working with PhantomJS (with Selenium Python), with or without --ignore-ssl-errors
(true|false). Don’t know if this issue is related to mitmproxy or PhantomJS.
System information
root@mitm:~# mitmproxy --version
Mitmproxy version: 2.0.2 (release version)
Python version: 3.5.3
Platform: Linux-4.10.0-33-generic-i686-with-Ubuntu-17.04-zesty
SSL version: OpenSSL 1.0.2g 1 Mar 2016
Linux distro: Ubuntu 17.04 zesty
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How to set HTTPS proxy in PhantomJS? - Stack Overflow
https proxy is not supported by PhantomJS. So best is to use http proxy or a socks proxy. --proxy-type= Specifies the proxy type, ......
Read more >Command Line Interface - PhantomJS
--proxy-auth specifies the authentication information for the proxy, e.g. --proxy-auth=username:password ). --script-encoding=encoding sets the encoding used ...
Read more >Squid | npm.io
Node.js implementation of a proxy server (think Squid) with support for SSL, authentication, upstream proxy chaining, and protocol tunneling.
Read more >ssr-proxy - npm
SSR-Proxy — Server-Side Rendering Proxy. Prerender your single page app for better SEO and support on legacy browsers.
Read more >Phantom Proxy server : r/sysadmin - Reddit
Update below. I'm trying to get rid of some phantom proxy server settings on multiple Win10 computers. We do have a proxy server, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
mitmproxy --mode upstream:http://... --upstream-auth USER:PASS
should work.Ah, that’s the helpful bit I was missing. This suspiciously looks like you are hitting https://github.com/mitmproxy/mitmproxy/issues/2334! You can maybe try a recent snapshot from master (https://snapshots.mitmproxy.org/) to see if that fixes things for you 😃