KRE Offline activation failed

I was running this without issues on v6, switching to v7 we purchased KRE. I’m running this on a MacOS VM and have automated this to run using the terminal. It works most of the time but at least once a week it throws a “Offline activation failed” error and fails to run. If you try and re-run it 10mins later it will work fine most of the time. Sometime’s it just keeps failing for a while before it comes good again.

The action “Run Shell Script” encountered an error: “Offline activation failed.
Apr 26, 2020 4:00:37 PM org.openqa.selenium.remote.DesiredCapabilities chrome
INFO: Using new ChromeOptions() is preferred to DesiredCapabilities.chrome()
Starting ChromeDriver 81.0.4044.69 (6813546031a4bc83f717a2ef7cd4ac6ec1199132-refs/branch-heads/4044@{#776}) on port 32980
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
Apr 26, 2020 4:00:39 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
[1587880840.082][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880840.184][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880840.292][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880840.396][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880840.498][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880840.602][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880848.519][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880859.478][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880859.590][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880859.695][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880860.113][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880866.918][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880867.021][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880867.123][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880867.224][SEVERE]: Timed out receiving message from renderer: 0.100
[1587880867.334][SEVERE]: Timed out receiving message from renderer: 0.100

Hi @lee1

Please provide the full console log when the issue happens.

How do I get the console logs when it’s run from shell? Studio logs only seem to be updated when it’s run from Studio

@lee1

When you’re executing tests using KRE, you should see the console logs like this

INFO: User working dir: youurWorkingDir
INFO: Error log: pathToErrorLog
INFO: Katalon TestOps server URL: https://analytics.katalon.com
INFO: Katalon Store server URL: https://store.katalon.com
INFO: User home: yourUserHome
INFO: Java vendor: Oracle Corporation
INFO: Java version: 1.8.0_181
INFO: Local OS: Windows Server 2012 R2 64bit
INFO: CPU load: 0%
INFO: Total memory: 16381 MB
INFO: Free memory: 10695 MB

Where INFO: Error log: pathToErrorLog will contain the path to this execution’s error log. Please try to re-direct the shell output to a file, or check the error log folder for the latest execution’s error log.

Thanks, I still keep thinking of KRE & Studio as a single app. I’m piping the output will report back when it fails again.