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

HTTPS pages are not working and throw error #411

Closed
iroy2000 opened this issue Oct 17, 2014 · 3 comments
Closed

HTTPS pages are not working and throw error #411

iroy2000 opened this issue Oct 17, 2014 · 3 comments
Labels
Milestone

Comments

@iroy2000
Copy link

We are evaluating Phantomas tool and when we do some initial testing, we find out that some pages work and some are not.

For example, the following one works ~
(working) --> phantomas http://www.chegg.com/scholarships --verbose=true

But the following one doesn't work ~
(NOT working) phantomas https://www.chegg.com/schools --verbose=true

The error we got
17:17:34.513 recv: "start" stage not registered for https://www.chegg.com/schools!
17:17:34.513 contentLength missing: {"url":"https://www.chegg.com/schools"}
17:17:34.513 Event recv emitted
17:17:34.514 Event metric emitted
17:17:34.514 Event metric emitted
17:17:34.514 Time to first byte: set to NaN ms for #1 request to https://www.chegg.com/schools (HTTP 200)
17:17:34.514 Time to last byte: set to 86 ms
17:17:34.514 Event responseEnd emitted
17:17:34.515 Block domains: assuming "www.chegg.com" to be the main domain
17:17:34.515 Event metric emitted
17:17:34.515 Performance timing: responseEnd = 1413566254515
17:17:34.517 Page loading finished ("fail")
17:17:34.517 Event loadFailed emitted
17:17:34.518 Exiting with code #254 (Page loading failed)!

@macbre macbre added this to the v1.7 milestone Oct 17, 2014
@macbre macbre added the bug label Oct 17, 2014
@macbre
Copy link
Owner

macbre commented Oct 17, 2014

PhantomJS tells the following in --debug=true mode:

Debug: Network - Resource request error: 6 ( "SSL handshake failed" ) URL: "https://www.chegg.com/scholarships/"

@macbre
Copy link
Owner

macbre commented Oct 17, 2014

@iroy2000 - ariya/phantomjs#12181 and ariya/phantomjs#12655 seems to be related

@macbre
Copy link
Owner

macbre commented Oct 17, 2014

It worked for me by providing --ssl-protocol=tlsv1 option to phantomas (it will be internally passed to PhantomJS). PhantomJS defaults to --ssl-protocol=sslv3.

@macbre macbre changed the title Some pages are not working and throw error HTTPS pages are not working and throw error Oct 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants