AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

browse_website always return "Remote end closed connection"

Open sunhui0608 opened this issue 2 years ago • 10 comments

⚠️ Search for existing issues first ⚠️

  • [X] I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Windows

GPT-3 or GPT-4?

GPT-3.5

Steps to reproduce 🕹

using wsl, ubuntu 22.04. export HTTP_PROXY="localhost:xxx" python -m autogpt --gpt3only

Current behavior 😯

report below error, when it uses browse_website any website SYSTEM: Command browse_website returned: Error: Remote end closed connection without response

Expected behavior 🤔

It will work.

Your prompt 📝

# Paste your prompt here

ai_goals:

  • "find cited times\uDCE6s of sixthtone or "Sixth Tone" in nytimes.com" ai_name: n ai_role: n

Your Logs 📒

<insert your logs here>

activity.log

sunhui0608 avatar Apr 19 '23 10:04 sunhui0608

I also meet this Q

TobeaBee123 avatar Apr 19 '23 16:04 TobeaBee123

See if #1275 helps

ntindle avatar Apr 20 '23 07:04 ntindle

See if #1275 helps

It is not the same problem. Actually, I can already connect with openai, but it will report above error when I use browse_website.

sunhui0608 avatar Apr 20 '23 08:04 sunhui0608

How is your proxy configured?

ntindle avatar Apr 20 '23 08:04 ntindle

How is your proxy configured?

Use below words: export HTTP_PROXY="http://localhost:xxx" export HTTPS_PROXY="http://localhost:xxx"

it can connect with openai api, but can not browse any website. Don't know why.

sunhui0608 avatar Apr 20 '23 08:04 sunhui0608

Sorry the proxy itself, not how you’re configuring it to connect here. What tools, config options etc

ntindle avatar Apr 20 '23 08:04 ntindle

Sorry the proxy itself, not how you’re configuring it to connect here. What tools, config options etc

it is a internal ip address, the proxy should be in Hongkong.
it looks like below: export HTTP_PROXY="http://10.10.100.199:3128"

sunhui0608 avatar Apr 20 '23 10:04 sunhui0608

Proxys are not well supported right now. Feel free to open a PR but I'm going to need significantly more information to debug this . Also may want to try removing the quotes and slash so it's like export HTTP_PROXY=http://10.10.100.199:3128

ntindle avatar Apr 21 '23 03:04 ntindle

Proxys are not well supported right now. Feel free to open a PR but I'm going to need significantly more information to debug this . Also may want to try removing the quotes and slash so it's like export HTTP_PROXY=http://10.10.100.199:3128

I have tried it. It seems not working. image

sunhui0608 avatar Apr 21 '23 11:04 sunhui0608

Also google can work. But as to browse any website, it doesn't work.

sunhui0608 avatar Apr 21 '23 11:04 sunhui0608

Proxys are not well supported right now. Feel free to open a PR to add better proxy support

ntindle avatar Apr 23 '23 03:04 ntindle