解决ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
问题代码:async def call_wss_api(msg): async with websockets.connect('wss://xxx.com/tool/handle') as websocket: await websocket.send(msg) response = "" count = 0 while websocket.open: response = await websocket.
原创
2022-04-20 18:46:08 ·
17173 阅读 ·
1 评论