chatgpt-web icon indicating copy to clipboard operation
chatgpt-web copied to clipboard

request to https://api.openai.com/v1/chat/completions failed, reason: connect ECONNREFUSED 127.0.0.1:1080

Open dianbashuanga opened this issue 1 year ago • 7 comments

大佬,我在群晖docker里用sock部署chenzhaoyu94-chatgpt-web,聊天的时候返回“request to https://api.openai.com/v1/chat/completions failed, reason: connect ECONNREFUSED 127.0.0.1:1080”,请问是啥原因呢?用的SSR.

dianbashuanga avatar Mar 06 '23 05:03 dianbashuanga

国内接口被墙了,可以使用代理

gouguoyin avatar Mar 06 '23 05:03 gouguoyin

用这个试试 https://openapi.ssiic.com

gokele avatar Mar 06 '23 08:03 gokele

用这个试试 https://openapi.ssiic.com

这个可以,感谢

l304474555 avatar Mar 07 '23 00:03 l304474555

请问https://openapi.ssiic.com/ 如何使用啊?

用这个试试 https://openapi.ssiic.com

jerryzhang721 avatar Mar 07 '23 08:03 jerryzhang721

也是一个用法 修改api的接口就行

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年3月7日(星期二) 下午4:23 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Chanzhaoyu/chatgpt-web] request to https://api.openai.com/v1/chat/completions failed, reason: connect ECONNREFUSED 127.0.0.1:1080 (Issue #335)

请问https://openapi.ssiic.com/ 如何使用啊?

用这个试试 https://openapi.ssiic.com

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

gokele avatar Mar 07 '23 08:03 gokele

也是一个用法 修改api的接口就行 ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年3月7日(星期二) 下午4:23 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Chanzhaoyu/chatgpt-web] request to https://api.openai.com/v1/chat/completions failed, reason: connect ECONNREFUSED 127.0.0.1:1080 (Issue #335) 请问https://openapi.ssiic.com/ 如何使用啊? 用这个试试 https://openapi.ssiic.com — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

大佬能说具体点吗?

jerryzhang721 avatar Mar 07 '23 08:03 jerryzhang721

OPENAI_API_BASE_URL= 'https://openapi.ssiic.com'

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年3月7日(星期二) 下午4:34 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Chanzhaoyu/chatgpt-web] request to https://api.openai.com/v1/chat/completions failed, reason: connect ECONNREFUSED 127.0.0.1:1080 (Issue #335)

也是一个用法 修改api的接口就行 … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年3月7日(星期二) 下午4:23 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Chanzhaoyu/chatgpt-web] request to https://api.openai.com/v1/chat/completions failed, reason: connect ECONNREFUSED 127.0.0.1:1080 (Issue #335) 请问https://openapi.ssiic.com/ 如何使用啊? 用这个试试 https://openapi.ssiic.com — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

大佬能说具体点吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

gokele avatar Mar 07 '23 12:03 gokele