Giter Site home page Giter Site logo

Comments (42)

linweiyuan avatar linweiyuan commented on July 19, 2024 1

别 ping 百度,试下 ping google.com

或者 curl -v https://chat.openai.com,如果卡住,那么就是网络不通,然后通过 warp 代理再 curl 一遍,这个测试最靠谱

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

更新最新镜像可解决

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

image
使用得latest版本,不是最新得吗

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

重新 pull 一下,最新的我把这个打印去掉了

误导人

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

image
重新pull报错这个

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

image
代理服务正常

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

只是 pull 了,其他配置没改过报了这个错?

不应该,试下连 proxy 也重启一下,先 proxy 再 api

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

image
现在报这个错

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

参考下 #27

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

按照#27还是不行

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

那要换 IP 了

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

换服务器得ip吗?换台主机?

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

那么你参考那个 issue 访问 ipinfo.io 会返回什么

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

image
刚才重启了下,现在api没有日志了

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

image
api没有日志和这个报错有关系吗?

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

API 长期不出现 Welcome 可以重启一下

这个错误是连不上 Cloudflare,国外服务器?

本地部署也会这个错

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

API不出现Welcome 重启试过了,还是没有日志

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

你在这台服务器上开个代理,然后用自己电脑连到这个代理,接着访问 ChatGPT 官网,看正不正常

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

访问不了

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

国外服务器?哪个国家的

恐怕要换一台,因为连不上 ChatGPT 了

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

换了台主机,api还是没有日志,下面是各个服务截图
image
image
image

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

proxy 其实不用看,没有日志的

warp 看上去是连不上,要确保能连上外网,看看是否出站有限制

或者你试下别人说的在服务器上直接跑 warp 而不是容器

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

image
容器内是通外网的,是不是服务端的原因?

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

image
ping google不通,curl 网络不可达,这个需要配置什么

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

看下 #25

服务器在不在支持名单

其实你翻看记录会发现我问了你两遍哪个国家的服务器,你都没正面回答,国内肯定是不行的

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

用的国内服务器

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

国内服务做梯子可以吗?

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

如果要用,只能换一台国外的了

不是打广告,如果你要换国外的,我用的是 Vultr,这个支持支付宝,最低配 5美元一个月(我就用最低配),然后如果你用我的推荐链接注册,貌似我会有返利(我还没试过),如果你有兴趣我可以给链接,没有那就当我没说过

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

国内服务做梯子可以吗?

可以

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

行 你发我个连接

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

晚一点回家用电脑看看,不知道这个链接有没有更新

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

https://www.vultr.com/?ref=7372562

他的条例是这样的,如果到时我收到了 $10,可以给你转 $5

Refer Vultr.com and earn $10 per paid signup!

  1. $10 earned for every new unique paid user you refer.
  2. Referred users must be active for 30+ days and use at least $10 in payments to be counted as verified sales.
  3. Payouts are finalized and issued on the business day following the 1st and 15th of each month.
  4. Your referral link below uniquely identifies your account. Use this code when linking to Vultr.com and start earning today!

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

好的 不使用docker部署,有没有包

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

参考:#54 (comment)

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

image
image
做了梯子warp curl opena可以通,api还是报错

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

image
请求报错

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

image
image
容器内都通外网,怎么还会连不上?

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

NETWORK_PROXY_SERVER 填 http://123.127.221.23:7890(换掉 warp 配置)

看看会发生什么

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

可以了,原来的地址什么原因连不上的?

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

不确定你的网络环境,下面是我猜的

看到日志 curl 的时候其实设置了代理,但是直接启动 warp 容器,容器不认识这个代理,没有通过代理出去,所以网络不通

然后因为通过这个 7890 可以连通外网,所以就换成这个

至于 warp,是 Access denied 才要用的,前提是网络要通,现在能直连,那就不用,最好了

from go-chatgpt-api.

lsw1589034474 avatar lsw1589034474 commented on July 19, 2024

7890是做了代理得端口,容器使用了宿主机得全局代理,容器得请求都会通过7890端口去代理,curl是可以用,代理日志也可以warp请求已经代理到了,全局代理是http和https,warp会不会通过四层得方式去连接,没有被代理到?

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

不清楚,还不是很懂这个 warp

from go-chatgpt-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.