Activation failed

HI? I have 2-KRE license. and that is node-locked.
These Days all my auto-test process is starting to use aws ec2… and katalon get to executed by powershell script with this command “aws ssm send-command”
But as soon as the test starts, it fails as shown below.

INFO: User working dir: C:\katalon
INFO: Error log: C:/Windows/Temp/session-18536b4a/.metadata/.log
INFO: Katalon TestOps server URL: https://analytics.katalon.com
INFO: Katalon Store server URL: https://store.katalon.com
INFO: User home: C:
INFO: Java vendor: Oracle Corporation
INFO: Java version: 1.8.0_181
INFO: Local OS: Windows Server 2016 64bit
INFO: CPU load: 0%
INFO: Total memory: 8191 MB
INFO: Free memory: 5982 MB
Start getting machine ID on Windows
Start appending additional signatures
hardwareSerialNumber
osDependentUsername ssm-user
osDependentUsername ssm-user
End appending additional signatures f74328e9-540a-4bba-84e2-1784a2c44c6a__ssm-user
End getting machine ID on Windows 4a xxxxxxxxxxxxx eb4c50b29
INFO: Machine ID: 4a xxxxxxxxxxxxx eb4c50b29

Activating…
Start activating offline…
Search for valid offline licenses in folder: C:.katalon\license
The number of valid offline licenses: 0
Offline activation failed.
Start activating online…
Online activation for console mode failed.
Activation failed. Please make sure you are using a valid license.
All launchers terminated
PS C:\katalon>

What is the problem? should I use offline license? or changing license type? For example, Floating licenses?
Katalon test ec2 instance is window server 2016

Hi @dev1

Have you used these API keys for another machine yet?

Of course, I’v been used that Key for the server which is located in my office. And it is working now. After building the katalon test environment in ec2, it will no longer run on that server.

Note that if you connect a window instance with RDP and execute the katalon command directly, it runs well.

But why would it fail when I run a command from the power shell script in the s3 bucket via session manager?

The command in power shell is in the following. ( that is .bat file)

katalonc -runMode=console -noSplash -projectPath=“%PROJECTDIR%/TestAutomation-Web/TestAutomation-Web.prj” -retry=0 -testSuitePath=“Test Suites/CI/TS_Regression_Profile_Main” -executionProfile=“setting_main” -browserType=“Chrome” -reportFolder=%REPORTDIR% -reportFileName=“report” -apiKey=%APIKEY% -g_URL=%DS_URL%

What is an off line license? When to use it? Should I switch to an off-line license? When the ec2 instance is terminated and re-created, this license seems to stop working…

I found this guide.

I use node-locked RE license. and yearly license.

We are going to move our test environment to the aws ec2 environment. Is it possible to change the node-locked license to a DevOps license?