react-native-xmpp icon indicating copy to clipboard operation
react-native-xmpp copied to clipboard

getting java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Open akshgods opened this issue 6 years ago • 3 comments

react native version 0.55 , android i tried to connect xmpp server i'm getting this issue:

react-native-xmpp: Disconnected, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. E:\react\octocat\screens\HomeScreen.js:30 DISCONNECTED! E:\react\octocat\node_modules\react-native-xmpp\index.js:20 react-native-xmpp: Error: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. E:\react\octocat\screens\HomeScreen.js:26 ERROR:javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found

akshgods avatar Aug 13 '18 13:08 akshgods

@akshgods I've fixed this in my pull request for multi chat rooms handling - if you want to give it a try, you could use my forked version instead as explained here: https://github.com/aksonov/react-native-xmpp/issues/82

andrzejbe avatar Aug 17 '18 14:08 andrzejbe

Hi, @andrzejbe do you have working code of this library for IOS. I have tried all the manual/auto linking steps but failed to use this library and end up with errors in the Xcode during building. Please help me to get the ready to use code for IOS.

shubham1164 avatar Sep 16 '18 10:09 shubham1164

Hi @shubham1164 - please see: #82

andrzejbe avatar Sep 18 '18 07:09 andrzejbe