Kakao i Connect Live 커뮤니티

안드로이드 통화중 네트워크 꺼버리는 이슈

안녕하세요

사용 버전 : com.kakaoenterprise:kakao-i-connect-live:2.9.12

안드로이드 기기에서 통화 중에 네트워크를 끄는 테스트를 했는데요
onError로 4203코드를 내려준 뒤에 앱이 종료되는 이슈가 발생합니다.

sdk쪽 AecDump()함수가 호출되면서 NullPointerException가 발생하는 것 같습니다.

java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean com.remotemonster.sdk.Config.isAecDump()’ on a null object reference

확인 부탁드립니다

--------------------------해당 로그---------------------------------

V/NativeCrypto: Read error: ssl=0x70b938db88: I/O error during system call, Software caused connection abort
V/NativeCrypto: Write error: ssl=0x70b938db88: I/O error during system call, Broken pipe
E/stun_port.cc: (line 308): Port[97cbb000:audio:1:0:local:Net[tun0:172.31.151.x/32:VPN/Wifi:id=3]]: UDP send of 257 bytes failed with error 101
V/NativeCrypto: Write error: ssl=0x70b938db88: I/O error during system call, Broken pipe
V/NativeCrypto: Read error: ssl=0x7071e59348: I/O error during system call, Software caused connection abort
V/NativeCrypto: SSL shutdown failed: ssl=0x70b938db88: I/O error during system call, Success
V/NativeCrypto: Write error: ssl=0x7071e59348: I/O error during system call, Broken pipe
V/NativeCrypto: Read error: ssl=0x7077bfdd48: I/O error during system call, Software caused connection abort
E/kidsnote: DataCallManager: onError, code : 4241, message : null
V/NativeCrypto: Write error: ssl=0x7071e59348: I/O error during system call, Broken pipe
V/NativeCrypto: SSL shutdown failed: ssl=0x7071e59348: I/O error during system call, Success
E/stun_port.cc: (line 308): Port[97cbb000:audio:1:0:local:Net[tun0:172.31.151.x/32:VPN/Wifi:id=3]]: UDP send of 283 bytes failed with error 101
E/stun_port.cc: (line 308): Port[97cbb000:audio:1:0:local:Net[tun0:172.31.151.x/32:VPN/Wifi:id=3]]: UDP send of 58 bytes failed with error 101
V/NativeCrypto: SSL shutdown failed: ssl=0x7077bfdd48: I/O error during system call, Broken pipe
E/stun_port.cc: (line 308): Port[97cbb000:audio:1:0:local:Net[tun0:172.31.151.x/32:VPN/Wifi:id=3]]: UDP send of 39 bytes failed with error 101

W/System.err: java.net.UnknownHostException: Unable to resolve host “signal.remotemonster.com”: No address associated with hostname
W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:126)
W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:105)
W/System.err: at java.net.InetAddress.getAllByName(InetAddress.java:1154)
W/System.err: at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49)
W/System.err: at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:164)
W/System.err: at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:129)
W/System.err: at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:71)
W/System.err: at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:205)
W/System.err: at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
W/System.err: at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
W/System.err: at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
W/System.err: at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
W/System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
W/System.err: at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
W/System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
W/System.err: at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
W/System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
W/System.err: at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
W/System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
W/System.err: at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.kt:221)
W/System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
W/System.err: at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
W/System.err: at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/System.err: at java.lang.Thread.run(Thread.java:764)

onError
E/kidsnote: DataCallManager: onError, code : 4203, message : java.net.UnknownHostException: Unable to resolve host “signal.remotemonster.com”: No address associated with hostname

--------- beginning of crash
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.vaultmicro.kidsnote.beta, PID: 3758
java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean com.remotemonster.sdk.Config.isAecDump()’ on a null object reference
at com.remotemonster.sdk.core.PeerConnectionManager.closeInternal(PeerConnectionManager.java:490)
at com.remotemonster.sdk.core.PeerConnectionManager.close(PeerConnectionManager.java:159)
at com.remotemonster.sdk.RemonClient.closeRemonClient(RemonClient.java:319)
at com.remotemonster.sdk.RemonClient$$ExternalSyntheticLambda1.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7050)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

안녕하세요
최신버전인 2.9.21 로 다시 확인 부탁드리겠습니다 :blush:

1 Like

Network끊었을 때 PeerConnectionManager.class 안에 closeInternal() 호출 되는데

첫번째 onError시
onError, code : 4241, message : null
-> 이때 config 데이터 있어서 제대로 동작함.

두번째 onError 다시 호출되면서 config값 null로 되어있네요
onError, code : 4203, message : java.net.UnknownHostException: Unable to resolve host “signal.remotemonster.com”: No address associated with hostname

안녕하세요

해당 이슈 관련해서 재현이 저희쪽에서 재현이 안되고 있습니다.
좀더 자세한 확인을 위해 관련 시나리오 및 코드 스니펫 공유 부탁드립니다.