The first time JavaScript views that render image output using headless Chrome load when Avast protection is active fail to initialize the renderer. Resetting the node and re-executing fixes the problem, which makes this seem like a timing issue. This started happening after upgrading to 4.2.x and persists in 4.3.x.
ERROR Scatter Plot 0:55 Initializing view failed: timeout: Timed out receiving message from renderer: 60.000
(Session info: headless chrome=83.0.4103.116)
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 83.0.4103.116, chrome: {chromedriverVersion: 83.0.4103.39 (ccbf011cb2d2b…, userDataDir: C:\Users\TestUser\AppData…}, goog:chromeOptions: {debuggerAddress: localhost:6454}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss, webauthn:virtualAuthenticators: true}
Session ID: 2dee2251c7fac5a0ac0a75fcf41ebd46
ERROR Scatter Plot 0:55 Retrieving image from view failed: Error retrieving image: Chrome driver was not initialized. Could not retrieve image.
Anyone else seeing this? Even if I put the entire KNIME directory in Avast’s exclude list, this happens. I can only “fix” it by temporarily disabling Avast protection when running a flow using the Chrome renderer for the first time in a KNIME session.