-
Notifications
You must be signed in to change notification settings - Fork 5.8k
--ignore-ssl-errors not working #12181
Comments
The option |
Thanks @vitallium Do you have any idea why All I'm passing in is |
You need to combine these two options, then this web site will work. PhantomJS uses SSLv3 by default for all secure connections. |
Oh, the error log from my first post is from using both |
@vitallium I saw that you added some labels to this issue. Were you able to reproduce the errors? |
@thoop no. I can open this website by combining two options. |
Would you like me to set up and give you access to an AWS machine with phantomjs set up on it to test with? How can I work with you to reproduce this to see what's going on? I doubt the log dump from above is enough to help you fix it without being able to reproduce it. Just let me know how I can help. |
Got the same problem... SSL handshake failed but commandline option --ignore-ssl-errors=true and also I got --web-security=false and still got a cross domain origin error..... looks like command line options are not working... or at least some of them. |
@HasseM do you have an example? |
@vitallium, yes but my code is a big mess now due to my debugging... let me take out the Access-Cotrol-Allow-Origin with --web-security=false. script.js: res = phantom.injectJs("jquery.js"); $.get("http://www.nu.nl/", started on Ubuntu64 with: result: Strange... with websucurity disabed, this should work... for the SSL error I have no ready example to post here... but its exactly like in the first post here. |
Oh, |
For the SSL error, I got the error message "SSL handshake failed" and the option --ignore-ssl-errors=true did not fix this.... What debug info do you need from me? |
Like I said before, option |
edited my previous post, wrong option.... Also I got rid of the SSL error by specifying --ssl-protocol=tlsv1 |
I have both --ignore-ssl-errors=true and --ssl-protocol=tlsv1 set and I still get the error only on my AWS EC2 machines. |
I am also facing this issue :( This is happening for me for a page which tries to fetch a JS file from a HTTPS CDN. I tried -ignore-ssl-errors=true, --ssl-protocol=tlsv1, --web-security=no ... nothing worked. |
This works fine in PhantomJS 2. It seems that PhantomJS 1 has some problems with SNI. |
Is it smart with the POODLE Bug? (just wondering) |
@saarthakvats did you ever figure out how to get this to work with https? |
--ignore-ssl-errors=true --ssl-protocol=any worked for me 1.9.2 |
Fixed in 2.5 beta |
I am using python and phantomjs driver to crawl google careers - https://www.careers.google.com |
But it always renders about:blank |
Having the same problem as @arunchandramouli. phantomjs --ignore-ssl-errors=true --ssl-protocol=any --debug=true but renders blank page. Works fine on dev environment where ssl is not enabled. production servers renders blank pages. Running on heroku. debug output. 2017-02-20T09:39:06 [DEBUG] Network - Resource request error: 6 ( "SSL handshake failed" ) URL: "https://mysite.com/image_placeholders?page_uuid=03aaa2ee-7f16-4fa2-8609-20bcb50576c1" |
I have the same problem as @cardiner and @arunchandramouli webdriver.DesiredCapabilities.PHANTOMJS['phantomjs.page.settings.load-images'] = True |
I am facing the same issue. Below code working fine in windows where it is also executing the https but in Ubuntu I am getting same error for https. it is working fine for http I am using the below code DesiredCapabilities capabilities = null; |
Same here, getting the SSL handshake error using the 2.1.15 version. I am using --ignore-ssl-errors=true --ssl-protocol=any |
I am using angular js and phantomjs driver to crawl google careers - https://example.com when i request the service_args:
|
I had problems with this, unti I figured it out that my SSL Certificate from Comodo was wrongly configured, I followed this tutorial https://www.namecheap.com/support/knowledgebase/article.aspx/9419//installing-a-certificate-on-nginx and now it works ok :) |
Hello luispeerez. I followed this tutorial https://www.namecheap.com/support/knowledgebase/article.aspx/9419//installing-a-certificate-on-nginx .but not working . |
@verishal your certificate is from comodo? |
No.because I get certificate from SSL4. |
Also facing this problem. |
sfantu.Do you have some idea? |
Page is navigating to about:blank. Tried all the combination mentioned above with SSL, but nothing worked. Exactly same issue as @shubhamj-cuelogic mentioned |
phantomjs --web-security=false --ignore-ssl-errors=true scripts.js |
Thanks for solving this issue.i have resolved the issue.last 2 years
…On Mon, Apr 11, 2022, 23:26 Pushplata Ranjan ***@***.***> wrote:
phantomjs --web-security=false --ignore-ssl-errors=true scripts.js
—
Reply to this email directly, view it on GitHub
<#12181 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHVEXDV6N2YQ3UDJW5QL3XDVERRWBANCNFSM4AOXIRQA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I'm having a problem where I'm seeing "SSL handshake failed" only on my AWS EC2 instance, even though I'm using
--ignore-ssl-errors=true
. The weird part is it ONLY happens on my EC2 instance for this one website, and it works locally. I'm also using--ssl-protocol=tlsv1
and their website is using SNI with AWS Cloudfront. Both my EC2 instance and my local machine are on PhantomJS 1.9.7.I've tried everything like making sure openssl and ca-certificates are up to date, making sure we have their correct cert, making sure curling their site works, and pointing phantomjs to the certificates directory.
Here's some of my
--debug=true
output:The weird part is the SSL Error: "No error" on the homepage. That page loads just fine and calls
onResourceReceived
, but the subsequent requests don't load and call theonResourceError
function.Isn't
--ignore-ssl-errors=true
supposed to keep those SSL handshake errors from happening?The text was updated successfully, but these errors were encountered: