-2
Message: unknown error: Chrome failed to start: exited abnormally.

(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /home/ubuntu/.cache/selenium/chrome/linux64/116.0.5845.96/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

Stacktrace:
#0 0x5566bf874e23 <unknown>

#1 0x5566bf59d7a7 <unknown>

#2 0x5566bf5c850a <unknown>

#3 0x5566bf5c5a25 <unknown>

#4 0x5566bf605d92 <unknown>

#5 0x5566bf6053af <unknown>

#6 0x5566bf

The code i used is

from langchain.document_loaders import SeleniumURLLoader

loader = SeleniumURLLoader(urls=urls) data = loader.load()

I am using SeleniumUrlLoader to scrape websites, it works in local environment but gives the above error in AWS EC2 Ubuntu. Any solutions ??

  • This question is lacking a [mcve]. It also looks like you compiled without debug symbols, so your backtrace wouldn't be much help even with the code. – Toby Speight Aug 30 '23 at 15:24

0 Answers0