Open ysquare opened 3 years ago
Hi, I came across the following error when trying to run example/account/get_account_balance.py provided with Huobi Python SDK.
Can anyone provide some guidance on how to get around this? Thanks!
Task exception was never retrieved future: <Task finished name='Task-1' coro=<AccountClient.async_get_account_balance() done, defined at C:\Python\Python38\lib\site-packages\huobi_client-2.0.0-py3.8.egg\huobi\client\account.py:56> exception=ClientConnectorCertificateError(ConnectionKey(host='api.huobi.pro', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None), SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1108)'))>
huobi/client/account.py 57 async with aiohttp.ClientSession(connector=aiohttp.TCPConnector(verify_ssl=False)) as session:
Hi, I came across the following error when trying to run example/account/get_account_balance.py provided with Huobi Python SDK.
Can anyone provide some guidance on how to get around this? Thanks!
Task exception was never retrieved future: <Task finished name='Task-1' coro=<AccountClient.async_get_account_balance() done, defined at C:\Python\Python38\lib\site-packages\huobi_client-2.0.0-py3.8.egg\huobi\client\account.py:56> exception=ClientConnectorCertificateError(ConnectionKey(host='api.huobi.pro', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None), SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1108)'))>