Closed TinkuMajhi closed 7 months ago
I have the exact same issue.
Please make sure to use a U.S. VPN, you can't host it on cloud because your IP will be blocked by OpenAI,
you have to use a U.S. VPN or residential proxy
Please make sure to use a U.S. VPN, you can't host it on cloud because your IP will be blocked by OpenAI,
you have to use a U.S. VPN or residential proxy
I tried using US rotating proxy but the same error persist.
@SleepInfinity as i said it should be a residential proxy, only residential proxies will work
@SleepInfinity as i said it should be a residential proxy, only residential proxies will work
It is a residential proxy from proxyscrape.com
Is there any way to make sure that the api is using that proxy?
@SleepInfinity check this https://proxyscrape.com/products/residential-proxies/united-states
@SleepInfinity check this https://proxyscrape.com/products/residential-proxies/united-states
Here is the account and its residential but I'm using the proxy on all the linux machine I added the proxy inside the /etc/environment file I don't know if this works but can you give me the syntax of the .env file to use the proxy. Thankyou
@SleepInfinity please check the .env.example file
@SleepInfinity please check the .env.example file
I tried the .env file but got the same error with a us proxy. Should I use double Quotes for the username and password of the proxy inside the .env file?
@SleepInfinity, make sure to set both PROXY
and PROXY_AUTH
to true. Also, ensure that you set the PROXY_HOST
and PROXY_PORT
correctly. Additionally, make sure to specify the correct proxy protocol.
You can also try to write the username and password between double quotes
@SleepInfinity, make sure to set both
PROXY
andPROXY_AUTH
to true. Also, ensure that you set thePROXY_HOST
andPROXY_PORT
correctly. Additionally, make sure to specify the correct proxy protocol.You can also try to write the username and password between double quotes
I tried both with and without double quotes but still same error and also Im sure that the protocol is http as mentioned in the proxyscrape dashboard and also I tried the proxy with a simple python code and it works fine.
Im just getting empty responses now. Was working flawlessly until yesterday
Im just getting empty responses now. Was working flawlessly until yesterday
What you did to make it work?
What you did to make it work?
I did not have the issue you are facing
@SleepInfinity, make sure to set both
PROXY
andPROXY_AUTH
to true. Also, ensure that you set thePROXY_HOST
andPROXY_PORT
correctly. Additionally, make sure to specify the correct proxy protocol. You can also try to write the username and password between double quotesI tried both with and without double quotes but still same error and also Im sure that the protocol is http as mentioned in the proxyscrape dashboard and also I tried the proxy with a simple python code and it works fine.
My problem is now solved the app wasn't detecting and using the proxy inside the .env file but now with python everything is working properly and I think ill make the same app in python and share it is it possible?
@SleepInfinity, you must have done something incorrectly because the .env file is working fine, and the proxies are functioning properly with it.
Perhaps you have more knowledge about Python, that's why you couldn't set up this Node.js project.
@SleepInfinity, you must have done something incorrectly because the .env file is working fine, and the proxies are functioning properly with it.
Perhaps you have more knowledge about Python, that's why you couldn't set up this Node.js project.
Yes, anyways thankyou for your help 😄
invalid_request_error
MSG : Error getting a new session, please try again later, if the issue persists, please open an issue on the GitHub repository, https://github.com/PawanOsman/ChatGPT