Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
3.9 kB
1
Indexable
Never
 domainXYZ : collectionuamsdev and clientIdXYZ : 2bj0pg2s2kggjsoa18g1dc2rto
2023-12-20 11:37:00,146 [http-nio-8080-exec-9] [] ERROR c.k.c.reporting.sao.TokenRefreshAuthSao            - API to refresh access token has failed with error: {}
org.springframework.web.client.HttpClientErrorException$BadRequest: 400 : "{"message":"Error while performing operation with Auth server during refreshing access token"}"
        at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:103)
        at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:183)
        at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:137)
        at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
        at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:915)
        at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:864)
        at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:764)
        at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:512)
        at com.kotak.collection.reporting.sao.TokenRefreshAuthSao.refreshAccessToken(TokenRefreshAuthSao.java:79)
        at com.kotak.collection.reporting.filter.RefreshAccessTokenFilter.doFilter(RefreshAccessTokenFilter.java:57)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)



0 11:36:55,940 [http-nio-9091-exec-9] [da11bcca-c1b4-4930-a9f3-54835aa0d99c] ERROR c.k.r.u.s.i.AuthenticationTokenSaoImpl             - Exception occurred while generating refreshed tokens: {}
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://null.auth.ap-south-1.amazoncognito.com/oauth2/token": null.auth.ap-south-1.amazoncognito.com
        at org.springframework.web.client.RestTemplate.createResourceAccessException(RestTemplate.java:888)
        at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:868)
        at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:764)
        at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:512)
        at com.kotak.ra.uams.sao.impl.AuthenticationTokenSaoImpl.getRefreshedTokens(AuthenticationTokenSaoImpl.java:184)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:756)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89)
        at io.github.resilience4j.retry.Retry.lambda$decorateCheckedSupplier$1(Retry.java:135)
        at io.github.resilience4j.retry.Retry.executeCheckedSupplier(Retry.java:350)
        at io.github.resilience4j.spring6.retry.configure.RetryAspect.handleDefaultJoinPoint(RetryAspect.java:175)
        at io.github.resilience4j.spring6.retry.configure.RetryAspect.proceed(RetryAspect.java:132)
        at io.github.resilience4j.spring6.retry.configure.RetryAspect.lambda$retryAroundAdvice$0(RetryAspect.java:116)
        at io.github.resilience4j.spring6.fall
Leave a Comment