razaghimahdi / Shopping-By-KMP

This is a cross-platform application that is built using Jetpack Compose Multiplatform, a declarative framework for sharing UIs across multiple platforms with Kotlin.
https://github.com/razaghimahdi/Shopping-By-KMP
MIT License
276 stars 44 forks source link

SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. #12

Closed tharik15 closed 2 months ago

tharik15 commented 2 months ago

Not able to register credential, Below exception is happen when clicking Sign Up.

AppDebug KtorHttpClient message:REQUEST https://shop.soheilkhaledabadi.ir/api/v1/register failed with exception: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. 2024-09-16 09:59:37.803 19465-19465 System.err W javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. 2024-09-16 09:59:37.804 19465-19465 System.err W at com.android.org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:363) 2024-09-16 09:59:37.804 19465-19465 System.err W at com.android.org.conscrypt.ConscryptEngine.convertException(ConscryptEngine.java:1134) 2024-09-16 09:59:37.804 19465-19465 System.err W at com.android.org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1089) 2024-09-16 09:59:37.804 19465-19465 System.err W at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:876) 2024-09-16 09:59:37.804 19465-19465 System.err W at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:747) 2024-09-16 09:59:37.804 19465-19465 System.err W at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:712)

tharik15 commented 2 months ago

Is there any update?

razaghimahdi commented 2 months ago

it's actually been fixed, it was from backend and now it works fine, thanks for opening an issue