Xueheng-Li / SynologyChatbotGPT

A multi-talented chatbot that integrates OpenAI api and Synology Chat.
https://github.com/Xueheng-Li/SynologyChatbotGPT
MIT License
160 stars 30 forks source link

无法向机器人服务器发送请求。请联系机器人拥有者。 #9

Closed appssvip closed 1 year ago

appssvip commented 1 year ago

环境:群晖 chat里发送消息,chat里提示:“无法向机器人服务器发送请求。请联系机器人拥有者。” puty中报错如下: openai.error.APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)')))

Xueheng-Li commented 1 year ago

换个代理/节点,再试试。

appssvip commented 1 year ago

在哪里设置代理/节点呢 代码里吗

appssvip commented 1 year ago

新报错: raise error.APIConnectionError( openai.error.APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f46f795ee00>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

Xueheng-Li commented 1 year ago

1、关于群晖那边的桌面程序老提示“无法向机器人服务器发送请求。请联系机器人拥有者”, 是重复的issue

2、关于你的报错,意思是没能连上 openai的 api,这个不是程序问题,大概率是你的网络本来就连不上openai的 api。

Xueheng-Li commented 1 year ago

在哪里设置代理/节点呢 代码里吗

你搭梯子的地方。