EGOV-USER Service and EGOV-Workflow-v2 Configuration Issue #531
Replies: 3 comments 3 replies
-
Hey @PrasadAthani |
Beta Was this translation helpful? Give feedback.
-
Hi @Rishabh-egov
I had made these changes but still my User service container is failing to
run
Here i am attaching my .env for mdms please let me know what is the issue..
…On Wed, Sep 11, 2024 at 8:57 PM Rishabh-egov ***@***.***> wrote:
Hey @PrasadAthani <https://github.com/PrasadAthani>
From the logs which you have shared it seems the user service is unable to
fetch some configs from MDMS.
I can see that it's failing at EncryptionPolicy. You need to double check
these policies to be present in your mdms repo / db whichever way you are
using it (
https://github.com/egovernments/egov-mdms-data/tree/digit-lts-playground/data/pg/DataSecurity
).
—
Reply to this email directly, view it on GitHub
<#531 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BD2CXZ6TI6DX65HIAG5XSPDZWBONNAVCNFSM6AAAAABNRM5PA2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANRRGU4TMNY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I am getting null response for above all curl. server.port=8088 here in these two fields am i missing anything or it is correct for these two fields egov.mdms.conf.path, masters.config.url |
Beta Was this translation helpful? Give feedback.
-
We are deploying Digit-Core Services through docker containerization.
We had deployed Backbone services required to run Core services like Kafka, Postgres,Redis, Elastic Search.
In addition to this we already had deployed Some of Core Services Here is a list of Services we had deployed ...
1 egov-accesscontrol
2 egov-common-masters
3 egov-data-uploader
4 egov-enc-service
5 egov-filestore
6 egov-idgen
7 egov-localization
8 egov-location
9 egov-mdms-service
10 egov-otp
11 egov-telemetry
When we are setting up USER Service it is throwing errors..
Like Some MDMS Configuration is missing for USER Service which we don't know how to configure ..
Please Help us in this Configuration and to Up and Start container for USER Service.
Here is detailed docker logs of USER Service
2024-09-03 06:22:41.736+0000 INFO --- [tartStop-1] o.s.b.w.s.FilterRegistrationBean -- : Mapping filter: 'applicationContextIdFilter' to: [/*]
2024-09-03 06:22:41.736+0000 INFO --- [tartStop-1] o.s.b.w.s.ServletRegistrationBean -- : Mapping servlet: 'dispatcherServlet' to [/]
2024-09-03 06:22:42.845+0000 INFO --- [ main] o.e.t.h.RestTemplateLoggingInterceptor -- : Sending request to https://e-permishabitat.gouv.dj/egov-mdms-service/egov-mdms-service/v1/_search with verb POST
2024-09-03 06:22:43.376+0000 INFO --- [ main] o.e.t.h.RestTemplateLoggingInterceptor -- : Received response from https://e-permishabitat.gouv.dj/egov-mdms-service/egov-mdms-service/v1/_search
2024-09-03 06:22:43.400+0000 ERROR --- [ main] o.e.e.util.MdmsFetcher -- : Error occurred while fetching MDMS Configs
org.springframework.web.client.HttpClientErrorException: 404 null
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:108)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:709)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:662)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:622)
at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:416)
at org.egov.encryption.util.MdmsFetcher.getMdmsForFilter(MdmsFetcher.java:48)
at org.egov.encryption.util.MdmsFetcher.getSecurityMdmsForFilter(MdmsFetcher.java:28)
at org.egov.encryption.config.EncryptionPolicyConfiguration.initializeEncryptionPolicyAttributesMapFromMdms(EncryptionPolicyConfiguration.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1622)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:211)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1131)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1059)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:583)
Beta Was this translation helpful? Give feedback.
All reactions