Pega Deployment Manager 5.4 gives exception Access Token Not Found

We have installed the Deployment Manager 5.4 on Pega Infinity 8.5.2 platform as per the installation guide and followed every instruction properly but unfortunately, upon launching the Deployment Manager, we are getting the following :

There is an error fetching details from Deployment Manager services and Deployment Manager Studio will not function as expected. Please verify the configuration of the Orchestrator URL and authentication profiles configured. Error:
Access token is not found will not function as expected. Please verify the configuration of the Orchestrator URL and authentication profiles configured.

Error: Access token is not found

The log indicates as below:

2021-12-15 15:53:44,060 [ STANDARD] [ ] [aDeploymentManager:5] (ernal.jwt.JWTSignatureVerifier) ERROR |Rest|DeploymentManager|v1|- JSON web token is rejected during signature verification due to bad signature : Expired JWT 2021-12-15 15:53:44,060 [ STANDARD] [ ] [aDeploymentManager:5] (uth2JWTTokenProcessingUtilImpl) ERROR Rest|DeploymentManager|v1| - Error while processing JWT JSON web token is rejected during signature verification due to bad signature : Expired JWT

We have checked and verified everything we could find after checking other articles on the Pega collaboration site but the issue is still unresolved.

We would appreciate help to resolve this issue.

@TapasD07 This issue was happening due to DMStudioUser authentication profile has incorrect setting under advanced configuration - ‘Send access token as Query string parameter’.

Changing this setting to ‘Authorization header’ resolved the issue.

@TapasD07 Hi Tapas,

We also facing same issue,

We have checked DMStudioUser setting as well and for us it is selected Authorization Header only. We are still facing this issue.

@TapasD07 yes we are on v5.5.2. :slight_smile:

@TapasD07 - any resolution you got?

We are using PDM 5.5.4 with Orchestrator on Pega 8.5.6 and Candidate on Pega 8.5.1> getting similar error:

2022-12-19 13:41:59,033 [fault (self-tuning)'] [  STANDARD] [                    ] [aDeploymentManager:5] (ernal.jwt.JWTSignatureVerifier) ERROR ||Rest|DeploymentManager|v1|tasks2cb1ad4f3eb0ea704c74a73689ad1654|A3KQ5YAAV6FGAKEW8I6VAH35IE9YB7TEKA  - JSON web token is rejected during signature verification due to bad signature : Expired JWT 
2022-12-19 13:41:59,033 [fault (self-tuning)'] [  STANDARD] [                    ] [aDeploymentManager:5] (uth2JWTTokenProcessingUtilImpl) ERROR ||Rest|DeploymentManager|v1|tasks2cb1ad4f3eb0ea704c74a73689ad1654|A3KQ5YAAV6FGAKEW8I6VAH35IE9YB7TEKA  -  Error while processing JWT JSON web token is rejected during signature verification due to bad signature : Expired JWT 
2022-12-19 13:41:59,033 [fault (self-tuning)'] [  STANDARD] [                    ] [aDeploymentManager:5] (th2.cxf.OAuth2DataProviderImpl) ERROR ||Rest|DeploymentManager|v1|tasks2cb1ad4f3eb0ea704c74a73689ad1654|A3KQ5YAAV6FGAKEW8I6VAH35IE9YB7TEKA  - Error in Processing JWT 

DMStudioUser authentication profile has Authorization header.

Thanks

Atanu

My issue is resolved.

Set this DSS on both candidate and orchestrator:

DSS : https/allowAllHostnames Ruleset : Pega-IntegrationEngine value : true

Messages in log file bit misleading. :slight_smile:

@TapasD07 Do we have any other solution to fix this issue? We have done everything mentioned in this thread and Pega Documentation but still getting same error.

@TapasD07

Our issue was resolved after updating AG to 5.x application version. We missed to change it after upgrading DM to 5.X

@Priyanshu Please ensure you are using Deployment Manager 5.5 or even better try the latest :slight_smile:

@AtanuS17 My environment is already configure like that. But still, the issue remains (PDM 5.5.4)

@folks, we are running our orchastrator on pega 8.6.6 ( with deployment manager 5.5.4 v and candidate env 8.7.4. Few months back when we were upgrading our orchastrator env from 4.x to 5.5.x we faced this kind of issue.(New tab (pega.com))

we also added few DSS those are mentioned on the above pega link and after setting up everything and restart, we were able to do merge and deployment.

Hope this will help here.. Good luck

Sr no Env Opertor ID Auth Profile Details
1 Orchastrator
1. DMReleseAdmin
1. DMAppAdmin
1. DMAgentUser




DMAppAdmin

Please change the password of these operatorID’s and Auth profile with the unique password and keep it synchronised on all the environments like Orchastrator & candidate system (DEV,TEST). i,e Password for DMAppAdmin should be same on Orchastrator env and Candidate system (DEV and TEST)

2 Candidate DMAppAdmin

DMReleaseAdmin_OAuth2



You can generate new client secret code from orchastrater general setting and then use this code and respectivce url’s to update on candidate env.

@NijiV000 Which access group you have updated? Do we have to revoke token and grant once again for DMStudioAdmin?

@TapasD07 we are on 5.5.1 and having the same settings for DMStudioUser auth profile ‘Authorization header’ option selected but having the same issue.