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

Unable to connect to websocket in ANdroid 8.1 #36

Open
rakeshdkaatkar opened this issue Aug 22, 2018 · 0 comments
Open

Unable to connect to websocket in ANdroid 8.1 #36

rakeshdkaatkar opened this issue Aug 22, 2018 · 0 comments

Comments

@rakeshdkaatkar
Copy link

#1308-22 16:01:55.250 W/System.err(12065): at com.android.org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1046)

08-22 16:01:55.250 W/System.err(12065): at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:805)
08-22 16:01:55.250 W/System.err(12065): at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:678)
08-22 16:01:55.250 W/System.err(12065): at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:644)
08-22 16:01:55.250 W/System.err(12065): at com.koushikdutta.async.AsyncSSLSocketWrapper$5.onDataAvailable(AsyncSSLSocketWrapper.java:191)
08-22 16:01:55.250 W/System.err(12065): at com.koushikdutta.async.Util.emitAllData(Util.java:23)
08-22 16:01:55.250 W/System.err(12065): at com.koushikdutta.async.AsyncNetworkSocket.onReadable(AsyncNetworkSocket.java:146)
08-22 16:01:55.250 W/System.err(12065): at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:788)
08-22 16:01:55.250 W/System.err(12065): at com.koushikdutta.async.AsyncServer.run(AsyncServer.java:626)
08-22 16:01:55.250 W/System.err(12065): at com.koushikdutta.async.AsyncServer.access$700(AsyncServer.java:41)
08-22 16:01:55.251 W/System.err(12065): at com.koushikdutta.async.AsyncServer$13.run(AsyncServer.java:568)
08-22 16:01:55.251 W/System.err(12065): Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
08-22 16:01:55.251 W/System.err(12065): at com.android.org.conscrypt.TrustManagerImpl.verifyChain(TrustManagerImpl.java:661)
The thread 0xd has exited with code 0 (0x0).
08-22 16:01:55.251 W/System.err(12065): at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:539)
08-22 16:01:55.251 W/System.err(12065): at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:495)
08-22 16:01:55.251 W/System.err(12065): at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:418)
08-22 16:01:55.251 W/System.err(12065): at com.android.org.conscrypt.TrustManagerImpl.getTrustedChainForServer(TrustManagerImpl.java:353)
08-22 16:01:55.251 W/System.err(12065): at android.security.net.config.NetworkSecurityTrustManager.checkServerTrusted(NetworkSecurityTrustManager.java:102)
08-22 16:01:55.251 W/System.err(12065): at android.security.net.config.RootTrustManager.checkServerTrusted(RootTrustManager.java:104)
08-22 16:01:55.252 W/System.err(12065): at com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:221)
08-22 16:01:55.252 W/System.err(12065): at com.android.org.conscrypt.ConscryptEngine.verifyCertificateChain(ConscryptEngine.java:1578)
08-22 16:01:55.252 W/System.err(12065): at com.android.org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native Method)
08-22 16:01:55.252 W/System.err(12065): at com.android.org.conscrypt.SslWrapper.readDirectByteBuffer(SslWrapper.java:492)
08-22 16:01:55.252 W/System.err(12065): at com.android.org.conscrypt.ConscryptEngine.readPlaintextDataDirect(ConscryptEngine.java:1052)
08-22 16:01:55.252 W/System.err(12065): at com.android.org.conscrypt.ConscryptEngine.readPlaintextDataHeap(ConscryptEngine.java:1072)
08-22 16:01:55.252 W/System.err(12065): at com.android.org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1044)
08-22 16:01:55.252 W/System.err(12065): ... 10 more
08-22 16:01:55.252 W/System.err(12065): Caused by: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
08-22 16:01:55.252 W/System.err(12065): ... 24 more
08-22 16:01:55.254 E/websockets(12065): javax.net.ssl.SSLException
08-22 16:01:55.309 E/websockets(12065): javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant