Comments (7)
我也遇到这个问题,改了配置文件就好了,几乎100%成功。
docker-compose三个容器顺序依赖没搞好,只有很小概率能成功。我给改了下,成功率大幅增加了。用docker-compose up -d,不要用restart,restart不受依赖顺序控制。重启用这个:
docker-compose stop && docker-compose up -d && docker-compose logs -f | grep -v warp
看到welcome chatgpt就成功了,看日志不要着急,一般一分钟左右就好了。
version: '2.2'
services:
go-chatgpt-api:
container_name: go-chatgpt-api
image: linweiyuan/go-chatgpt-api
networks:
- chatgpt
ports:
- 8080:8080 # 宿主机8080端口可按需改为其它端口
environment:
- GIN_MODE=release
- CHATGPT_PROXY_SERVER=http://chatgpt-proxy-server:9515
- NETWORK_PROXY_SERVER=socks5://chatgpt-proxy-server-warp:65535
depends_on:
chatgpt-proxy-server:
condition: service_healthy
chatgpt-proxy-server-warp:
condition: service_healthy
restart: always
chatgpt-proxy-server:
container_name: chatgpt-proxy-server
image: linweiyuan/chatgpt-proxy-server
networks:
- chatgpt
depends_on:
chatgpt-proxy-server-warp:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "sleep 30"]
interval: 35s
timeout: 35s
retries: 3
restart: always
chatgpt-proxy-server-warp:
container_name: chatgpt-proxy-server-warp
image: linweiyuan/chatgpt-proxy-server-warp
networks:
- chatgpt
healthcheck:
test: ["CMD-SHELL", "sleep 30"]
interval: 35s
timeout: 35s
retries: 3
restart: always
networks:
chatgpt:
driver: bridge
from go-chatgpt-api.
看上去是处理验证码失败了
但是我找不到这个日志在代码里,如果是很早期的镜像,更新试试
from go-chatgpt-api.
ERRO[1836] Failed to handle captcha: timeout after 1m0.080626079s
ERRO[1958] Failed to handle captcha: timeout after 1m0.083302748s
ERRO[2078] Failed to handle captcha: timeout after 1m0.097839377s
ERRO[2198] Failed to handle captcha: timeout after 1m0.012158345s
ERRO[2319] Failed to handle captcha: timeout after 1m0.038026361s
ERRO[2439] Failed to handle captcha: timeout after 1m0.039863099s
ERRO[2562] Failed to handle captcha: timeout after 1m0.156540531s
有同样的错误 。
from go-chatgpt-api.
访问路径是要去掉 /backend-api么, 这个错误也遇到了
from go-chatgpt-api.
去不去掉要看你实际的配置
但和这个错误无关
from go-chatgpt-api.
from go-chatgpt-api.
@BOBOWA01 重启下 api
,如果还是这样,换个节点
还不行的话,没办法了,处理验证码失败,这个 api
不保证 100% 稳定可用
另外,如果你跑了一些 warp
脚本,需要注意下网络配置(这个我还不会配)
from go-chatgpt-api.
Related Issues (20)
- go-chatgpt-api 不向 ARKOSE_TOKEN_URL 发送请求就返回 Failed to get arkose token. HOT 1
- 可以在docker-compose里使用账号密码组来让他自动获取token吗? HOT 2
- chatgpt-proxy-server-warp 这个源代码为啥隐藏? HOT 6
- 和潘多拉联动的话,key还需要吗? HOT 2
- failed to start HOT 10
- refreshPuidErrorMessage HOT 2
- Post "https://chat.openai.com/backend-api/conversation": unexpected EOF HOT 1
- platform/login err HOT 7
- 更新了最新的镜像版本,还是报错nil和403 HOT 6
- 登录获取access token似乎还是有问题 HOT 2
- Latest Image does not locate .har file HOT 1
- 不支持vercel吗 HOT 1
- 大神回复真快 HOT 10
- 这个怎么使用,我点了render按钮。部署成功后返回service go-chatgpt-api is ready信息。 HOT 1
- 最新版镜像报错422,"none is not an allowed value" HOT 1
- 提问后拿不到结果 HOT 4
- chatgpt login err HOT 10
- tcr9i.chat.openai.com connect: connection timed out HOT 8
- AccessToken 和 模拟 apiKey 下的报错问题 HOT 3
- 如何模拟 https://api.openai.com/v1/models接口呢 HOT 2
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 go-chatgpt-api.