fanchunke / chatgpt-wecom

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

服务器能接收到企业微信的消息,但没有回复呀 #32

Open 44571366 opened 1 year ago

44571366 commented 1 year ago

[90m2023-03-04T10:59:52Z ERROR ../../../app/internal/api/receive.go:43 > Get GPT Response error: CreateCompletion failed: Post "https://api.openai.com/v1/completions": dial tcp 168.143.171.93:443: i/o timeout error="CreateCompletion failed: Post \"https://api.openai.com/v1/completions\": dial tcp 168.143.171.93:443: i/o timeout" 2023/03/04 10:59:52 CreateCompletion failed: Post "https://api.openai.com/v1/completions": dial tcp 168.143.171.93:443: i/o timeout

44571366 commented 1 year ago

是腾讯云服务器不让访问api.openai.com的IP了吗,我发现本地ping 是可以通的,服务器ping是不通的

Jas0nxlee commented 1 year ago

一样的问题。

albertofwb commented 1 year ago

前两天国内全面禁止了 chatgpt 的 API 如果服务器部署在国内 vps 上,则会出现上面的网络不通 可以在你的 vps 使用 curl -v api.openai.com

你会发现根本没有回复,因为被墙了

shaowin16 commented 1 year ago

有什么办法解决吗

femj007 commented 1 year ago

使用proxy或者用国外的VPS吧