Giter VIP home page Giter VIP logo

Comments (13)

zzhhxx avatar zzhhxx commented on July 20, 2024 7

兄弟你是怎么部署的,怎么我用美国VPS部署仍然报错提示让我用美国VPN?

我也是美国小鸡。。。可能你的IP不太行🤔

用curl测试发现是机器人检查过不了,并不是无权限访问。对于你开贴的问题其实挺简单的,让GPT-4帮你写一个key验证,或者限制IP访问这个项目端口就行了。

如果使用反代的话,在相应的nginx配置中增添如下代码即可(写死的,也可以自己优化优化)

location / {
        if ($http_authorization != "Bearer your_access_token") {
            return 403; 
        }
        proxy_pass http://反代的地址;
    }

from freegpt35.

SunnyGPT avatar SunnyGPT commented on July 20, 2024 1

兄弟你是怎么部署的,怎么我用美国VPS部署仍然报错提示让我用美国VPN?

我也是美国小鸡。。。可能你的IP不太行🤔

用curl测试发现是机器人检查过不了,并不是无权限访问。对于你开贴的问题其实挺简单的,让GPT-4帮你写一个key验证,或者限制IP访问这个项目端口就行了。

from freegpt35.

missuo avatar missuo commented on July 20, 2024

It's possible, but not necessary.

from freegpt35.

i2qaq avatar i2qaq commented on July 20, 2024

afraid to get 429 if someone else abuses my endpoint 😔

from freegpt35.

SunnyGPT avatar SunnyGPT commented on July 20, 2024

兄弟你是怎么部署的,怎么我用美国VPS部署仍然报错提示让我用美国VPN?

from freegpt35.

i2qaq avatar i2qaq commented on July 20, 2024

兄弟你是怎么部署的,怎么我用美国VPS部署仍然报错提示让我用美国VPN?

我也是美国小鸡。。。可能你的IP不太行🤔

from freegpt35.

dannyask avatar dannyask commented on July 20, 2024

接入到oneapi不久行了,由oneapi管理key

from freegpt35.

huawuhen avatar huawuhen commented on July 20, 2024

afraid to get 429 if someone else abuses my endpoint

你咋想的,你部署在vps的特征是明显的,人家扫你vps就能扫到你这个服务,干嘛去管你的oneapi

from freegpt35.

huawuhen avatar huawuhen commented on July 20, 2024

afraid to get 429 if someone else abuses my endpoint

你咋想的,你部署在vps的特征是明显的,人家扫你vps就能扫到你这个服务,干嘛去管你的oneapi

好吧,也许我错了。如果与oneapi部署在同一服务器上确实可行。

from freegpt35.

missuo avatar missuo commented on July 20, 2024

afraid to get 429 if someone else abuses my endpoint

你咋想的,你部署在vps的特征是明显的,人家扫你vps就能扫到你这个服务,干嘛去管你的oneapi

He's right. Listen on 127.0.0.1.

ufw deny 3040

from freegpt35.

zzhhxx avatar zzhhxx commented on July 20, 2024

afraid to get 429 if someone else abuses my endpoint

你咋想的,你部署在vps的特征是明显的,人家扫你vps就能扫到你这个服务,干嘛去管你的oneapi

好吧,也许我错了。如果与oneapi部署在同一服务器上确实可行。

docker限制127.0.0.1,反代再加个请求头应该就没啥问题了吧

docker run -d \
  --restart=always \
  -p 127.0.0.1:3040:3040 \
  --name freegpt35 \
  ghcr.io/missuo/freegpt35

from freegpt35.

gllgoe avatar gllgoe commented on July 20, 2024

Error refreshing session ID, retrying in 1 minute... If this error persists, your country may not be supported yet. If your country was the issue, please consider using a U.S. VPN

from freegpt35.

gllgoe avatar gllgoe commented on July 20, 2024

"status":false,"error":{"message":"The requested endpoint was not found. please make sure to use "http://localhost:3040/v1\" as the base URL.","type":"invalid_request_error"}}

from freegpt35.

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.