linweiyuan/go-chatgpt-api

404 error,

justincnn opened this issue · 7 comments

my vps can access openai via warp,

dock yml:

services:
go-chatgpt-api:
container_name: go-chatgpt-api
image: linweiyuan/go-chatgpt-api
ports:
- 8080:8080
environment:
- GIN_MODE=release
- GO_CHATGPT_API_PROXY=
restart: unless-stopped

go-chatgpt-api | [GIN] 2023/05/05 - 09:27:25 | 404 | 2.304µs | 10.0.0.87 | POST "/conversation"
go-chatgpt-api | [GIN] 2023/05/05 - 09:27:27 | 404 | 2.254µs | 10.0.0.87 | POST "/conversation"
go-chatgpt-api | [GIN] 2023/05/05 - 09:27:27 | 404 | 2.755µs | 10.0.0.87 | POST "/conversation"
go-chatgpt-api | [GIN] 2023/05/05 - 09:27:28 | 404 | 2.565µs | 10.0.0.87 | POST "/conversation"
go-chatgpt-api | [GIN] 2023/05/05 - 09:27:29 | 404 | 2.585µs | 10.0.0.87 | POST "/conversation"
go-chatgpt-api | [GIN] 2023/05/05 - 09:27:29 | 404 | 2.224µs | 10.0.0.87 | POST "/conversation"
go-chatgpt-api | [GIN] 2023/05/05 - 09:27:30 | 404 | 2.605µs | 10.0.0.87 | POST "/conversation"

image
是不是路由变了

不是它变了,我这边变了,昨晚改了所有 API 链接,方便管理,/chatgpt/conversation

好的

不是它变了,我这边变了,昨晚改了所有 API 链接,方便管理,/chatgpt/conversation

thanks for your help

一键部署的可以修改这里

image

一键部署的可以修改这里

image

ConnectionRefusedError: [Errno 111] Connect call failed ('172.26.0.3', 8080)

改了还是不行,config.yaml 需要改么?

go-chatgpt-api 没起来,看下它的日志