fanchunke / chatgpt-wecom

企业微信接入 GPT3
MIT License
352 stars 98 forks source link

返回信息失败 #39

Open chenbe1990 opened 1 year ago

chenbe1990 commented 1 year ago

` {"level":"debug","time":"2023-03-07T11:07:46Z","caller":"/go/pkg/mod/github.com/fanchunke/xgpt3@v0.1.4/client.go:219","message":"User: cxkj_xxx, Messages with conversation: [{\"role\":\"user\",\"content\":\ "测试\"}]"} {"level":"error","error":"CreateCompletion failed: Post \"https://api.openai.com/v1/chat/completions\": dial tcp: lookup api.openai.com: device or resource busy","time":"2023-03-07T11:07:46Z","caller":"/app /internal/api/receive.go:59","message":"Get GPT Response error: CreateCompletion failed: Post \"https://api.openai.com/v1/chat/completions\": dial tcp: lookup api.openai.com: device or resource busy"}

` 请问各位大佬,这问题怎么解决?

MybeautifulSunShine commented 1 year ago

这个看信息不是程序的错把

chenbe1990 commented 1 year ago

vps是美国的,能正常访问openai,排除网络环境问题。

MybeautifulSunShine commented 1 year ago

有道理啊我的也是 单独访问没问题 image 但是用程序调用确是返回 image 我用的是v2raya进行代理的 https://v2raya.org/docs/advanced-application/pass-bt/ 并且根据上面的文档设置了docker启动的代理转发 但是还是报这个错误信息 是什么原因呢 ?