AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

browse_website -> Chrome failed to start: exited abnormally

Open moltra opened this issue 2 years ago • 4 comments

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 #1 0x55ee1c16ed36 #2 0x55ee1c197b20 #3 0x55ee1c193a9b #4 0x55ee1c1d5af7 #5 0x55ee1c1d511f #6 0x55ee1c1cc693 #7 0x55ee1c19f03a #8 0x55ee1c1a017e #9 0x55ee1c3f1dbd #10 0x55ee1c3f5c6c #11 0x55ee1c3ff4b0 #12 0x55ee1c3f6d63 #13 0x55ee1c3c9c35 #14 0x55ee1c41a138 #15 0x55ee1c41a2c7 #16 0x55ee1c428093 #17 0x7faf347e9ea7 start_thread

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.

moltra avatar Apr 18 '23 03:04 moltra

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.

Pwuts avatar Apr 18 '23 04:04 Pwuts

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

ntindle avatar Apr 18 '23 08:04 ntindle

Might be fixed with https://github.com/Significant-Gravitas/Auto-GPT/pull/1473

k-boikov avatar Apr 18 '23 12:04 k-boikov

Similar to https://github.com/Significant-Gravitas/Auto-GPT/issues/1641

k-boikov avatar Apr 18 '23 12:04 k-boikov

Closing as duplicate of #1641

Pwuts avatar Apr 18 '23 18:04 Pwuts