PDF export error

Hello Helical Team,

I am using helical insight version 5.0. While doing exporting getting this kind of error

SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn’t exist) (The process started from chrome location /usr/local/Helical Insight/hi/hi-repository/System/Reports/chrome/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Build info: version: ‘4.0.0’, revision: ‘3a21814679’ System info: host: ‘hibi.yssbilisim.com’, ip: ‘89.19.8.46’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘4.18.0-513.el8.x86_64’, java.version: ‘11.0.18-ea’ Driver info: org.openqa.selenium.chrome.ChromeDriver Command: [null, newSession {capabilities=[Capabilities {browserName: chrome, goog:chromeOptions: {args: [–headless, --run-all-compositor-stages…, start-maximized, disable-infobars, --disable-blink-features=Au…, --disable-extensions, --disable-gpu, --disable-dev-shm-usage, --no-sandbox, --enable-print-browser, --remote-allow-origins=, --ignore-certificate-errors], binary: /usr/local/Helical Insight/…, extensions: []}}], desiredCapabilities=Capabilities {browserName: chrome, chrome.switches: [–ignore-certificate-errors…], goog:chromeOptions: {args: [–headless, --run-all-compositor-stages…, start-maximized, disable-infobars, --disable-blink-features=Au…, --disable-extensions, --disable-gpu, --disable-dev-shm-usage, --no-sandbox, --enable-print-browser, --remote-allow-origins=, --ignore-certificate-errors], binary: /usr/local/Helical Insight/…, extensions: []}}}]

Thank You,
Netta.

Hello Netta,

This error generally happens when the chrome version and chromium driver version are different.

  • what is the google chrome version on your server :(for linux) google-chrome -version

  • what is the chrome driver version on your server : (for linux) ./linux_chromedriver -version

Path : “…\hi\hi-repository\System\Reports”

One soltuon which you can try is go to location ::

/usr/local/HelicalInsight_GA_1082B/hi/hi-repository/System/Reports/chrome

provide it executable permission using command

run command from location : /usr/local/HelicalInsight_GA_1082B/hi/hi-repository/System/Reports/chrome

command to run

chmod 777 chrome

Thank You,
Helical Insight.