Stypox / dicio-android

Dicio assistant app for Android
GNU General Public License v3.0
770 stars 69 forks source link

Error while Speech to Text downloading #244

Open Shura0 opened 6 days ago

Shura0 commented 6 days ago

Android 7.0 + Dicio2

When I press button "Download Speech to Text" it immediately displays error "Error downloading". I've tried Russian and English languages with the same result.

paolo-caroni commented 5 days ago

Have you consented all the permissions first to try the download? Could you provide the log?

Shura0 commented 5 days ago

It asked only for mic permissions and I granted it. How can I get the log?

paolo-caroni commented 5 days ago

Try to go on settings, app, and search dicio. Then see permissions and grant telephone, contacts, notification. Then force close the app and restart it. Android 7 is pretty old, I'm not sure that I remember where are permissions. For log you can use adb logcat with a usb cable and a computer. Or try with app like logfox (root needed).

Shura0 commented 3 days ago

Ok, I gave all the permissions.

Log is:

10-09 20:34:38.626 28661 28685 E VoskInputDevice: Can't download Vosk model
10-09 20:34:38.626 28661 28685 E VoskInputDevice: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
10-09 20:34:38.626 28661 28685 E VoskInputDevice:       at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:364)
10-09 20:34:38.626 28661 28685 E VoskInputDevice:       at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:379)
10-09 20:34:38.626 28661 28685 E VoskInputDevice:       at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:337)
10-09 20:34:38.626 28661 28685 E VoskInputDevice:       at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:209)
10-09 20:34:38.626 28661 28685 E VoskInputDevice:       at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)

and more similar lines.

Tkrtt commented 4 hours ago

Android 7.0 and below cross-signed certificate has expired. https://letsencrypt.org/2023/07/10/cross-sign-expiration/