Scheduled workflows show " com.vmware.o11n.security.session.ManagedTokenRegistryImpl - Unable to convert token with id"
search cancel

Scheduled workflows show " com.vmware.o11n.security.session.ManagedTokenRegistryImpl - Unable to convert token with id"

book

Article ID: 398096

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

Symptoms:

  • After upgrading to Aria Automation 8.18.1 , scheduled workflows are failing
  • The same workflows run successfully when executed manually (without scheduling).


    Error shows similar to this message when reviewing logs at this location on the appliance  /services-logs/prelude/vco-app/file-logs/vco-server-app.log
    ERROR vco [host='vco-app-XXXXXXX' thread='CustomThreadPool's Thread-1' user='' org='' trace=''] {} com.vmware.o11n.security.session.ManagedTokenRegistryImpl - Unable to convert token with id <EXAMPLE_ID>
    org.springframework.security.oauth2.jwt.BadJwtException: An error occurred while attempting to decode the Jwt: Signed JWT rejected: Another algorithm expected, or no matching key(s) found

Environment

Aria Automation 8.18.x

Aria Orchestrator 8.18.x

Cause

The delegated token has expired or the authorization server has changed the provided signing agreement on the token so it is no longer valid

Resolution

Apply Patch 2 for Aria Automation / Orchestrator 8.18.1 located here:

https://knowledge.broadcom.com/external/article/394224

 

Workaround:

1. Log into Aria Automation/ Orchestrator with a different user then what the scheduled workflow has been setup with for credentials. 
2. Once logged in with a different user, update the task to that user and save it as the scheduled workflow.
3. Log out and then log back in with the intended user to be used for the task and update it again with it and save it. 


Additional Information

NOTE: The caveat is if the current user is the same one as the currently logged in user there would be no change, and therefor the token of the user does not get updated