# Partner Management Portal - Doesn't show dashboard, Can't create Device nor SBI

**URL:** <https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399>\
**Category:** General\
**Created:** [April 4, 2023, 5:43am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399 "2023-04-04T05:43:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [April 4, 2023, 5:43am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/1 "2023-04-04T05:43:33Z")

</div>

After self-registering device partner and logging in, clicking Home doesn’t show the dashboard, thus unable to upload certificate

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/07a3ab3766f26b20b1b8b6f9167e1e9f0a2c4a74.png)

Also, can not create device nor SBI since the Partner Name doesn’t show when clicking the drop down menu. The rest of the form works except for Partner Name

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/8ea4a35b15ee7ff3e88c57f64899e5b68c43ec3c.png)

The same issue in Creating SBI

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/63c46f46ec04562ed5d134780fe49a40e7524442.png)

Any ideas on how this can be fixed?

---

<div class="post-metadata">

**Author:** ![nayakrounak](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/nayakrounak/32/12_2.png) [@nayakrounak](https://community.mosip.io/u/nayakrounak)\
**Post date:** [April 6, 2023, 5:54am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/2 "2023-04-06T05:54:19Z")

</div>

Can u share the version of the partner management portal being used?

Without uploading the certificate creation of SBI will not work.

I am suspecting the partner is not created properly,

- Can try creating another device partner?
- Also check the roles of the partner that you created in keycloak?

Thanks,  
Rounak

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [April 6, 2023, 9:54am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/3 "2023-04-06T09:54:53Z")

</div>

Hello @nayakrounak

Here is the screenshot of the PMP pods in Rancher

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/540a44df2ac18d255bedc8c26031a0e8d8266169.png)

I created a new device partner NewDP by clicking on Register at the login page of the PMP and filled up the form with required information. The roles of the partner in keycloak are:  
default-roles-mosip  
DEVICE\_PROVIDER

The issues remain, logging in with the new device partner and clicking Home doesn’t show the dashboard where you can upload the certificate.

Any steps I am missing?

When I login to the partner management portal with a user having the role PARTNER\_ADMIN, the newly created device partner NewDP is not in the list of Partners.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/0f8c05ec65075c6cd3bdb8f96f718ae3849c8e46.png)

In my previous install 1.2.0.1, I did not have any problems creating a partner, device and SBI.

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [April 11, 2023, 8:34am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/4 "2023-04-11T08:34:34Z")

</div>

The device partner is still not added/reflected in the PMP-UI even though I can self-register, login the newly self-registered partner, and upload the certificates created using CA\_CERT\_UTILITY in the PMP UI using the Partner\_admin user.

