Hi @IntegrationSupport @himanshu0502
I tried registering for creating my abha id via aadhaar but after getting the otp using- /v1/registration/aadhaar/generateOtp
On second call that is-
/v1/registration/aadhaar/verifyOTP I am getting the following error-
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.web.client.HttpServerErrorException$GatewayTimeout: 504 Gateway Time-out: “
504 Gateway Time-out
The server didn’t respond in time.”] with root causeorg.springframework.web.client.HttpServerErrorException$GatewayTimeout: 504 Gateway Time-out: “
504 Gateway Time-out
The server didn’t respond in time.”at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:116) ~[spring-web-5.3.24.jar!/:5.3.24]
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:170) ~[spring-web-5.3.24.jar!/:5.3.24]
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:122) ~[spring-web-5.3.24.jar!/:5.3.24]
at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.3.24.jar!/:5.3.24]
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:825) ~[spring-web-5.3.24.jar!/:5.3.24]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:783) ~[spring-web-5.3.24.jar!/:5.3.24]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:717) ~[spring-web-5.3.24.jar!/:5.3.24]
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:608) ~[spring-web-5.3.24.jar!/:5.3.24]
at com.ahiresearch.auth.core.api.service.AbdmRegistrationService.verifyOtpWithAadhar(AbdmRegistrationService.java:61) ~[classes!/:0.0.1-SNAPSHOT]
at com.ahiresearch.auth.core.api.service.WrapperService.verifyAadhaarOtp(WrapperService.java:127) ~[classes!/:0.0.1-SNAPSHOT]
at com.ahiresearch.auth.core.controller.AbhaRegistrationController.verifyAadhaarOtp(AbhaRegistrationController.java:31) ~[classes!/:0.0.1-SNAPSHOT]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
I tried hitting the above api through postman also using -
https://healthidsbx.abdm.gov.in/api/v1/registration/aadhaar/generateOtp
https://healthidsbx.abdm.gov.in/api/v1/registration/aadhaar/verifyOTP
Postman is also giving the same reponse -
<h1>504 Gateway Time-out</h1>
The server didn't respond in time.
Please give some update on this and help me resolve this.