wso2 / kubernetes-apim

Kubernetes and Helm resources for WSO2 API Manager
Apache License 2.0
112 stars 216 forks source link

Connection refused (Connection refused) executing GET https://wso2am-pattern-4-am-cp-service:9443/oauth2/token/.well-known/openid-configuration #533

Open hasuniea opened 2 years ago

hasuniea commented 2 years ago

Description: This connection refused issue is occurred at initially in CP nodes. But it is recovered during short time period. The particular environment has 2 CP nodes(CP1,CP2). I tried to delete one of CP pod and went through the logs and noticed that this issues is not in there.Hence we suspect there might be a small delay in other CP node. Note- This is a harmless issue. Error Log-- [2021-12-22 07:34:18,411] ERROR - GlobalThrowableMapper An unknown exception has been captured by the global exception mapper.

feign.RetryableException: Connect to wso2am-pattern-4-am-cp-service:9443 [wso2am-pattern-4-am-cp-service/10.100.251.243] failed: Connection refused (Connection refused) executing GET https://wso2am-pattern-4-am-cp-service:9443/oauth2/token/.well-known/openid-configuration

at feign.FeignException.errorExecuting(FeignException.java:249) ~[io.github.openfeign.feign-core_11.0.0.jar:?]

at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:129) ~[io.github.openfeign.feign-core_11.0.0.jar:?]

at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:89) ~[io.github.openfeign.feign-core_11.0.0.jar:?]

at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:100) ~[io.github.openfeign.feign-core_11.0.0.jar:?]

at com.sun.proxy.$Proxy423.getOpenIdConnectConfiguration(Unknown Source) ~[?:?]

at org.wso2.carbon.apimgt.impl.utils.APIUtil.getOpenIdConnectConfigurations_aroundBody818(APIUtil.java:11537) ~[org.wso2.carbon.apimgt.impl_9.0.174.72.jar:?]

at org.wso2.carbon.apimgt.impl.utils.APIUtil.getOpenIdConnectConfigurations(APIUtil.java:11532) ~[org.wso2.carbon.apimgt.impl_9.0.174.72.jar:?]

at org.wso2.carbon.apimgt.impl.utils.APIUtil.getAndSetDefaultKeyManagerConfiguration_aroundBody788(APIUtil.java:11104) ~[org.wso2.carbon.apimgt.impl_9.0.174.72.jar:?]

at org.wso2.carbon.apimgt.impl.utils.APIUtil.getAndSetDefaultKeyManagerConfiguration(APIUtil.java:11076) ~[org.wso2.carbon.apimgt.impl_9.0.174.72.jar:?]

at org.wso2.carbon.apimgt.impl.APIAdminImpl.getKeyManagerConfigurationsByTenant_aroundBody28(APIAdminImpl.java:332) ~[org.wso2.carbon.apimgt.impl_9.0.174.72.jar:?]

at org.wso2.carbon.apimgt.impl.APIAdminImpl.getKeyManagerConfigurationsByTenant(APIAdminImpl.java:315) ~[org.wso2.carbon.apimgt.impl_9.0.174.72.jar:?]

at org.wso2.carbon.apimgt.internal.service.impl.KeymanagersApiServiceImpl.keymanagersGet(KeymanagersApiServiceImpl.java:46) ~[classes/:?]

at org.wso2.carbon.apimgt.internal.service.KeymanagersApi.keymanagersGet(KeymanagersApi.java:48) ~[classes/:?]

at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]

at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues: