question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Binance certificate

See original GitHub issue

Calling method for binance raises certificate_verify_error e.g. ccxt.binance().fetch_ticker('BTC/USDT') raises [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748)

Headers: {‘User-Agent’: ‘ccxt/1.7.110 (+https://github.com/kroitor/ccxt) Python/3.6.2’, ‘Accept-Encoding’: ‘gzip, deflate’}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
walkjiveflycommented, Sep 22, 2017

I get the same SSL errors on my linux box when using the python embedded in LibreOffice 5.3. Yet the system python works OK. Something to do with them using different versions of OpenSSL I think. Easy workaround was to add

ssl._create_default_https_context = ssl._create_unverified_context

somewhere early in the code before attempting any urllib calls. The workaround came from stackoverflow. Probably there are security implications to it but if you just want the public (no apikey) stuff to work with the least amount of f***ing around then it’s an easy win.

0reactions
kroitorcommented, Sep 22, 2017

@walkjivefly it’s better to find and launch that install script to copy their bundled certificates to your LibreOffice environment, or configure LibreOffice somehow, otherwise you will indeed loose security with private calls. I’m not very familiar with LibreOffice, but if there’s a built-in terminal there, you can probably install those certificates inside it. Otherwise there should be an option in their preferences or configs. My 2 cents.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Blockchain For Everyone - Binance Academy
... from Binance Academy's standard-setting, interactive educational programs. Receive your NFT certificate after you finish the courses and complete quizzes.
Read more >
Complete Binance Academy's Free Crypto Beginner Course ...
Complete Binance Academy's Free Crypto Beginner Course for an NFT Certificate · Binance Academy has just launched its first free online course!
Read more >
Binance Academy: Learn All About Blockchain & Cryptocurrency
Interested in learning about blockchain, cryptocurrency, security, technology, or following along with tutorials? Binance Academy has all that and more!
Read more >
How to Get Started With Binance Academy Courses
This NFT is a certificate showing that you have successfully completed a study track at Binance Academy. There will be different collections ...
Read more >
Earn A Binance NFT Certificate, Mattel Launches A Hot ...
Binance To Give NFT-based Certificates As It Launches Free Crypto Courses - On Nov 17, Binance published free courses for its millions of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found