Skip to content
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

Closed

Conversation

yangjian102621
Copy link

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

  1. Export environment variable export https_ proxy= http://127.0.0.1:1080
  2. Run the Auto-GPT program python - m autogpt -- gpt3only
  3. Set a simple task: Open a page using a browser, such as: https://platform.openai.com/docs/introduction
  4. Verify whether the task can be completed normally

PR Quality Checklist

  • [ x ] My pull request is atomic and focuses on a single change.
  • [ x ] I have thoroughly tested my changes with multiple different prompts.
  • [ x ] I have considered potential risks and mitigations for my changes.
  • [ x ] I have documented my changes clearly and comprehensively.
  • [ x ] I have not snuck in any "extra" small tweaks changes

@BadwomenzzzZ
Copy link

Yes, I have the same problem

ZefanW
ZefanW previously approved these changes Apr 18, 2023
nponeccop
nponeccop previously approved these changes Apr 18, 2023
@nponeccop nponeccop added bug Something isn't working B8 labels Apr 18, 2023
@github-actions
Copy link

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Apr 18, 2023
@yangjian102621 yangjian102621 dismissed stale reviews from nponeccop and ZefanW via 75ed22a April 19, 2023 00:23
@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Apr 19, 2023
@github-actions
Copy link

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Apr 24, 2023
@github-actions
Copy link

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Apr 25, 2023
@github-actions
Copy link

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@vercel
Copy link

vercel bot commented Apr 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2023 6:55am

@vercel vercel bot temporarily deployed to Preview April 28, 2023 01:53 Inactive
@p-i-
Copy link
Contributor

p-i- commented May 5, 2023

This is a mass message from the AutoGPT core team.
Our apologies for the ongoing delay in processing PRs.
This is because we are re-architecting the AutoGPT core!

For more details (and for infor on joining our Discord), please refer to:
https://github.com/Significant-Gravitas/Auto-GPT/wiki/Architecting

@vercel vercel bot temporarily deployed to Preview May 8, 2023 01:05 Inactive
@vercel vercel bot temporarily deployed to Preview May 9, 2023 06:55 Inactive
@vercel
Copy link

vercel bot commented May 16, 2023

Deployment failed with the following error:

Resource is limited - try again in 3 hours (more than 100, code: "api-deployments-free-per-day").

@p-i- p-i- removed the B8 label May 16, 2023
@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label May 25, 2023
@github-actions
Copy link

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working conflicts Automatically applied to PRs with merge conflicts size/m
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

5 participants