Etc/Test

com.oracle.bmc.model.BmcException

김컴맹 2023. 3. 21. 09:32
반응형
com.oracle.bmc.model.BmcException: (-1, null, false) Processing exception while communicating to: https://identity.ap-chuncheon-1.oraclecloud.com (outbound opc-request-id: 0123456)
	at com.oracle.bmc.http.internal.RestClient.convertToBmcException(RestClient.java:864)
	at com.oracle.bmc.http.internal.RestClient.get(RestClient.java:162)
	at com.oracle.bmc.identity.IdentityClient.lambda$null$120(IdentityClient.java:2303)
	at com.oracle.bmc.retrier.BmcGenericRetrier.doFunctionCall(BmcGenericRetrier.java:89)
	at com.oracle.bmc.retrier.BmcGenericRetrier.lambda$execute$0(BmcGenericRetrier.java:60)
	at com.oracle.bmc.waiter.GenericWaiter.execute(GenericWaiter.java:55)
	at com.oracle.bmc.retrier.BmcGenericRetrier.execute(BmcGenericRetrier.java:51)
	at com.oracle.bmc.identity.IdentityClient.lambda$getTenancy$121(IdentityClient.java:2300)
	at com.oracle.bmc.retrier.BmcGenericRetrier.doFunctionCall(BmcGenericRetrier.java:89)
	at com.oracle.bmc.retrier.BmcGenericRetrier.lambda$execute$0(BmcGenericRetrier.java:60)
	at com.oracle.bmc.waiter.GenericWaiter.execute(GenericWaiter.java:55)
	at com.oracle.bmc.retrier.BmcGenericRetrier.execute(BmcGenericRetrier.java:51)
	at com.oracle.bmc.identity.IdentityClient.getTenancy(IdentityClient.java:2294)
	.....
    at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
	at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)

 

 

Oracle Cloud Infrastructure (OCI)의 Identity and Access Management (IAM) 서비스와 연결할 때 발생하는 예외를 나타냅니다. 이 예외는 클라이언트가 IAM 서비스에 연결할 때 문제가 있음을 나타냅니다.

상세한 오류 메시지를 살펴보면, "com.oracle.bmc.model.BmcException" 예외가 발생하고,

"Processing exception while communicating to: https://identity.ap-chuncheon-1.oraclecloud.com" 문구에서는 IAM 서비스의 엔드포인트인 "https://identity.ap-chuncheon-1.oraclecloud.com" 에 연결하는 동안 오류가 발생했음을 나타냅니다. 

"opc-request-id: 0123456"는 해당 요청의 고유 식별자입니다.

이 예외의 발생 이유는 여러 가지가 있을 수 있습니다. 예를 들어 IAM 서비스가 다운되거나, 클라이언트가 IAM 서비스에 연결하기 위한 올바른 권한이 없는 경우, 또는 IAM 서비스의 엔드포인트가 잘못된 경우 등이 있을 수 있습니다.

해결 방법은 다양합니다. 일반적으로는 IAM 서비스의 상태를 확인하고, 클라이언트가 올바른 권한을 가지고 있는지, 그리고 IAM 서비스의 엔드포인트가 올바른지 확인해야 합니다. 또한 네트워크 문제가 있는지도 확인할 필요가 있습니다. 

이를 위해 OCI 콘솔에서 IAM 서비스의 상태를 확인하고, 로깅 및 모니터링 도구를 사용하여 문제를 해결할 수 있습니다.

반응형