AutoGPT
AutoGPT copied to clipboard
browse_website -> Chrome failed to start: exited abnormally
Is there a reason that everything says to run this is "docker-compose run auto-gpt". This does run and works great, with a few limitations. The way I understand it is that "docker-compose run auto-gpt" does not create any ports specified in the docker compose file and this would prevent accessing it from a separate computer on the network. The Docker documentation does not say that it prevents creating Volumes, but I tried the new Docker-compose file from another issue I was referred to #1843. None of the volumes were created. I also was getting errors that chrome could not open, and that the files were not
SYSTEM: Command browse_website returned: Error: Message: unknown error: Chrome failed to start: exited abnormally. (chrome not reachable) (The process started from chrome location /usr/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Stacktrace: #0 0x55ee1c42ffe3
SYSTEM: Command read_file returned: Error: [Errno 2] No such file or directory: '/home/appuser/auto_gpt_workspace/search_results.txt'
Not sure if these are related or not. If not I will split these items into separate issues.
I'm not sure what's going on for you (post your log!), but the volume mounts generally work fine using docker-compose run. Also, we currently don't see a need to expose ports on the container. Its only purpose is to be a sandbox to protect the host machine.
Unless your docker compose adds a selenium standalone chrome instance, I'd be pretty surprised if that worked in the container.
See https://github.com/Significant-Gravitas/Auto-GPT/pull/1843#issuecomment-1512700464
Might be fixed with https://github.com/Significant-Gravitas/Auto-GPT/pull/1473
Similar to https://github.com/Significant-Gravitas/Auto-GPT/issues/1641
Closing as duplicate of #1641