chatgpt-mirai-qq-bot icon indicating copy to clipboard operation
chatgpt-mirai-qq-bot copied to clipboard

[WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。

Open dufe opened this issue 1 year ago • 1 comments

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001FC12BA9D90>: Failed to establish a new connection: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。'))

运行环境:

  • 操作系统:win10 image

dufe avatar Mar 03 '23 04:03 dufe

用API时不走代理端口,我也发现了,Clash开系统代理就正常了

shenhuyong avatar Mar 03 '23 05:03 shenhuyong

stale

lss233 avatar Mar 31 '23 01:03 lss233