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

PHP SSL error on one particular website #951

Open
LoveMyData opened this issue Jan 27, 2016 · 4 comments
Open

PHP SSL error on one particular website #951

LoveMyData opened this issue Jan 27, 2016 · 4 comments

Comments

@LoveMyData
Copy link

I have two scrapers LoveMyData/port_macquarie_hastings and LoveMyData/wollondilly

port_macquarie_hastings is working fine and it is using HTTPS

wollondilly is not working and throwing error messages like
PHP Warning: file_get_contents(): SSL operation failed with code 1.

It is working locally and I have disabled SSL check in PHP as well as force to use TLS v1 or v2, no different....

I think the same issue are showing on other languages
#940 - Perl
#939 - Ruby

I think we just need to patch the php version to the latest build within the same branch and it should resolve it as I am using the latest branch release on mac with no issue.

@henare
Copy link
Member

henare commented Jan 27, 2016

I think we just need to patch the php version to the latest build within the same branch and it should resolve it as I am using the latest branch release on mac with no issue.

Have you tried choosing a different version of PHP on morph.io to see if it does fix the problem?

@LoveMyData
Copy link
Author

@henare , tried v5.5.21and v5.6.5 which are the latest available on morph platform and still not working. :-(

Latest are v5.5.30 and v5.6.16

@adricl
Copy link

adricl commented Mar 10, 2016

@henare Is there an easy way to clone this project with the same MiM proxy setup so we can test this locally?

@henare
Copy link
Member

henare commented Mar 11, 2016

@adricl yep, just uncomment the line in the Procfile and mitmproxy will run when you foreman start 👍 (I think that's all you need to do anyway).

It would be great to get this fixed - thanks for looking into it! 🍀

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

4 participants