-
Notifications
You must be signed in to change notification settings - Fork 43.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'browse_website' command will stuck in create WebDriver Chrome instance, when exporting the 'https_proxy' env var in terminal. #2286
Conversation
…rome instance, when exporting the 'https_proxy' env var in terminal.
Yes, I have the same problem |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This is a mass message from the AutoGPT core team. For more details (and for infor on joining our Discord), please refer to: |
Deployment failed with the following error:
|
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Background
OpenAI's API blocks calls from certain countries, so they have to use proxies to access it. Using proxies in the terminal is typically done by exporting the environment variable 'https_proxy'. However, after exporting this variable,
webdriver.Chrome
get blocked and the program gets stuck.Changes
Before creating a Chrome instance, remove the 'https_proxy' environment variable. After creating the instance, restore the environment variable so that the OpenAI API can be called normally.
Test Plan
export https_ proxy= http://127.0.0.1:1080
python - m autogpt -- gpt3only
PR Quality Checklist