Comments (12)
netstat -tnpl | grep 8080
from go-chatgpt-api.
/app # netstat -npt
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 172.17.0.6:42328 172.17.0.3:9515 ESTABLISHED 1/go-chatgpt-api
/app # netstat -tnpl | grep 8080
/app #
from go-chatgpt-api.
看下 go-chatgpt-api
的日志,你是用 docker 还是 compose 还是什么方式跑的?
from go-chatgpt-api.
docker 起的 ,warp 是我有自己启的,所以用了自己的。
➜ go-chatgpt-api git:(main) sudo docker logs -f go-chatgpt-api
ERRO[0145] Failed to handle captcha: timeout after 1m0.257818442s
ERRO[0270] Failed to handle captcha: timeout after 1m0.028974455s
/app # env
HOSTNAME=284b1bb2eb20
SHLVL=1
WARP_PORT_1080_TCP_ADDR=172.17.0.5
HOME=/root
OLDPWD=/var
WARP_PORT_1080_TCP_PORT=1080
WARP_PORT_1080_TCP_PROTO=tcp
CHATGPT_PROXY_SERVER_ENV_MIRROR_URL=https://mirrors.bfsu.edu.cn/archlinux/$repo/os/$arch
CHATGPT_PROXY_SERVER_NAME=/go-chatgpt-api/chatgpt-proxy-server
TERM=xterm
WARP_PORT_1080_TCP=tcp://172.17.0.5:1080
WARP_PORT=tcp://172.17.0.5:1080
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
CHATGPT_PROXY_SERVER=http://chatgpt-proxy-server:9515
WARP_NAME=/go-chatgpt-api/warp
GIN_MODE=release
CHATGPT_PROXY_SERVER_ENV_LANG=C.UTF-8
PWD=/app
NETWORK_PROXY_SERVER=socks5://warp:1080
CHATGPT_PROXY_SERVER_ENV_SUDO_USER_NAME=linweiyuan
from go-chatgpt-api.
warp 生效了,但是处理验证码失败了
验证码一般是偶尔弹,有时能处理有时就是这样报错,通常重启 API 就不弹验证码了
如果一直弹,可能是服务器 IP 被重点关注了
通常免费的节点会一直弹验证码,但是自己服务器就比较少见
我曾经用免费的节点测试过,会一直弹验证码,无论程序点还是人手点多少次
对于这种情况暂时我也无能为力
warp 会修改网络配置,不确定是否有关
default.mp4
from go-chatgpt-api.
应该是这个问题。看样,偶尔还要运气啊。
from go-chatgpt-api.
同一个 WARP,用 Chrome 手动打开游览器,验证都不弹。难道 CF又加强了验证?
from go-chatgpt-api.
这个不是很清楚
from go-chatgpt-api.
代理要正常工作,需要三个容器 api proxy warp 这个有办法测试吗? warp 正常与否可以用curl 代理。
proxy 是我这里一直是
sudo docker logs -f chatgpt-proxy-server
Starting ChromeDriver 111.0.5563.64 (c710e93d5b63b7095afe8c2c17df34408078439d-refs/branch-heads/5563@{#995}) on port 9515
All remote connections are allowed. Use an allowlist instead!
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
Starting ChromeDriver 111.0.5563.64 (c710e93d5b63b7095afe8c2c17df34408078439d-refs/branch-heads/5563@{#995}) on port 9515
All remote connections are allowed. Use an allowlist instead!
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
API 是上面说的错误。
from go-chatgpt-api.
至今没成功过吗?
哪个国家的服务器?
如果你晚上有空的话,可以提供服务器信息给我连下看看,不保证能解决
from go-chatgpt-api.
找到原因了,由于我是用 docker 启动,并且是通过link 加的容器名。
少加了一个,谢谢你的支持。
from go-chatgpt-api.
https://platform.openai.com/docs/supported-countries
韩国服务器似乎不在名单上,换一台试试
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.