Error While Login in Admin Portal

Hi Team,

I am trying to install MOSIP component in our on-premises environment, Currently I am facing problem while logging in Admin Portal

Admin Version: release.1.2.0.1
attaching screenshot and logs
image

image

{“@timestamp”:“2024-06-03T05:55:37.381Z”,“@version”:“1”,“message”:“offline verification for environment profile. UserName: globaladmin”,“logger_name”:“io.mosip.kernel.auth.defaultadapter.helper.ValidateTokenHelper”,“thread_name”:“http-nio-8098-exec-2”,“level”:“INFO”,“level_value”:20000,“appName”:“admin-service”,“traceId”:“41af040f39034a10cdf4a40dad5b5c5d”,“spanId”:“bb1dbc6f170be2da”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“bb1dbc6f170be2da”,“X-B3-ParentSpanId”:“cdf4a40dad5b5c5d”,“X-B3-TraceId”:“41af040f39034a10cdf4a40dad5b5c5d”,“parentId”:“cdf4a40dad5b5c5d”}
{“@timestamp”:“2024-06-03T05:55:37.387Z”,“@version”:“1”,“message”:“Provided Auth Token expired. Throwing Authentication Exception. UserName: globaladmin”,“logger_name”:“io.mosip.kernel.auth.defaultadapter.helper.ValidateTokenHelper”,“thread_name”:“http-nio-8098-exec-4”,“level”:“ERROR”,“level_value”:40000,“appName”:“admin-service”,“traceId”:“4ef2ff928641ef4bbcfb318befc89f16”,“spanId”:“004ee166aa850147”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“004ee166aa850147”,“X-B3-ParentSpanId”:“bcfb318befc89f16”,“X-B3-TraceId”:“4ef2ff928641ef4bbcfb318befc89f16”,“parentId”:“bcfb318befc89f16”}
{“@timestamp”:“2024-06-03T05:55:37.388Z”,“@version”:“1”,“message”:“Exception Root Cause: Authentication Failed “,“logger_name”:“io.mosip.kernel.core.exception.ExceptionUtils”,“thread_name”:“http-nio-8098-exec-4”,“level”:“ERROR”,“level_value”:40000,“appName”:“admin-service”,“traceId”:“4ef2ff928641ef4bbcfb318befc89f16”,“spanId”:“004ee166aa850147”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“004ee166aa850147”,“X-B3-ParentSpanId”:“bcfb318befc89f16”,“X-B3-TraceId”:“4ef2ff928641ef4bbcfb318befc89f16”,“parentId”:“bcfb318befc89f16”}
{”@timestamp”:“2024-06-03T05:55:37.388Z”,“@version”:“1”,“message”:“Provided Auth Token expired. Throwing Authentication Exception. UserName: globaladmin”,“logger_name”:“io.mosip.kernel.auth.defaultadapter.helper.ValidateTokenHelper”,“thread_name”:“http-nio-8098-exec-2”,“level”:“ERROR”,“level_value”:40000,“appName”:“admin-service”,“traceId”:“41af040f39034a10cdf4a40dad5b5c5d”,“spanId”:“bb1dbc6f170be2da”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“bb1dbc6f170be2da”,“X-B3-ParentSpanId”:“cdf4a40dad5b5c5d”,“X-B3-TraceId”:“41af040f39034a10cdf4a40dad5b5c5d”,“parentId”:“cdf4a40dad5b5c5d”}
{“@timestamp”:“2024-06-03T05:55:37.389Z”,“@version”:“1”,“message”:“Exception Root Cause: Authentication Failed “,“logger_name”:“io.mosip.kernel.core.exception.ExceptionUtils”,“thread_name”:“http-nio-8098-exec-2”,“level”:“ERROR”,“level_value”:40000,“appName”:“admin-service”,“traceId”:“41af040f39034a10cdf4a40dad5b5c5d”,“spanId”:“bb1dbc6f170be2da”,“spanExportable”:“false”,“X-Span-Export”:“false”,“X-B3-SpanId”:“bb1dbc6f170be2da”,“X-B3-ParentSpanId”:“cdf4a40dad5b5c5d”,“X-B3-TraceId”:“41af040f39034a10cdf4a40dad5b5c5d”,“parentId”:“cdf4a40dad5b5c5d”}
{”@timestamp”:“2024-06-03T05:55:37.389Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“4ef2ff928641ef4bbcfb318befc89f16”,“statusCode”:401,“req.requestURI”:“/v1/admin/masterdata/configs”,“bytesSent”:173,“timeTaken”:0.017,“appName”:“admin-service”,“req.userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0”,“req.xForwardedFor”:“10.0.1.41,10.42.0.0”,“req.referer”:“https://admin.eiddev.stataware.com/",“req.method”:“GET”,“req.remoteHost”:"127.0.0.6”}
{“@timestamp”:“2024-06-03T05:55:37.389Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“41af040f39034a10cdf4a40dad5b5c5d”,“statusCode”:401,“req.requestURI”:“/v1/admin/authorize/admin/validateToken”,“bytesSent”:173,“timeTaken”:0.010,“appName”:“admin-service”,“req.userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0”,“req.xForwardedFor”:“10.0.1.41,10.42.0.0”,“req.referer”:“https://admin.eiddev.stataware.com/",“req.method”:“GET”,“req.remoteHost”:"127.0.0.6”}
{“@timestamp”:“2024-06-03T05:55:37.768Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“c78511ded643a2d067797f34b839098b”,“statusCode”:302,“req.requestURI”:“/v1/admin/login/aHR0cHM6Ly9hZG1pbi5laWRkZXYuc3RhdGF3YXJlLmNvbS8=”,“bytesSent”:-,“timeTaken”:0.003,“appName”:“admin-service”,“req.userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0”,“req.xForwardedFor”:“10.0.1.41,10.42.0.0”,“req.referer”:“https://admin.eiddev.stataware.com/",“req.method”:“GET”,“req.remoteHost”:"127.0.0.6”}

Dear @Jayant ,

Thank you for reaching out, We are looking into your query and will get back to you soon!

Best Regards
Team MOSIP

Hello @Jayant ,

Please check the status of keycloak stateful sets and share the kernel-masterdata service image id and logs to debug the issue further.

Thanks and Regards
Team MOSIP

Hi @balaji-alluru
Thanks for your quick response.

Details as per your request are given below

masterdata image: docker.io/mosipid/kernel-masterdata-service:1.2.0.1

Masterdata logs:

{“@timestamp”:“2024-06-03T13:29:00.335Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“fd90ca96636cb0ad”,“statusCode”:200,“req.requestURI”:“/v1/masterdata/actuator/health”,“bytesSent”:226,“timeTaken”:0.002,“appName”:“kernel-masterdata-service”,“req.userAgent”:“kube-probe/1.22”,“req.xForwardedFor”:“-”,“req.referer”:“-”,“req.method”:“GET”,“req.remoteHost”:“127.0.0.6”}
{“@timestamp”:“2024-06-03T13:29:01.095Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“efe68dfafc1e301daa00733268438089”,“statusCode”:200,“req.requestURI”:“/v1/masterdata/actuator/prometheus”,“bytesSent”:17305,“timeTaken”:0.002,“appName”:“kernel-masterdata-service”,“req.userAgent”:“Prometheus/2.42.0”,“req.xForwardedFor”:“-”,“req.referer”:“-”,“req.method”:“GET”,“req.remoteHost”:“127.0.0.6”}
{“@timestamp”:“2024-06-03T13:29:10.335Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“e55dbeb9712cdc2f”,“statusCode”:200,“req.requestURI”:“/v1/masterdata/actuator/health”,“bytesSent”:226,“timeTaken”:0.001,“appName”:“kernel-masterdata-service”,“req.userAgent”:“kube-probe/1.22”,“req.xForwardedFor”:“-”,“req.referer”:“-”,“req.method”:“GET”,“req.remoteHost”:“127.0.0.6”}
{“@timestamp”:“2024-06-03T13:29:11.096Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“00d1a2a8276cf365651933f3e821932b”,“statusCode”:200,“req.requestURI”:“/v1/masterdata/actuator/prometheus”,“bytesSent”:17304,“timeTaken”:0.002,“appName”:“kernel-masterdata-service”,“req.userAgent”:“Prometheus/2.42.0”,“req.xForwardedFor”:“-”,“req.referer”:“-”,“req.method”:“GET”,“req.remoteHost”:“127.0.0.6”}
{“@timestamp”:“2024-06-03T13:29:11.847Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“bce2f1713be95ce8”,“statusCode”:200,“req.requestURI”:“/v1/masterdata/actuator/health”,“bytesSent”:226,“timeTaken”:0.002,“appName”:“kernel-masterdata-service”,“req.userAgent”:“kube-probe/1.22”,“req.xForwardedFor”:“-”,“req.referer”:“-”,“req.method”:“GET”,“req.remoteHost”:“127.0.0.6”}
{“@timestamp”:“2024-06-03T13:29:20.334Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“7f7bcabc55d56b74”,“statusCode”:200,“req.requestURI”:“/v1/masterdata/actuator/health”,“bytesSent”:226,“timeTaken”:0.001,“appName”:“kernel-masterdata-service”,“req.userAgent”:“kube-probe/1.22”,“req.xForwardedFor”:“-”,“req.referer”:“-”,“req.method”:“GET”,“req.remoteHost”:“127.0.0.6”}
{“@timestamp”:“2024-06-03T13:29:21.095Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“077d0cc5307345032f42e284be99b24d”,“statusCode”:200,“req.requestURI”:“/v1/masterdata/actuator/prometheus”,“bytesSent”:17278,“timeTaken”:0.002,“appName”:“kernel-masterdata-service”,“req.userAgent”:“Prometheus/2.42.0”,“req.xForwardedFor”:“-”,“req.referer”:“-”,“req.method”:“GET”,“req.remoteHost”:“127.0.0.6”}
{“@timestamp”:“2024-06-03T13:29:30.335Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“2b8324eddd4f1e08”,“statusCode”:200,“req.requestURI”:“/v1/masterdata/actuator/health”,“bytesSent”:226,“timeTaken”:0.001,“appName”:“kernel-masterdata-service”,“req.userAgent”:“kube-probe/1.22”,“req.xForwardedFor”:“-”,“req.referer”:“-”,“req.method”:“GET”,“req.remoteHost”:“127.0.0.6”}
{“@timestamp”:“2024-06-03T13:29:31.095Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“afab3637ae4469d4106b00862e1af484”,“statusCode”:200,“req.requestURI”:“/v1/masterdata/actuator/prometheus”,“bytesSent”:17305,“timeTaken”:0.001,“appName”:“kernel-masterdata-service”,“req.userAgent”:“Prometheus/2.42.0”,“req.xForwardedFor”:“-”,“req.referer”:“-”,“req.method”:“GET”,“req.remoteHost”:“127.0.0.6”}
{“@timestamp”:“2024-06-03T13:29:40.335Z”,“level”:“ACCESS”,“level_value”:70000,“traceId”:“555e34aef1166a11”,“statusCode”:200,“req.requestURI”:“/v1/masterdata/actuator/health”,“bytesSent”:226,“timeTaken”:0.001,“appName”:“kernel-masterdata-service”,“req.userAgent”:“kube-probe/1.22”,“req.xForwardedFor”:“-”,“req.referer”:“-”,“req.method”:“GET”,“req.remoteHost”:“127.0.0.6”}

Dear @Jayant ,

Your request is noted, our expert colleague @balaji-alluru will be shortly responding to this.

Best Regards
Team MOSIP

Hi @balaji-alluru

Waiting for your response

Hi @Jayant ,

Thank you for reaching out to us. Respective team member is checking internally on this issue.

Kindly provide us some time. We will revert back to your query at our earliest.

Regards,
Varaniya S
On behalf of MOSIP