Xueheng-Li / SynologyChatbotGPT

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

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

Closed flyfox666 closed 1 year ago

flyfox666 commented 1 year ago

image 已经docer里面加了变量了。为啥还不行

flyfox666 commented 1 year ago

image

Xueheng-Li commented 1 year ago

确定是https://192.168.86.59….吗? 还是http://…?

flyfox666 commented 1 year ago

确定是https://192.168.86.59….吗? 还是http://…?

这个就是我跟着教程从ds chat 里的设置里弄出来的,我是在群晖上做的docker

flyfox666 commented 1 year ago

Error sending message to Synology Chat: HTTPConnectionPool(host='192.168.86.59', port=1984): Max retries exceeded with url: /webapi/entry.cgi?api=SYNO.Chat.External&method=chatbot&version=2&token=%22AX89ta6nwcJNbHctotkakm9jL9bLVxDSz5F3qq0mhSCwIjQhq83yfhvjNiD2p7G7%22 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fd366706200>, 'Connection to 192.168.86.59 timed out. (connect timeout=None)')) 现在的报错是这个

Xueheng-Li commented 1 year ago

群晖那边有收到省略号“…”吗?

flyfox666 commented 1 year ago

没有收到省略号

flyfox666 commented 1 year ago

image

Xueheng-Li commented 1 year ago

那就是还是没能连接到群晖,应该还是incoming webhook url没填对。

flyfox666   @. @.)>   2023年4月22日 23:47:23   wrote:

没有收到省略号

Reply to this email directly, view it on GitHub (https://github.com/Xueheng-Li/SynologyChatbotGPT/issues/17#issuecomment-1518689961), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AOX66BM7QANXUAKXOM5IDRDXCP4QXANCNFSM6AAAAAAXHVQ6WA).

You are receiving this because you commented.Message ID: @.***>

flyfox666 commented 1 year ago

image image 用了quickconnect的登陆试了下,后台我看了答案已经得到了,也没跳error,但是。。。chat里就是不行

Xueheng-Li commented 1 year ago

image image 用了quickconnect的登陆试了下,后台我看了答案已经得到了,也没跳error,但是。。。chat里就是不行

quickconnect 应该是不行的,如果这个 docker 就在跑在同一台群晖上,那么试试把incoming webhook url改为:http://127.0.0.1:1984/webapi/entry.cgi?api=SYNO.Chat.External&method=chatbot&version=2&token=%22AX89ta6nwcJNbHctotkakm9jL9bLVxDSz5F3qq0mhSCwIjQhq83yfhvjNiD2p7G7%22 或者 https://127.0.0.1:1984/webapi/entry.cgi?api=SYNO.Chat.External&method=chatbot&version=2&token=%22AX89ta6nwcJNbHctotkakm9jL9bLVxDSz5F3qq0mhSCwIjQhq83yfhvjNiD2p7G7%22 试试

flyfox666 commented 1 year ago

hi ,省略号收到啦。最后用外网vps穿透进去做了个chat链接就好了。感谢啦

sunnywinter81 commented 9 months ago

hi ,省略号收到啦。最后用外网vps穿透进去做了个chat链接就好了。感谢啦

能具体说一下吗? 我也是同样问题,没有解决方案

flyfox666 commented 8 months ago

hi ,省略号收到啦。最后用外网vps穿透进去做了个chat链接就好了。感谢啦

能具体说一下吗?

我也是同样问题,没有解决方案

用cloudflare tunnel 做一个内网的域名链接