Giter Site home page Giter Site logo

Comments (13)

Ezi1h avatar Ezi1h commented on August 16, 2024 1

@PawanOsman Hi, I also deployed it to the vps in Los Angeles, but it was unstable, and I always encountered this error frequently. It must not be that the ip was banned, otherwise I would not receive a response. I directly connected the xray proxy on this vps in my local Windows. And it can be used normally without logging in to https://chat.openai.com/ in the browser, and the response speed is normal. I do not know how to solve this problem😢...

Its possible that they are banning your server's ip temporary

The banned timing seemed very short, I sent it a few times, then I got an error, sent it again normally, In ten attempts, there may be two to three errors...😂

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

Can you show us how are you making the request to the api?

from chatgpt.

PawanOsman avatar PawanOsman commented on August 16, 2024

@sudityashrivastav Your request should not contain anything against OpenAI policy

from chatgpt.

somenzz avatar somenzz commented on August 16, 2024

I'm running it on my LA server.

curl http://127.0.0.1:3040/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer any_string_you_like" -d '{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"stream": false
}'
{"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"}

from chatgpt.

lyh0825 avatar lyh0825 commented on August 16, 2024

I'm running it on my LA server.

curl http://127.0.0.1:3040/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer any_string_you_like" -d '{ "model": "gpt-3.5-turbo", "messages": [ { "role": "user", "content": "Hello!" } ], "stream": false }' {"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"}

I had the same problem. Did you solve it

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

I'm running it on my LA server.

curl http://127.0.0.1:3040/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer any_string_you_like" -d '{ "model": "gpt-3.5-turbo", "messages": [ { "role": "user", "content": "Hello!" } ], "stream": false }' {"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"}

Your country may be blocked from accessing chat gpt without login.
Try go to chatgpt.com on a new browser
If you can't access it it means your country is blocked.

from chatgpt.

PawanOsman avatar PawanOsman commented on August 16, 2024

@somenzz The project is still working. The only issue, I believe, is that your IP might be blocked by OpenAI, or you need to use a good IP address.
Note that you have a very small chance of success using VPS, shared hosting, or shared IPs. You must use a residential IP to be able to access it.

from chatgpt.

Ezi1h avatar Ezi1h commented on August 16, 2024

@PawanOsman Hi, I also deployed it to the vps in Los Angeles, but it was unstable, and I always encountered this error frequently. It must not be that the ip was banned, otherwise I would not receive a response. I directly connected the xray proxy on this vps in my local Windows. And it can be used normally without logging in to https://chat.openai.com/ in the browser, and the response speed is normal. I do not know how to solve this problem😢...

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

@PawanOsman Hi, I also deployed it to the vps in Los Angeles, but it was unstable, and I always encountered this error frequently. It must not be that the ip was banned, otherwise I would not receive a response. I directly connected the xray proxy on this vps in my local Windows. And it can be used normally without logging in to https://chat.openai.com/ in the browser, and the response speed is normal. I do not know how to solve this problem😢...

Its possible that they are banning your server's ip temporary

from chatgpt.

m00nfly avatar m00nfly commented on August 16, 2024

@PawanOsman Hi, I also deployed it to the vps in Los Angeles, but it was unstable, and I always encountered this error frequently. It must not be that the ip was banned, otherwise I would not receive a response. I directly connected the xray proxy on this vps in my local Windows. And it can be used normally without logging in to https://chat.openai.com/ in the browser, and the response speed is normal. I do not know how to solve this problem😢...

Using a VPS IP can easily trigger cloudflare's robot identification mechanism, so there is a high probability that your IP cannot pass the verification of real people and robots.

from chatgpt.

Ezi1h avatar Ezi1h commented on August 16, 2024

@PawanOsman Hi, I also deployed it to the vps in Los Angeles, but it was unstable, and I always encountered this error frequently. It must not be that the ip was banned, otherwise I would not receive a response. I directly connected the xray proxy on this vps in my local Windows. And it can be used normally without logging in to https://chat.openai.com/ in the browser, and the response speed is normal. I do not know how to solve this problem😢...

Using a VPS IP can easily trigger cloudflare's robot identification mechanism, so there is a high probability that your IP cannot pass the verification of real people and robots.

But I have to use vps because openai is not allowed in my country... 😭

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

@PawanOsman Hi, I also deployed it to the vps in Los Angeles, but it was unstable, and I always encountered this error frequently. It must not be that the ip was banned, otherwise I would not receive a response. I directly connected the xray proxy on this vps in my local Windows. And it can be used normally without logging in to https://chat.openai.com/ in the browser, and the response speed is normal. I do not know how to solve this problem😢...

Using a VPS IP can easily trigger cloudflare's robot identification mechanism, so there is a high probability that your IP cannot pass the verification of real people and robots.

But I have to use vps because openai is not allowed in my country... 😭

Me too but the best solution is to use a rotating residential us proxy.
I'm using the proxy from proxyscrape.com

from chatgpt.

Kamarguera avatar Kamarguera commented on August 16, 2024

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.

from chatgpt.

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.