Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hasuniea opened this issue Dec 22, 2021 · 0 comments
Milestone

Comments

@hasuniea
Copy link
Contributor

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:

@hasuniea hasuniea added this to the 4.0.0.3 milestone Dec 22, 2021
@hasuniea hasuniea changed the title 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 Connection refused (Connection refused) executing GET https://wso2am-pattern-4-am-cp-service:9443/oauth2/token/.well-known/openid-configuration Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant