AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Command browse_website returned: Error: Remote end closed connection without response

Open 932815113 opened this issue 2 years ago • 1 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

Which version of Auto-GPT are you using?

Latest Release

GPT-3 or GPT-4?

GPT-4

Steps to reproduce 🕹

NEXT ACTION: COMMAND = browse_website ARGUMENTS = {'url': 'https://www.imdb.com/title/tt0816692/', 'question': "What is the plot of the movie 'Interstellar'?"}

Current behavior 😯

SYSTEM: Command browse_website returned: Error: Remote end closed connection without response

Expected behavior 🤔

No response

Your prompt 📝

# Paste your prompt here

Your Logs 📒

<insert your logs here>

932815113 avatar Apr 23 '23 18:04 932815113

Same here:

PLAN:

  • Use the 'browse_website' command to browse site and extract the HTML code
  • Save the code to a file called 'website_code.txt

SYSTEM: Command browse_website returned: Error: Connection closed by server. Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/redis/connection.py", line 698, in connect sock = self.retry.call_with_retry( File "/usr/local/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry return do() File "/usr/local/lib/python3.10/site-packages/redis/connection.py", line 699, in lambda: self._connect(), lambda error: self.disconnect(error) File "/usr/local/lib/python3.10/site-packages/redis/connection.py", line 955, in _connect for res in socket.getaddrinfo( File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/app/autogpt/main.py", line 5, in autogpt.cli.main() File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1130, in call return self.main(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1635, in invoke rv = super().invoke(ctx) File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.10/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func return f(get_current_context(), *args, **kwargs) File "/app/autogpt/cli.py", line 90, in main run_auto_gpt( File "/app/autogpt/main.py", line 171, in run_auto_gpt agent.start_interaction_loop() File "/app/autogpt/agent/agent.py", line 112, in start_interaction_loop assistant_reply = chat_with_ai( File "/app/autogpt/llm/chat.py", line 104, in chat_with_ai logger.debug(f"Memory Stats: {permanent_memory.get_stats()}") File "/app/autogpt/memory/redismem.py", line 156, in get_stats return self.redis.ft(f"{self.cfg.memory_index}").info() File "/usr/local/lib/python3.10/site-packages/redis/commands/search/commands.py", line 370, in info res = self.execute_command(INFO_CMD, self.index_name) File "/usr/local/lib/python3.10/site-packages/redis/client.py", line 1255, in execute_command conn = self.connection or pool.get_connection(command_name, **options) File "/usr/local/lib/python3.10/site-packages/redis/connection.py", line 1442, in get_connection connection.connect() File "/usr/local/lib/python3.10/site-packages/redis/connection.py", line 704, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name or service not known.

devsidenl avatar May 13 '23 12:05 devsidenl

encountering the same with any browse action

maxfield-allison avatar Jun 02 '23 00:06 maxfield-allison

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] avatar Sep 06 '23 21:09 github-actions[bot]

This issue was closed automatically because it has been stale for 10 days with no activity.

github-actions[bot] avatar Sep 18 '23 01:09 github-actions[bot]