503 Error
unknown
plain_text
2 years ago
12 kB
18
Indexable
Never
restClientRequest for operation TSP:pay is RestClientRequest(httpMethod=POST, uri=https://ppi-pl.psp.api.ap-south-1.interop.ics.payments.amazon.dev/api/n2/merchants/transactions/sendMoney, timeoutInMillis=28500) with tspRequest: PayTspRequest(merchantCustomerId=amzn1.account.AGMPMZNDDQWRBOMDQ7A2OKQMBVLA, merchantRequestId=APIAP0b59abd861d8ba485886c57861c8e2, upiRequestId=APIAP0b59abd861d8ba485886c57861c8e2, bankAccountUniqueId=8f796305ba9f38b5757fee0c57df8216383efa4930bcd7b4385c79f5d2dfc23e, transactionType=SCAN_PAY, currency=INR, transactionReference=5004970752039, refUrl=null, refCategory=null, mcc=8062, udfParameters={"payType":"P2P_SCAN_PAY"}, isAmountBlocked=true) Response received: RestClientResponse(status=503, headers={date=[Tue, 13 Sep 2022 10:05:06 GMT], server=[***], content-length=[95], x-envoy-upstream-service-time=[651], x-xss-protection=[1; mode=block], x-content-type-options=[nosniff], x-frame-options=[SAMEORIGIN], content-type=[text/plain], strict-transport-security=[max-age=31536000; includeSubdomains; preload]}, mediaType=text/plain) Exception received from TSP Pay Api com.amazon.indiumtspinteractionlib.dependency.external.exception.ExternalDependencyRecoverableException: Received 503 recoverable REST status code from TspApbBank with invalid JSON response at com.amazon.indiumtspinteractionlib.dependency.external.tsp.utils.TSPRestClientWrapper.processOtherRestClientResponse(TSPRestClientWrapper.java:198) ~[IndiumTspInteractionLib-1.0.jar:?] at com.amazon.indiumtspinteractionlib.dependency.external.tsp.utils.TSPRestClientWrapper.processRestClientResponse(TSPRestClientWrapper.java:149) ~[IndiumTspInteractionLib-1.0.jar:?] at com.amazon.indiumtspinteractionlib.dependency.external.tsp.utils.TSPRestClientWrapper.call_aroundBody0(TSPRestClientWrapper.java:100) ~[IndiumTspInteractionLib-1.0.jar:?] at com.amazon.indiumtspinteractionlib.dependency.external.tsp.utils.TSPRestClientWrapper$AjcClosure1.run(TSPRestClientWrapper.java:1) ~[IndiumTspInteractionLib-1.0.jar:?] at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[aspectjweaver-1.8.13.jar:1.8.13] at com.amazon.metrics.declarative.aspectj.JoinpointInvocationHandle.proceed(JoinpointInvocationHandle.java:60) ~[DeclarativeCoralMetricsAspectJ-2.1.jar:?] at com.amazon.metrics.declarative.AbstractMethodMetricInterceptor.handleInvocation(AbstractMethodMetricInterceptor.java:283) ~[DeclarativeCoralMetrics-2.1.jar:?] at com.amazon.metrics.declarative.aspectj.MetricMethodAspect$ConfiguredMethodAspect.invoke(MetricMethodAspect.java:101) ~[DeclarativeCoralMetricsAspectJ-2.1.jar:?] at com.amazon.metrics.declarative.aspectj.MetricMethodAspect.captureMethodMetrics(MetricMethodAspect.java:52) ~[DeclarativeCoralMetricsAspectJ-2.1.jar:?] at com.amazon.indiumtspinteractionlib.dependency.external.tsp.utils.TSPRestClientWrapper.call(TSPRestClientWrapper.java:84) ~[IndiumTspInteractionLib-1.0.jar:?] at com.amazon.indiumpaymentprocessorarestservice.dependency.external.tsp.accessor.AbstractTSPAccessor.callTSPAndValidateResponse(AbstractTSPAccessor.java:1211) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at com.amazon.indiumpaymentprocessorarestservice.dependency.external.tsp.accessor.AbstractTSPAccessor.lambda$callTSPAndValidateResponseWithRetry$0(AbstractTSPAccessor.java:1163) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at com.amazon.coral.retry.RetryingCallable.call(RetryingCallable.java:167) ~[CoralRetry-2.0.jar:?] at com.amazon.indiumpaymentprocessorarestservice.retry.IndiumPaymentProcessorRetryer.callWithRetry(IndiumPaymentProcessorRetryer.java:35) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at com.amazon.indiumpaymentprocessorarestservice.dependency.external.tsp.accessor.AbstractTSPAccessor.callTSPAndValidateResponseWithRetry(AbstractTSPAccessor.java:1162) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at com.amazon.indiumpaymentprocessorarestservice.dependency.external.tsp.accessor.AbstractTSPAccessor.pay(AbstractTSPAccessor.java:697) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at com.amazon.indiumpaymentprocessorarestservice.service.PaymentService.invokeTspPay(PaymentService.java:190) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at com.amazon.indiumpaymentprocessorarestservice.service.PaymentService.pay(PaymentService.java:145) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at com.amazon.indiumpaymentprocessorarestservice.controller.PaymentController.pay_aroundBody0(PaymentController.java:55) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at com.amazon.indiumpaymentprocessorarestservice.controller.PaymentController$AjcClosure1.run(PaymentController.java:1) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[aspectjweaver-1.8.13.jar:1.8.13] at com.amazon.metrics.declarative.aspectj.JoinpointInvocationHandle.proceed(JoinpointInvocationHandle.java:60) ~[DeclarativeCoralMetricsAspectJ-2.1.jar:?] at com.amazon.metrics.declarative.AbstractMethodMetricInterceptor.handleInvocation(AbstractMethodMetricInterceptor.java:283) ~[DeclarativeCoralMetrics-2.1.jar:?] at com.amazon.metrics.declarative.aspectj.MetricMethodAspect$ConfiguredMethodAspect.invoke(MetricMethodAspect.java:101) ~[DeclarativeCoralMetricsAspectJ-2.1.jar:?] at com.amazon.metrics.declarative.aspectj.MetricMethodAspect.captureMethodMetrics(MetricMethodAspect.java:52) ~[DeclarativeCoralMetricsAspectJ-2.1.jar:?] at com.amazon.indiumpaymentprocessorarestservice.controller.PaymentController.pay_aroundBody2(PaymentController.java:52) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at com.amazon.indiumpaymentprocessorarestservice.controller.PaymentController$AjcClosure3.run(PaymentController.java:1) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[aspectjweaver-1.8.13.jar:1.8.13] at com.amazon.indiumpaymentprocessorarestservice.aspects.ControllerAspect.processControllerRequest(ControllerAspect.java:74) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at com.amazon.indiumpaymentprocessorarestservice.controller.PaymentController.pay(PaymentController.java:52) ~[IndiumPaymentProcessorARestService-1.0.jar:?] at sun.reflect.GeneratedMethodAccessor305.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_342] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_342] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137) ~[resteasy-jaxrs-3.0.10.Final.jar:?] at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296) ~[resteasy-jaxrs-3.0.10.Final.jar:?] at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250) ~[resteasy-jaxrs-3.0.10.Final.jar:?] at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:237) ~[resteasy-jaxrs-3.0.10.Final.jar:?] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) ~[resteasy-jaxrs-3.0.10.Final.jar:?] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179) ~[resteasy-jaxrs-3.0.10.Final.jar:?] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220) ~[resteasy-jaxrs-3.0.10.Final.jar:?] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) ~[resteasy-jaxrs-3.0.10.Final.jar:?] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) ~[resteasy-jaxrs-3.0.10.Final.jar:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) ~[servlet-api-3.0.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) ~[catalina.jar:7.0.109] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) ~[catalina.jar:7.0.109] at com.amazon.arest.metrics.ARestQuerylogFilter.doFilter(ARestQuerylogFilter.java:58) ~[ARest-Server-CoralMetrics-1.0.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) ~[catalina.jar:7.0.109] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) ~[catalina.jar:7.0.109] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) ~[catalina.jar:7.0.109] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) ~[catalina.jar:7.0.109] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) ~[catalina.jar:7.0.109] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:165) ~[catalina.jar:7.0.109] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) ~[catalina.jar:7.0.109] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) ~[catalina.jar:7.0.109] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:451) ~[catalina.jar:7.0.109] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1212) ~[tomcat-coyote.jar:7.0.109] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:654) ~[tomcat-coyote.jar:7.0.109] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:317) ~[tomcat-coyote.jar:7.0.109] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_342] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_342] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-coyote.jar:7.0.109] at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_342] Caused by: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'upstream': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (String)"upstream connect error or disconnect/reset before headers. reset reason: connection termination"; line: 1, column: 9] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2337) ~[jackson-core-2.12.6.jar:?] at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:720) ~[jackson-core-2.12.6.jar:?] at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(ReaderBasedJsonParser.java:2902) ~[jackson-core-2.12.6.jar:?] at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1949) ~[jackson-core-2.12.6.jar:?] at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:781) ~[jackson-core-2.12.6.jar:?] at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4684) ~[jackson-databind-2.12.6.1.jar:?] at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4586) ~[jackson-databind-2.12.6.1.jar:?] at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3548) ~[jackson-databind-2.12.6.1.jar:?] at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3516) ~[jackson-databind-2.12.6.1.jar:?] at com.amazon.indiumtspinteractionlib.dependency.external.tsp.utils.TSPRestClientWrapper.getTSPResponse(TSPRestClientWrapper.java:174) ~[IndiumTspInteractionLib-1.0.jar:?] at com.amazon.indiumtspinteractionlib.dependency.external.tsp.utils.TSPRestClientWrapper.processOtherRestClientResponse(TSPRestClientWrapper.java:193) ~[IndiumTspInteractionLib-1.0.jar:?] ... 61 more