Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy certificate mismatch error #880

Open
mlandauer opened this issue Jul 26, 2015 · 1 comment
Open

proxy certificate mismatch error #880

mlandauer opened this issue Jul 26, 2015 · 1 comment

Comments

@mlandauer
Copy link
Member

See https://help.morph.io/t/openssl-error-when-trying-to-hit-domain-with-mechanize-hostname-does-not-match-certificated/75

@mlandauer
Copy link
Member Author

This is proving a very hard problem to diagnose. The biggest clues so far to what the underlying problem is:

  • It only happens on morph.io. Locally run scrapers don't show the problem
  • It's not a problem with mechanize. The same issue occurs when you use the underlying http library.
  • It only occurs on the second connection
  • The second connection that fails doesn't get logged by the proxy
  • It only occurs on some domains. The problem happens with righttoknow.org.au, theyvoteforyou.org.au but not on morph.io, whatdotheyknow.com

So, it sort of looks like it might be some kind of interaction between the http server on kedumba (apache) and mitmproxy and keep-alives perhaps?

All very troublesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant