I am trying to use API and perform simple requests, such as balances. However it works fine on Windows 10, but not on Windows 7. I tried two Windows 7 computers, and I get the same certificate error with code:
class accaunt_huobi(object):
def __init__(self):
self.account_client = AccountClient(api_key=key_pub,
def balance_huobi_list(self):
balance = self.account_client.get_account_balance()[0]

The error code is:
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host api.huobi.pro:443 ssl:True [SSLCertVerificationError: (1, [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1125))]

Reddit anzeigen durch Luciano77Quelltext anzeigen