AutoGPT: `browse_website` fails with error: chromedriver unexpectedly exited

⚠️ Search for existing issues first ⚠️

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

Which Operating System are you using?

Linux

GPT-3 or GPT-4?

GPT-4

Steps to reproduce 🕹

from the stable branch run:

python -m autogpt --continuous

Current behavior 😯

It works for the first google search command then breaks on every browse_website command…

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/opt/new/20230419/stable/Auto-GPT/autogpt/__main__.py", line 53, in <module>
    main()
  File "/opt/new/20230419/stable/Auto-GPT/autogpt/__main__.py", line 49, in main
    agent.start_interaction_loop()
  File "/opt/new/20230419/stable/Auto-GPT/autogpt/agent/agent.py", line 170, in start_interaction_loop
    self.memory.add(memory_to_add)
  File "/opt/new/20230419/stable/Auto-GPT/autogpt/memory/local.py", line 76, in add
    embedding = create_embedding_with_ada(text)
  File "/opt/new/20230419/stable/Auto-GPT/autogpt/llm_utils.py", line 137, in create_embedding_with_ada
    return openai.Embedding.create(
  File "/usr/local/lib/python3.9/site-packages/openai/api_resources/embedding.py", line 33, in create
    response = super().create(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
  File "/usr/local/lib/python3.9/site-packages/openai/api_requestor.py", line 226, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "/usr/local/lib/python3.9/site-packages/openai/api_requestor.py", line 619, in _interpret_response
    self._interpret_response_line(
  File "/usr/local/lib/python3.9/site-packages/openai/api_requestor.py", line 682, in _interpret_response_line
    raise self.handle_error_response(
openai.error.APIError: The server had an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID 5f823ad4f7fa32fef3537abb5df043fd in your message.) {
  "error": {
    "message": "The server had an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID 5f823ad4f7fa32fef3537abb5df043fd in your message.)",
    "type": "server_error",
    "param": null,
    "code": null
  }
}
openai.error.APIError: The server had an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID 76402fabc6ec...68de061f87c1fbd4e in your message.) {
  "error": {
    "message": "The server had an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID 76402fabc6ecd...8de061f87c1fbd4e in your message.)",
    "type": "server_error",
    "param": null,
    "code": null
  }
}
 500 {'error': {'message': 'The server had an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID 76402fabc6ecd...8de061f87c1fbd4e in your message.)', 'type': 'server_error', 'param': None, 'code': None}} {'Date': 'Wed, 19 Apr 2023 14:29:39 GMT', 'Content-Type': 'application/json', 'Content-Length': '366', 'Connection': 'keep-alive', 'access-control-allow-origin': '*', 'openai-organization': 'user-1vmy57r7jcupi0me52k50qgf', 'openai-processing-ms': '30019', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=15724800; includeSubDomains', 'x-ratelimit-limit-requests': '3000', 'x-ratelimit-remaining-requests': '2999', 'x-ratelimit-reset-requests': '20ms', 'x-request-id': '76402fabc6ecde468de061f87c1fbd4e', 'CF-Cache-Status': 'DYNAMIC', 'Server': 'cloudflare', 'CF-RAY': '7ba5d68dfe3b6dcb-MIA', 'alt-svc': 'h3=":443"; ma=86400, h3-29=":443"; ma=86400'}

Expected behavior 🤔

run smoothly

Your prompt 📝

ai_goals:
- Recopilar información difamatoria de un streamer en línea.
- Evaluar si el contenido cumple con los criterios legales de difamación.
- Identificar conexiones, patrones e intenciones en las acciones de un streamer.
- Documentar y organizar pruebas de manera accesible y legalmente admisible.
- Establecer un caso sólido para iniciar un proceso legal por difamación y apagate.
ai_name: cuchcorapido-gpt
ai_role: un ai encargado de extractraer toda la informacion incriminante sobre un streamer para entabler un caso legal por difamacion en español

Your Logs 📒

 Command browse_website returned: Error: Message: Service /root/.wdm/drivers/chromedriver/linux64/112.0.5615.49/chromedriver unexpectedly exited. Status code was: 127

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 19 (9 by maintainers)

Most upvoted comments

This has been fixed in master and will thus be fixed in the upcoming release: https://github.com/Significant-Gravitas/Auto-GPT/milestone/2

@ebauch it’s an issue with the webdriver-manager, which seems to incorrectly identify the platform and then downloads the wrong driver. We fixed it by using the chromium-driver that is installed in the docker image. @jcalderonzumba figured that out for us 😃