APIs for managing SOS fail with: JWT signature does not match locally computed signature.
search cancel

APIs for managing SOS fail with: JWT signature does not match locally computed signature.

book

Article ID: 375596

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

APIs for managing SOS fail with: 

   "status": 401,
   "message": "JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted."

SOS bundles generate successfully when using the CLI.

Environment

This issue can impact any chp release that upgrades commonsvcs.

The issue was originally found on vcf4411-chp.

Cause

The chp upgrade updates the secret token without restarting the sosrest service, which causes the sosrest to still refer to the older secret value for the auth token.

Resolution

The issue should not reoccur in the environment after running the following command in the SDDC Manager: systemctl restart sosrest

This is fixed in vcf4501.