question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HTTPS not working with authentication

See original GitHub issue
Steps to reproduce the problem:
  1. mitmproxy --nonanonymous

  2. Set a proxy username and password in System Preferences -> Network -> Wifi -> Advanced -> Proxies for both HTTP and HTTPS. screen shot 2017-02-13 at 19 54 32

  3. Save changes. A dialog appears: Uploading Screen Shot 2017-02-13 at 20.08.40.png… Choose Always Apply

  4. Open browser and navigate to a HTTPS page eg. https://www.google.ie/. This appears: screen shot 2017-02-13 at 19 54 53

  5. Fill in username and password to match those entered earlier.

  6. Get the following error (ERR_SPDY_PROTOCOL_ERROR): screen shot 2017-02-13 at 19 55 08

Any other comments? What have you tried so far?

After googling the error, I tried flushing the socket pools at chrome://net-internals/#sockets. I immediately got the same error after trying to access a HTTPS site again.

Previously I had been getting two dialog boxes; one requesting credentials for localhost:8080 and then another requesting credentials for google.ie:443 (or whatever site) directly after the localhost one.

Not sure if it matters, but the proxy credentials in my keychain: screen shot 2017-02-13 at 19 58 15

System information

Mitmproxy version: 2.0.0 (1.0.1dev0129-0x919385d) Python version: 3.6.0 Platform: Darwin-15.6.0-x86_64-i386-64bit SSL version: OpenSSL 1.0.2k 26 Jan 2017 Mac version: 10.11.6 (‘’, ‘’, ‘’) x86_64

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Kriechicommented, Feb 14, 2017

AFAIK: I think this settings just means “use this proxy for HTTP requests” and “use the other proxy for HTTPS requests”. So, no, macOS uses the same terminology as Chrome for something different.

0reactions
laurmurclarcommented, Feb 14, 2017

Worth mentioning that Safari on my iPhone 6 also gives me a million dialogs, as well as Safari on the Mac mentioned above

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the HTTPS Not Secure Error - Seer Interactive
Authentication - ensures that the intended website is shown to users; Data encryption - prevents unwanted tracking or information stealing; Data ...
Read more >
Why is SSL/HTTPS not working on my site? - Support | one.com
There can be several reasons why SSL/HTTPS is not working on your site. Please see if one of the causes listed below helps...
Read more >
Enabling HTTPS on your servers - web.dev
Enabling HTTPS on your servers is critical to securing your webpages.
Read more >
Troubleshooting SSL related issues (Server Certificate)
Try accessing the website via https. If it works then the certificate used earlier was corrupted and it has to be replaced with...
Read more >
Login without HTTPS, how to secure? - Stack Overflow
HTTPS certificates can be obtained for free using Let's Encrypt or Start SSL, there is no legitimate reason not to support HTTPS. HTTPS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found