-
Notifications
You must be signed in to change notification settings - Fork 78
SSLError #4
Comments
Hey @dave315 - thanks for that! Typically when I've encountered this error it has been because I was developing on Windows and didn't have the proper certificate file and environment variable set. Are you on Windows? If that doesn't work please report back so I can further investigate the issue. SSL errors are no fun. |
@craysiii Yeah, I realized after I posted this that it is probably just something wrong with my machine. I'm using OSX and still haven't quite been able to figure out why this is happening yet. It must have something to do with my certs but I'm pretty bad at this stuff. Not sure if it is worth investigating at all or if you could just close out the issue since I'm assuming this is an issue specific to me. |
Hey @dave315 - would love to help you on the issue. Two questions:
|
I'm also getting this error. I use RVM and just updated to the latest, updated certs, and made sure that |
I'm running OS X El Capitan |
I know that is not good, but until craysiii#4 is fixed
Hey @andrewroth - Thanks for the info. This is definitely interesting and a bit puzzling. I was able to use the gem just fine on a clean install of High Sierra, with RVM installed through homebrew. Does this happen on all endpoints, or only certain ones? I will investigate further tonight after work. |
I've also encountered this error but have recently changed laptops. |
Hey @dave315 @andrewroth @juancgarza - Check out this github issue, which may have possible solutions for you. Seems like some people have had success setting the SSL_CERT_FILE environment variable and pointing it to an updated cacerts.pem like one would for the Windows fix. There are other solutions there as well, like upgrading to MRI 2.3+. Hope this helps. Report back regardless please! |
No go :(
|
another crypto library is having the same issue for people: ccxt/ccxt#452 |
That is really weird to say the least.. It would be easy to blame it on Binance, but I don't know if they really are the root cause, as I can ping and any other method just fine. How did you update your cacert.pem? What source did it come from? |
I got it from the link in the stackoverflow for the windows fix. curl.haxx.se.. But I just noticed it's an empty file, so let me re-download that and try again |
Yes, it works now! Thanks! |
Awesome! Happy coding :) |
Hey! First of all thanks for making this Gem.
I am getting a Faraday::SSLError... have you encountered that before? Everything else in my app is working fine but as soon as I start to use this client I encounter
Faraday::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed
Have you seen this before?
The text was updated successfully, but these errors were encountered: