swordintent / chatgpt-web-api

A Java Version ChatGPT SDK
MIT License
39 stars 12 forks source link

requests.exceptions.ConnectTimeout: HTTPSConnectionPool( #13

Open seanhuangjf opened 1 year ago

seanhuangjf commented 1 year ago

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001BCAED31C90>, 'Connection to api.openai.com timed out. (connect timeout=None)'))

liuhe36 commented 1 year ago

You need to ensure that a connection can be established between your server and the openai server.