hello @Indevers
we still cannot reproduce the issue please attach your project or the project with a minimal amount of code. Also, provide the steps that we should do to reproduce the issue.
hello @Indevers
we still cannot reproduce the issue please attach your project or the project with a minimal amount of code. Also, provide the steps that we should do to reproduce the issue.
Hi, Could I have an email to send the project? it’s confidential. Thanks you for your help
Thanks you I just sent you a message
just link this topic with the a private message https://support.backendless.com/t/about-the-realtime-database-in-my-project/16479, also I have added @staff so other backendless guys will able to work with the project, and no one else
when I start your project I got the following errors in log:
Lookup failed BackendlessException{ code: 'Internal client exception', message: 'Domain specific configurations require that hostname aware checkServerTrusted(X509Certificate[], String, String) is used', extendedData: '{}', detail: 'javax.net.ssl.SSLHandshakeException: Domain specific configurations require that hostname aware checkServerTrusted(X509Certificate[], String, String) is used
at com.android.org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:363)
at com.android.org.conscrypt.ConscryptEngine.convertException(ConscryptEngine.java:1134)
at com.android.org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1089)
at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:876)
at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:747)
at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:712)
at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket(ConscryptEngineSocket.java:858)
at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.-$$Nest$mprocessDataFromSocket(Unknown Source:0)
at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:241)
at com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocket.java:220)
at com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:196)
at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:153)
at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)
at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186)
at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128)
at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:131)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:262)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:219)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:30)
at weborb.client.ioEngine.HttpIOEngine.send(HttpIOEngine.java:195)
at weborb.client.ioEngine.HttpIOEngine.invoke(HttpIOEngine.java:140)
at weborb.client.WeborbClient.invoke(WeborbClient.java:138)
at com.backendless.Invoker.invokeSync(Invoker.java:95)
at com.backendless.Invoker.invokeSync(Invoker.java:107)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:27)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
2023-04-14 12:43:46.382 7616-7672 RTLookupService pid-7616 E at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.RTLookupService.lookup(RTLookupService.java:47)
at com.backendless.rt.SocketIOConnectionManager.get(SocketIOConnectionManager.java:68)
at com.backendless.rt.RTClientSocketIO.subscribe(RTClientSocketIO.java:133)
at com.backendless.rt.AsynRTClient$1.run(AsynRTClient.java:19)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.security.cert.CertificateException: Domain specific configurations require that hostname aware checkServerTrusted(X509Certificate[], String, String) is used
at android.security.net.config.RootTrustManager.checkServerTrusted(RootTrustManager.java:113)
at weborb.client.ioEngine.EasyX509TrustManager.checkServerTrusted(EasyX509TrustManager.java:73)
at com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:259)
at com.android.org.conscrypt.ConscryptEngine.verifyCertificateChain(ConscryptEngine.java:1638)
at com.android.org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native Method)
at com.android.org.conscrypt.NativeSsl.readDirectByteBuffer(NativeSsl.java:569)
at com.android.org.conscrypt.ConscryptEngine.readPlaintextDataDirect(ConscryptEngine.java:1095)
at com.android.org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1079)
... 53 more
' }
So to fix it I have removed android:networkSecurityConfig="@xml/network_security_config"
part from AndroidManifest.xml
After restart it starts to work
Thanks you a lot, I did the same like you and it works !!
Thanks you so much