Compositing Engine machine stuck with error "Lifetime validation failed. The token is expired"

Compositing Engine machine stuck with error "Lifetime validation failed. The token is expired"

book

Article ID: CTX266994

calendar_today

Updated On:

Description

Offload compositing getting stuck with error "Lifetime validation failed. The token is expired" and the compositing engine machine gets deleted after 20 mins.
User-added image
ELM fails with error: The compositing engine failed to initialize after "00:20:00".

Screenshot:

User-added image

Resolution

This is due to the time difference between the ELM and the Compositing Engine.
Hence we have to increase the lifetime of the token.
The lifetime of the token can be increased to resolve the problem. 
This can be achieved by adding the below entry under the appSettings section of /usr/local/unitools/MAService.exe.config on the ELM:

<add key="defaultJwtLifetime" value="1:00:00:00"/>

[NOTE: please take a backup of this file ‘MAService.exe.config’ prior to editing it, you may use WinSCP tool to perform the below steps on the ELM]

That makes the lifetime 1 day. 
Make sure to reboot the ELM after changing the setting.

Perform the above changes and then try to check the Offload Compositing again.

 

Problem Cause

The issue happens because of the ELM and CE VM not in time sync.
This is due to the time difference between the ELM and the Compositing .

 

Issue/Introduction

Offload compositing getting stuck with lifetime validation failed error and the compositing engine machine gets deleted after 20 mins.