I believe this is connected to my previous post [Issue in Partner Management Portal v1.2.0.1-B2 - FIXED - #4 by rcsampang](https://community.mosip.io/t/issue-in-partner-management-portal-v1-2-0-1-b2-fixed/384/4)

I edited my install.sh and made sure it is exactly the same as the one in github v1.2.0.1-B2 [https://raw.githubusercontent.com/mosip/mosip-infra/v1.2.0.1-B2/deployment/v3/mosip/pms/install.sh](https://raw.githubusercontent.com/mosip/mosip-infra/v1.2.0.1-B2/deployment/v3/mosip/pms/install.sh)

I encountered the same errors I explained in my previous post.

What is causing the error? Is it because of my Helm version v3.11.2?

I think in this case the --set flag did not override the supplied value, thus when I used values.yaml instead, it was able to provide the correct pmp host and api-internal host for my domain.

Is there an update to the install.sh script? or to the Helm Chart?

Anyone who have encountered this? Have any idea how to fix this

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [April 13, 2023, 2:07pm UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/5 "2023-04-13T14:07:33Z")

</div>

In my latest attempt, I edited the installation script and added https:// to line 29 and line 32 of [mosip-infra/install.sh at master · mosip/mosip-infra · GitHub](https://github.com/mosip/mosip-infra/blob/master/deployment/v3/mosip/pms/install.sh)

helm -n $NS install pms-partner mosip/pms-partner --set istio.corsPolicy.allowOrigins[0].prefix= **https://** $PMP\_HOST --version $CHART\_VERSION

helm -n $NS install pms-policy mosip/pms-policy --set istio.corsPolicy.allowOrigins[0].prefix= **https://** $PMP\_HOST --version $CHART\_VERSION

In doing so, partner management portal works and I did not encounter the errors in my earlier post.

However, the issue of the device partner still not added/reflected in the PMP-UI even though I can self-register, login the newly self-registered partner, and upload the certificates created using CA\_CERT\_UTILITY in the PMP UI using the Partner\_admin user.

What else do I have to do to make this work? This is issue is stopping me from running regclient with Mock-MDS because I could not finish creating the device partner.

Also, the pms module install.sh needs to be reviewed/edited - the last line (41) echo “Admin portal URL: https://$PMP\_HOST/pmp-ui/”

I think Admin should be changed to PMP and the URL: https://$PMP\_HOST/pmp-ui/" leads to 404, /pmp-ui/ should be edited out.

Here are excerpts of the log files with errors in the line:

**pms-policy**  
…  
10:35:46,747 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@2:86 - no applicable action for [springProperty], current ElementPath is [[configuration][springProperty]]  
…  
{“@timestamp”:“2023-04-13T10:36:45.647Z”,“@version”:“1”,“message”:“Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity\<java.util.Map\<java.lang.String, java.lang.Object\>\> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)”,“logger\_name”:“org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping”,“thread\_name”:“main”,“level”:“INFO”,“level\_value”:20000,“appName”:“partner-management”}  
{“@timestamp”:“2023-04-13T10:36:45.647Z”,“@version”:“1”,“message”:“Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)”,“logger\_name”:“org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping”,“thread\_name”:“main”,“level”:“INFO”,“level\_value”:20000,“appName”:“partner-management”}  
…

**pms-partner**  
…  
10:35:43,212 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@2:86 - no applicable action for [springProperty], current ElementPath is [[configuration][springProperty]]  
…  
{“@timestamp”:“2023-04-13T10:36:29.695Z”,“@version”:“1”,“message”:“Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity\<java.util.Map\<java.lang.String, java.lang.Object\>\> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)”,“logger\_name”:“org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping”,“thread\_name”:“main”,“level”:“INFO”,“level\_value”:20000,“appName”:“partner-management”}  
{“@timestamp”:“2023-04-13T10:36:29.695Z”,“@version”:“1”,“message”:“Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)”,“logger\_name”:“org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping”,“thread\_name”:“main”,“level”:“INFO”,“level\_value”:20000,“appName”:“partner-management”}  
…  
pmp-ui doesn’t show any error in the log file

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [April 14, 2023, 5:29am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/6 "2023-04-14T05:29:08Z")

</div>

I saw that this is a reported issue in MOSIP JIRA.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/2a33cfb230fd002a422ab6fa5153a01f9acd1f8c.png)

And it says there is a workaround. Can someone teach me the steps to implement the workaround?

---

<div class="post-metadata">

**Author:** ![chandra\_sekhar](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/chandra_sekhar/32/129_2.png) [@chandra\_sekhar](https://community.mosip.io/u/chandra_sekhar)\
**Post date:** [April 17, 2023, 10:39am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/7 "2023-04-17T10:39:34Z")

</div>

Hi @rcsampang,  
For the same partner can you please do partner self registering from swagger. Then reverify by login into PMP UI.  
https://api-internal.\<your\_env\>.mosip.net/v1/partnermanager/swagger-ui/index.html?configUrl=/v1/partnermanager/v3/api-docs/swagger-config#/partner-service-controller/partnerSelfRegistration  
Thanks

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [April 18, 2023, 3:46am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/8 "2023-04-18T03:46:06Z")

</div>

Hello @chandra_sekhar !

I tried it but encountered 401 error. Unauthorized

{  
“id”: “string”,  
“version”: “string”,  
“requesttime”: “2023-04-18T03:19:23.785Z”,  
“metadata”: {},  
“request”: {  
“partnerId”: “newDP”,  
“policyGroup”: “”,  
“organizationName”: “newDP”,  
“address”: “AECH building”,  
“contactNumber”: “999999999”,  
“emailId”: “[newdp@devpartner.com](mailto:newdp@devpartner.com)”,  
“partnerType”: “DEVICE\_PROVIDER”,  
“langCode”: “eng”  
}  
}

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/e578e433e6e36c0464a559ccdd05edcfca3a5870.png)

