Bitmex sample-market-maker [SSL: CERTIFICATE_VERIFY_FAILED]

238 Views Asked by At

I setup Bitmex sample-market-maker using python and after running marketmaker XBTUSD I get this output:

2020-05-14 00:29:58,439 - INFO - market_maker - BitMEX Market Maker Version: v1.1

2020-05-14 00:29:58,439 - INFO - ws_thread - Connecting to wss://testnet.bitmex.com/realtime?subscribe=quote:XBTUSD,trade:XBTUSD,instrument,order:XBTUSD,execution:XBTUSD,margin,position
2020-05-14 00:29:58,439 - INFO - ws_thread - Authenticating with API Key.
2020-05-14 00:29:58,440 - INFO - ws_thread - Started thread
2020-05-14 00:29:58,733 - ERROR - ws_thread - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)
2020-05-14 00:29:58,734 - INFO - ws_thread - Websocket Closed
2020-05-14 00:29:59,445 - ERROR - ws_thread - Couldn't connect to WS! Exiting.

I don't need to update my OS, python, or pip, and the site certificate is valid. Please help!

0

There are 0 best solutions below