PawanOsman / ChatGPT

OpenAI API Free Reverse Proxy
https://discord.pawan.krd
GNU Affero General Public License v3.0
5.62k stars 990 forks source link

My VPS is in US,and got this!Please help me #115

Closed yichengming closed 7 months ago

yichengming commented 7 months ago

{ "status": false, "error": { "message": "Error getting a new session, If this error persists, your country may not be supported yet. If your country was the issue, please consider using a U.S. VPN or a U.S. residential proxy.", "type": "invalid_request_error" }, "support": "https://discord.pawan.krd" }

SleepInfinity commented 7 months ago

You may have been blocked from openai because I also tried deploying the api to replit.com and it worked in the beginning but after some requests I started getting this error.

SleepInfinity commented 7 months ago

@PawanOsman you may need to modify the app so it report the error given by the openai api instead of just giving this response everytime.

Marks-Jack commented 7 months ago

I encountered the same error

buhe commented 7 months ago

Same

PawanOsman commented 7 months ago

@yichengming, @buhe , @Marks-Jack Please use a U.S. VPN. If you are already using one, OpenAI may blocked your IP/VPN IP, please use another VPN/IP.

and note that most of the VPS IPs are blocked by OpenAI while they are not residential IPs, so i suggest you to run it locally and use the Cloudflared tunnel to make it public

yichengming commented 6 months ago

@PawanOsman you may need to modify the app so it report the error given by the openai api instead of just giving this response everytime.

But,chatgpt without login works fine on my VPS。

@PawanOsman you may need to modify the app so it report the error given by the openai api instead of just giving this response everytime. I have no problem using chatgpt without login on vps.This proves that my IP is not blocked, right?

PawanOsman commented 6 months ago

@yichengming, if you're a developer, you must understand the difference between a browser and an API. Using ChatGPT in your browser is not the same as using it via an API!!!!

Cloudflare will block you if you use it as an API!!! not in your browser. Please understand!!!!

mdervisaygan commented 6 months ago

@yichengming, eğer bir geliştiriciyseniz tarayıcı ile API arasındaki farkı anlamalısınız. ChatGPT'yi tarayıcınızda kullanın, onu bir API aracılığıyla kullanmakla aynı şey değildir!!!!

Cloudflare'i API olarak kullanırsanız sizi engeller!!! tarayıcınızda değil. Lütfen anlayın!!!!

Hello, I tested it yesterday but I think it's not Cloudflare blocking it. Chatgpt gives bad request error. As far as I understand, it is a system built on clean ip addresses that offers access without asking for account information when accessed from the incognito tab.

I discovered the repository yesterday. I was sending queries using cookies of thousands of accounts with Request but I couldn't generate the proof token. Thanks to your repository I can use it without any problem. Thank you. If I knew Typescript, I would add my code to your repository about switching to cloudflare and sending requests using cookies. I can't add it because I don't know Typescript. If there is a problem with cloudflare, libraries like puppeteer-real-browser, cloudflare scraper are useful.