clicked Execute. Here is the response,

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/49c76091d91331e265cff0730156ca2cf8896479.png)

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/4eb81d2db0fb6ae8b2e78bb556a7131f95bfb68c.png)

What should be the entry value for the policyGroup ? Is it the lack of entry for it causing the error?

Thanks!

---

<div class="post-metadata">

**Author:** ![chandra\_sekhar](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/chandra_sekhar/32/129_2.png) [@chandra\_sekhar](https://community.mosip.io/u/chandra_sekhar)\
**Post date:** [April 19, 2023, 4:30am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/9 "2023-04-19T04:30:13Z")

</div>

Hi @rcsampang,  
Before hitting partner manager swagger, please perform authenticate using clientId and SecretKey with below swagger link.  
https://api-internal.\<your\_env\>[mosip.net/v1/authmanager/swagger-ui/index.html?configUrl=/v1/authmanager/v3/api-docs/swagger-config#/authmanager/clientIdSecretKey](http://mosip.net/v1/authmanager/swagger-ui/index.html?configUrl=/v1/authmanager/v3/api-docs/swagger-config#/authmanager/clientIdSecretKey)  
Request body  
{  
“id”: “string”,  
“version”: “string”,  
“requesttime”: “2023-04-10T11:03:02.161Z”,  
“metadata”: {},  
“request”: {  
“clientId”: “mosip-pms-client”,  
“secretKey”: “xxxxxxxxxx”,  
“appId”: “partner”  
}  
}  
Note: Please replace the secretKey from your environment.

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [April 19, 2023, 7:45am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/10 "2023-04-19T07:45:18Z")

</div>

@chandra_sekhar Thank you for this.

Please pardon my ignorance, how do I get / where do I find the mosip-pms-client secretKey?

---

<div class="post-metadata">

**Author:** ![syed.salman](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/syed.salman/32/25_2.png) [@syed.salman](https://community.mosip.io/u/syed.salman)\
**Post date:** [April 19, 2023, 2:02pm UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/11 "2023-04-19T14:02:38Z")

</div>

Dear @rcsampang,

We kindly request that you retrieve the secret key for Mosip-pms-client from the ‘keycloak-client-secrets’ stored in the Keycloak namespace. Please ensure that the key is decoded using the base64 algorithm.

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [April 19, 2023, 3:49pm UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/12 "2023-04-19T15:49:50Z")

</div>

@syed.salman Thank you.

But can you tell me the right command, I couldn’t figure it out. I tried several combinations but nothing worked.

This is what I thought it should be, but I did not get the desired result

$ echo Password: $(kubectl get secret --namespace keycloak keycloak-client-secrets -o jsonpath=“{.data.mosip-pms-client}” | base64 --decode)

Can anyone tell me the right / exact command to get the mosip-pms-client secretKey ?

---

<div class="post-metadata">

**Author:** ![syed.salman](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/syed.salman/32/25_2.png) [@syed.salman](https://community.mosip.io/u/syed.salman)\
**Post date:** [April 20, 2023, 6:19am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/13 "2023-04-20T06:19:32Z")

</div>

Hi @rcsampang, The PMS client secret key is ‘mosip\_pms\_client\_secret’. To retrieve it, please run the following command:

```auto
echo "PMS Client Password : $( kubectl -n keycloak get secrets keycloak-client-secrets -o jsonpath={.data.mosip_pms_client_secret} | base64 -d )"

```

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [April 20, 2023, 8:38am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/14 "2023-04-20T08:38:28Z")

</div>

@syed.salman @chandra_sekhar Thank you very much.

I was able to authenticate using clientId and SecretKey and partner self-registering using Swagger.

I also was able to upload certificate through the PMP portal. I was automatically logged in with the user service-account-mosip-pms-client

Now I have another problem, I can’t logged out. I can click the logout button but I am returned to the same page shown below. I tried it several times and even closed the window, refreshed the browser, but still can’t log out.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/0f3dbe3c504720338b42849eaea920b9648144aa.png)

I also closed the Swagger windows but I still can’t log out, therefore can’t log in with the newly created user (device partner)

What do I do now?

---

<div class="post-metadata">

**Author:** ![gsasikumar](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@gsasikumar](https://community.mosip.io/u/gsasikumar)\
**Post date:** [April 21, 2023, 10:51am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/15 "2023-04-21T10:51:09Z")

</div>

@rcsampang I think some role is missing for the actual partner account and that’s resulting in this problem. @syed.salman suggested trying swagger to check if the application is configured correctly.

Looks like some role is missing for the actual user. You should clear your cookies and try with the actual user like before. Also, provide the Keycloak user account and roles that are mapped.

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [April 24, 2023, 3:47am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/16 "2023-04-24T03:47:48Z")

</div>

@gsasikumar Hello!

Clearing the browser cache logged me out. I can now login and logout with the user credential of the newly created device partner - newdp and also log in and logout using the user credential with a Partner\_Admin role.

Note that the user **service-account-mosip-pms-client** is not in keycloak, I can’t find it in the list of users. But I have previously created a user with Partner\_Admin role.

So I was able to upload and view client certificate, also create device and SBI. The device\_partner is now showing in the drop down menu when creating device.

But clicking Home still doesn’t show dashboard where I can upload and view certificate when logged in as the newly created device partner - newdp.

I set this issue aside for now, since I already have uploaded the certificate and was able to view and save it as mosip-signed.crt for Mock-MDS, I proceeded with testing the regclient while running Mock-MDS.

I was successful in launching regclient and Mock-MDS with 3 devices discovered at port 4501 - 4600.

So I continued with updating the operator biometrics. No issue until the last step.

I can’t save the biometrics of the operator. A notification window pops up.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/25a447ad15fb61007e3e2c28467d4a0114a892e3.jpeg)

Clicking ok returns to previous window, biometrics still not saved.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/581b1f55f48e80f73f9e7757f5c6ae237d0a3296.jpeg)

---

<div class="post-metadata">

**Author:** ![gsasikumar](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@gsasikumar](https://community.mosip.io/u/gsasikumar)\
**Post date:** [April 25, 2023, 4:54am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/17 "2023-04-25T04:54:28Z")

</div>

@rcsampang Thanks for the long and clear post.

1. The **service-account-mosip-pms-client** is a virtual user account on demand created when you use a client id and secret to login. This is how Keycloak lets the client id and secret be used as a user.

2. On the dashboard we will come back to you. I will ask one of our team to validate the role and get back.

---

<div class="post-metadata">

**Author:** ![ckesiraju](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@ckesiraju](https://community.mosip.io/u/ckesiraju)\
**Post date:** [May 2, 2023, 5:19am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/19 "2023-05-02T05:19:21Z")

</div>

@rcsampang this is a known issue with 1201-b3, it was occuring because of docker image from mosipqa dockerhub repository was not proper. Anyhow, the released image i.e. mosipid/mosip-keycloak:16.1.1-debian-10-r85 was proper and there were no issues with this. we have updated mosipqa/mosip-keycloak:16.1.1-debian-10-r85 with proper image.

quick resolution: Restart keycloak statefullset pod and try again.

Thank you.

---

<div class="post-metadata">

**Author:** ![damodar](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@damodar](https://community.mosip.io/u/damodar)\
**Post date:** [May 2, 2023, 7:45am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/20 "2023-05-02T07:45:15Z")

</div>

@rcsampang this is a known issue with 1201-b3, it was occuring because of docker image from mosipqa dockerhub repository was not proper. Anyhow, the released image i.e. mosipid/mosip-keycloak:16.1.1-debian-10-r85 was proper and there were no issues with this. we have updated mosipqa/mosip-keycloak:16.1.1-debian-10-r85 with proper image.  
quick resolution : Restart keycloak statefullset pod and try again.  
Thank you  
Damodar

---

<div class="post-metadata">

**Author:** ![sanchi-singh24](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/sanchi-singh24/32/538_2.png) [@sanchi-singh24](https://community.mosip.io/u/sanchi-singh24)\
**Post date:** [September 29, 2023, 11:40am UTC](https://community.mosip.io/t/partner-management-portal-doesnt-show-dashboard-cant-create-device-nor-sbi/399/21 "2023-09-29T11:40:34Z")

</div>


