Introduction
The call home runtime license is validated by the license server when an app is restarted. However, there could be cases that the license validation during the startup is failed, and the app goes to trial (unlicensed) state with all limitations of a free app. This could happen because:
- The runtime was not fully started yet (the license check starts before the runtime fully started)
- Networking issues (or firewalls) on the environment's end
- Latency in the Subscription Service
By default, in such cases, the runtime will retry after 60 minutes, which means the app is running as a free app until the next license validation succeeds. To avoid the app from reaching the trial limitations, reducing the interval time for the next retry could be a workaround before the permanent resolution is worked out.
Environment/Prerequisites
Applications hosted on Mendix for Kubernetes Connected
Applications hosted in SAP Business Technology Platform
Instructions/Procedure
There is a runtime setting License.CallHomeRetryInterval that can be configured to a small value, e.g., 10 or 15. The value is in seconds. If the application takes a long time to start, the number can be increased. To configure the License.CallHomeRetryInterval runtime setting, follow these steps:
- Go to the Custom Runtime Settings
- Add License.CallHomeRetryInterval and set the value
- Restart the app
Outcome
With this setting, the runtime recovers the loss of the licensing faster and reduces the impact of that loss.
Internal information related
Zendesk ticket: #223343 and #221920
Confluence: License & Metering Confluence Page
Slack thread: #licensing-metering
0 Comments