Registration tasks section missing in Registration client menu

should I add them here ?

Nope @hamid

For client accounts, you should always add it in “Service Account Roles”

Select the roles from “Available Roles” list and then click on “Add Selected”

@Anusha_sunkadh I’ve added the roles as you said.
here are the logs:

@hamid After adding roles you should restart masterdata-service and syncdata-service

Then try doing the fresh(delete db, .mosipkeys and logs) restart of the registration client.

after that can you share the registration-client logs?

@Anusha_sunkadh I did like u said
here are the logs:

@hamid I do not see masterdata sync details in the shared logs,

@Anusha_sunkadh Kindly check again.

@hamid

Kindly follow this video, I have also explained how to check the logs for masterdata sync.

Thank you @Anusha_sunkadh for the explanation.

I have the problem in this two endpoints:
http://dev.mosip.local/v1/masterdata/locationHierarchyLevels” and “http://dev.mosip.local/v1/masterdata/dynamicfields

I’ve added the roles in keycloak:

masterdata logs :

{“@timestamp”:“2023-06-03T12:24:13.005+01:00”,“@version”:“1”,“message”:“\n\n Exception : Authorization token not present > http://dev.mosip.local/v1/masterdata/dynamicfields\n\n",“logger_name”:“io.mosip.kernel.auth.defaultadapter.filter.AuthFilter”,“thread_name”:“http-nio-8086-exec-4”,“level”:“ERROR”,“level_value”:40000,“appName”:“kernel-masterdata-service”,“traceId”:“47472876a7f173b6”,“spanId”:“efa86374e3a8cff0”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“efa86374e3a8cff0”,“X-B3-ParentSpanId”:“5caf64bc7f8f20d3”,“X-B3-TraceId”:“47472876a7f173b6”,“parentId”:"5caf64bc7f8f20d3”}
{“@timestamp”:“2023-06-03T12:24:41.122+01:00”,“@version”:“1”,“message”:“\n\n Exception : Authorization token not present > http://dev.mosip.local/v1/masterdata/locationHierarchyLevels\n\n",“logger_name”:“io.mosip.kernel.auth.defaultadapter.filter.AuthFilter”,“thread_name”:“http-nio-8086-exec-5”,“level”:“ERROR”,“level_value”:40000,“appName”:“kernel-masterdata-service”,“traceId”:“47472876a7f173b6”,“spanId”:“189d158d9f5a573b”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“189d158d9f5a573b”,“X-B3-ParentSpanId”:“9f8a0cbcf49a92a2”,“X-B3-TraceId”:“47472876a7f173b6”,“parentId”:"9f8a0cbcf49a92a2”}

hi @hamid

Things to check if the “Authorization token not present” error is seen

  1. Check kernel-auth-adapter is present in the syncdata-service classpath during runtime.
  2. Cross check if these properties are propeely set
    mosip-config/syncdata-default.properties at develop-v3 · mosip/mosip-config · GitHub
  3. check the logs of syncdata-service to see if it is fetching the token from auth-service successfully,

Also if possible share the complete logs of kernel-syncdata-service

Hello @Anusha_sunkadh
here is the logs of syncdata-service

Hi @hamid

  1. what is the value set for the below configuration?
    mosip.iam.adapter.clientid
    mosip.iam.adapter.appid

  2. Check if kernel-auth-adapter is in the classpath. Then add 1.2.0 version of kernel-auth-adapter if not present.

  3. Do you notice any errors/exceptions in kernel-masterdata-service, as it’s failing when invoking masterdata service endpoints?

Hi @Anusha_sunkadh
When i click in "Synchronize Data " button it told me to resart the application but when i enter the Username it give me this error :

Hi @BENZIZA_Mohamed ,

Please cross check if your machine and the username that you are trying to login, are mapped to the same center. You can verify this in admin portal.

If yes, kindly share your logs to check the error.