Comments (25)
你的网还是请求不到 api.openai.com, 实在需要用,还是建议这个方式:#13 (comment)
from chatgpt-ui.
重点要感谢你的分享,谢谢了。
from chatgpt-ui.
🧱墙内已经无法请求API啦~
最好能部署在墙外
from chatgpt-ui.
收到, 谢谢了,如果只是这个原因, 我就好解决了。
from chatgpt-ui.
是否我在部署的服务器上再部署VPN 科学上网,就能解决问题了?
from chatgpt-ui.
Failed to send message. HTTP 200 - OK ,
重新部署VPN 后,报错变成这个了。。。
from chatgpt-ui.
写了一个 shell 脚本,可以直接部署到 vps 上,看 Readme
from chatgpt-ui.
谢谢你的回复,我刚才做了全局VPN调试,同时看了docker日志,重新部署后,API已经没有报错了。但是输入文字后,立刻出现截图的报错,之前所有报错都要等,这个报错是秒出。
from chatgpt-ui.
好的, 我重新按您新的脚本部署测试一下,谢谢。
from chatgpt-ui.
管理面板能访问吗?需要登录管理面板设置一个api key
from chatgpt-ui.
再次谢谢你,一切都正常,API ,管理界面,连接openAI网站,设置,我都搞定了,但是还是报Failed to send message. HTTP 500 - Internal Server Error,我认为唯一和您不同的地方, 就是我是用Centos7.9 2009 部署的。其他我想不出有什么问题,你这边可以远程帮我看看吗?
from chatgpt-ui.
给我留个邮箱
from chatgpt-ui.
[email protected]
现在报错又变成了秒出的 Failed to send message. HTTP 400 - Bad Request 。
[root@localhost chatgpt-ui]# curl -I https://api.openai.com
HTTP/1.1 200 Connection established
curl: (35) TCP connection reset by peer
这个连接是正常的吗?如果确实是被拒绝,我再修改。
from chatgpt-ui.
之前的日志,看到有api.openai.com的报错 ,但是现在日志没看到有报错
chatgpt-ui-backend-wsgi-server-1 | 2023-03-05T03:44:29.863044569Z 172.18.0.3 - - [05/Mar/2023:03:44:29 +0000] "POST /api/conversation/ HTTP/1.0" 400 53 "http://192.168.1.67/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
chatgpt-ui-client-1 | 2023-03-05T03:44:29.863133707Z 192.168.1.62 - - [05/Mar/2023:03:44:29 +0000] "POST /api/conversation/ HTTP/1.1" 400 53 "http://192.168.1.67/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "-"
chatgpt-ui-backend-web-server-1 | 2023-03-05T03:44:29.863042871Z 172.18.0.4 - - [05/Mar/2023:03:44:29 +0000] "POST /api/conversation/ HTTP/1.0" 400 53 "http://192.168.1.67/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "192.168.1.62"
chatgpt-ui-backend-wsgi-server-1 | 2023-03-05T03:45:30.618874615Z 172.18.0.3 - - [05/Mar/2023:03:45:30 +0000] "POST /api/conversation/ HTTP/1.0" 400 53 "http://192.168.1.67/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
chatgpt-ui-backend-web-server-1 | 2023-03-05T03:45:30.618982023Z 172.18.0.4 - - [05/Mar/2023:03:45:30 +0000] "POST /api/conversation/ HTTP/1.0" 400 53 "http://192.168.1.67/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "192.168.1.62"
chatgpt-ui-client-1 | 2023-03-05T03:45:30.618988258Z 192.168.1.62 - - [05/Mar/2023:03:45:30 +0000] "POST /api/conversation/ HTTP/1.1" 400 53 "http://192.168.1.67/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "-"
from chatgpt-ui.
你好,可能使用代理还是连接不上 openai 哦,这是正常的情况:
你可以看看这个方案去配置一个代理,noobnooc/noobnooc#9,
然后在 backend-wsgi-server
这个容器中增加一个环境变量 OPENAI_API_PROXY=http://proxy
来使用代理
from chatgpt-ui.
测试已经连上了。
但是仍然报400错误,而且我输入的消息,在9000的管理后台看不到。感觉直接被程序拒绝没有输出到chatGPT.之前虽然报500错误,但是可以在管理页面的message看到我曾经发的消息。
from chatgpt-ui.
from chatgpt-ui.
from chatgpt-ui.
晕死, 改了小写,重启docker compose up -d,看到信息了。
但是又开始报502 错误 和 500 错误。
from chatgpt-ui.
又一个重要因素会不会影响,本机有双网卡,内网和外网,外网有网关和DNS,需要对docker网络做什么设置吗?
from chatgpt-ui.
看看 docker compose 的请求日志,对症下药
from chatgpt-ui.
from chatgpt-ui.
你可以远程向日葵看看也行.
from chatgpt-ui.
怎么样?解决了吗?如果没有别的问题,我就把这个 Issue 关闭😀
from chatgpt-ui.
from chatgpt-ui.
Related Issues (20)
- Use console.log, there is no printing
- embedding_document 接口报 500 错误 HOT 2
- docker中的chatgpt_ui_wsgi_server image可以修改吗,还是直接拉docker.io的镜像
- 运行 yarn dev后卡在Vite client warmed up in 22767ms
- 为什么使用ssr,实现一个AI对话UI
- 后端无法添加account.apps.AccountConfig去自定义user
- support image/files upload HOT 1
- 添加api key后,访问客户端提问响应超时
- 需要支持google的gemini,我测试了不输gpt3.5,还免费
- Unable to set up the backend. With Traefik on Docker Swarm HOT 2
- Exceeded current quota
- 添加正确的api key,服务器使用达拉斯的服务器,请求失败
- 页面显示问题 HOT 2
- ERROR input.replace is not a function
- 为什么我用户名和密码输入正确,同时服务端返回 "POST /admin/login/?next=/admin/ HTTP/1.1" 200 4303,但依旧登录不进去
- 自定义本地模型部署
- 比较喜欢这个界面。但尝试在 VPS 上使用 docker 安装配置后,碰到了一系列奇怪的问题,最后只好放弃。
- node .output/server/index.mjs HOT 5
- use gunicorn,can't get data from settings.py HOT 1
- You will get error jump results if you set up ACCOUNT_EMAIL_VERIFICATION
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-ui.