PawanOsman / ChatGPT

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

Error message from OpenAI: Our systems have detected unusual activity from your device. Please refresh your browser and try again later. 🔥 #118

Closed HOCKNAS closed 7 months ago

HOCKNAS commented 7 months ago

Steps:

  1. docker run -dp 3040:3040 pawanosman/chatgpt:latest

  2. 
    import openai

openai.api_key = 'anything' openai.base_url = "http://localhost:3040/v1/"

completion = openai.chat.completions.create( model="gpt-3.5-turbo", messages=[ {"role": "user", "content": "How do I list all files in a directory using Python?"}, ], )

print(completion.choices[0].message.content)



3.
`Error message from OpenAI: Our systems have detected unusual activity from your device. Please refresh your browser and try again later.`

My country is [Colombia](https://en.wikipedia.org/wiki/Colombia)

When I try go to [https://chat.openai.com/](https://chat.openai.com/) I can access without login.
HOCKNAS commented 7 months ago

Container Logs:

Starting the application...

> chatgpt@1.0.0 start
> tsc && node dist/app.js

Request: POST /v1/chat/completions 1 messages (stream-disabled)
💡 Server is running at http://localhost:3040

🔗 Local Base URL: http://localhost:3040/v1
🔗 Local Endpoint: http://localhost:3040/v1/chat/completions

🔗 Public Base URL: https://yang-synthesis-writings-shoe.trycloudflare.com/v1
🔗 Public Endpoint: https://yang-synthesis-writings-shoe.trycloudflare.com/v1/chat/completions

📝 Author: Pawan.Krd
🌐 Discord server: https://discord.gg/pawan
🌍 GitHub Repository: https://github.com/PawanOsman/ChatGPT
💖 Don't forget to star the repository if you like this project!
Request: POST /v1/chat/completions 1 messages (stream-disabled)
Request: POST /v1/chat/completions 1 messages (stream-disabled)
Request: POST /v1/chat/completions 1 messages (stream-disabled)
Request: POST /v1/chat/completions 1 messages (stream-disabled)
Request: POST /v1/chat/completions 1 messages (stream-disabled)

Article Related:

https://help.openai.com/en/articles/9047888-why-am-i-getting-our-systems-have-detected-unusual-activity-from-your-system

HOCKNAS commented 7 months ago

Solution: Wait for 30 to 60 minutes without stopping the container.