LUCIT-Systems-and-Development / unicorn-binance-websocket-api

A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
685 stars 165 forks source link

SSL: CERTIFICATE_VERIFY_FAILED | example_userdata_stream.py #148

Closed da1k-matter closed 3 years ago

da1k-matter commented 3 years ago

Check this or we will delete your issue. (fill in the checkbox with an X like so: [x])

Select one:

Average system load (CPU)

8 cores, 15%

Hardware specification

Apple Silicone, M1

Operating System? (include version)

Which endpoint do you connect?

binance.com

Python Version Requirement

Exact Python Version?

Python 3.8.5

Pip Version?

pip 21.0.1 

Dependencies

Run pip list > pip_list.txt and upload the file.

UNICORN Binance WebSocket API Version?

Did you upgrade to the latest release version with `pip install unicorn-binance-websocket-api --upgrade`?
Yes.

Description of your issue

====================== unicorn-binance-websocket-api_1.28.0-python_3.8.5 ======================
 exchange: binance.com
 uptime: 0 seconds since 2021-02-16, 09:53:36 UTC
 streams: 1
 subscriptions: 0
 current_receiving_speed: 0 B/s
 average_receiving_speed: 0.0 B/s (per day 0.0 gB)
 highest_receiving_speed: 0 B/s (reached at 2021-02-16, 09:53:36 UTC)
 total_receives: 0
 total_received_bytes: 0 (0 B)
 total_transmitted_payloads: 0
 process_ressource_usage: cpu=9.0%, memory=169.34 mB, threads=5
 ---------------------------------------------------------------------------------------------
               stream_id              |   stream_label  |  last  |  average  |  most  | recon
 ---------------------------------------------------------------------------------------------
 203912a4-76bd-4ed5-855e-da44dab758cb | None            |      0 |       0.0 |      0 |      0 
 ---------------------------------------------------------------------------------------------
 all_streams                                            |      0 |       0.0 |      0 |      0 
===============================================================================================

CRITICAL:root:BinanceWebSocketApiConnection.await._conn.__aenter__(203912a4-76bd-4ed5-855e-da44dab758cb, ['arr'], ['!userData']) - OSError - error_msg: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)
CRITICAL:root:BinanceWebSocketApiManager.stream_is_crashing(203912a4-76bd-4ed5-855e-da44dab758cb)
====================== unicorn-binance-websocket-api_1.28.0-python_3.8.5 ======================

[pip_list.txt](https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/files/5987767/pip_list.txt)
oliver-zehentleitner commented 3 years ago

https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/wiki/Installation#for-brew-macos

oliver-zehentleitner commented 3 years ago

hm, the wiki page doenst work atm, it shows html code instead of rendered hypertext.

use this link instead: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/wiki/ssl.SSLCertVerificationError-on-Mac-OS