These are the logs we are running zap via docker container and using python zap.
| 1692098040696 | 38822 [ZAP-AjaxSpiderApi] WARN org.zaproxy.zap.extension.spiderAjax.SpiderThread - Failed to start browser chrome-headless
| 1692098040696 | com.google.inject.ProvisionException: Unable to provision, see the following errors:|
| 1692098040696 | 1) [Guice/ErrorInCustomProvider]: SessionNotCreatedException: Could not start a new session. Response code 500. Message: disconnected: Unable to receive message from renderer|
| 1692098040696 | (failed to check if window was closed: disconnected: not connected to DevTools) |
| 1692098040696 | (Session info: chrome=x.x.x.x)|
| 1692098040696 | Host info: host: x.x.x.x, ip: x.x.x.x|
| 1692098040696 | Build info: version: '4.10.0', revision: 'c14d967899'|
| 1692098040696 | System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.255-311-248.529.amzn2.x86_64', java.version: '11.0.18'|
| 1692098040696 | Driver info: ChromeDriver|
| 1692098040696 | Command: [null, newSession {capabilities=[Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--proxy-bypass-list=<-loopb..., --ignore-certificate-errors, --headless=new], binary: /usr/bin/google-chrome, extensions: []}, proxy: Proxy(manual, http=127.0.0....}]}]|
| 1692098040696 | at ConfigurationModule.configure(ConfigurationModule.java:47)|
| 1692098040696 | \_ installed by: CoreModule -> ConfigurationModule|
| 1692098040696 | at CrawlerContext.<init>(CrawlerContext.java:33)|
| 1692098040696 | \_ for 1st parameter|
| 1692098040696 | at Crawler.<init>(Crawler.java:75)|
| 1692098040696 | \_ for 1st parameter|
| 1692098040696 | at CrawlTaskConsumer.<init>(CrawlTaskConsumer.java:30)|
| 1692098040696 | \_ for 3rd parameter|
| 1692098040696 | while locating CrawlTaskConsumer|
| 1692098040696 | Learn more:|
| 1692098040696 | https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER|
| 1692098040696 | 1 error|
| 1692098040696 | ======================|
| 1692098040696 | Full classname legend: |
| 1692098040696 | ======================|
| 1692098040696 | ChromeDriver: "org.openqa.selenium.chrome.ChromeDriver"|
| 1692098040696 | ConfigurationModule: "com.crawljax.di.ConfigurationModule"|
| 1692098040696 | CoreModule: "com.crawljax.di.CoreModule"|
| 1692098040696 | CrawlTaskConsumer: "com.crawljax.core.CrawlTaskConsumer"|
| 1692098040696 | Crawler: "com.crawljax.core.Crawler"|
| 1692098040696 | CrawlerContext: "com.crawljax.core.CrawlerContext"|
| 1692098040696 | SessionNotCreatedException: "org.openqa.selenium.SessionNotCreatedException"|
| 1692098040696 | ========================|
| 1692098040696 | End of classname legend:|
| 1692098040696 | ========================
| 1692098040696 | at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) ~[?:?]
| 1692098040696 | at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1103) ~[?:?]|
| 1692098040696 | at com.crawljax.core.CrawlController.call(CrawlController.java:66) ~[?:?]|
| 1692098040696 | at com.crawljax.core.CrawljaxRunner.call(CrawljaxRunner.java:37) ~[?:?]
| 1692098040696 | at org.zaproxy.zap.extension.spiderAjax.SpiderThread.run(SpiderThread.java:271) ~[?:?]
| 1692098040696 | at java.lang.Thread.run(Thread.java:829) ~[?:?]
| 1692098040696 | Caused by: org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: disconnected: Unable to receive message from renderer
| 1692098040696 | (failed to check if window was closed: disconnected: not connected to DevTools)
| 1692098040696 | (Session info: chrome=114.0.5735.90)
| 1692098040696 | Host info: host: '169.254.139.45', ip: '169.254.139.45'
| 1692098040696 | Build info: version: '4.10.0', revision: 'c14d967899'
| 1692098040696 | System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.255-311-248.529.amzn2.x86_64', java.version: '11.0.18'
| 1692098040696 | Driver info: org.openqa.selenium.chrome.ChromeDriver
| 1692098040696 | Command: [null, newSession {capabilities=[Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--proxy-bypass-list=<-loopb..., --ignore-certificate-errors, --headless=new], binary: /usr/bin/google-chrome, extensions: []}, proxy: Proxy(manual, http=127.0.0....}]}]
| 1692098040696 | at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:140) ~[?:?]
| 1692098040696 | at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:96) ~[?:?]
| 1692098040696 | at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:68) ~[?:?]
| 1692098040696 | at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:163) ~[?:?]
| 1692098040696 | at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:196) ~[?:?]
| 1692098040696 | at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:171) ~[?:?]
| 1692098040696 | at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:531) ~[?:?]