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

Problems getting dictionaries for most (older?) devices #994

Open
wonczak opened this issue Dec 29, 2024 · 4 comments
Open

Problems getting dictionaries for most (older?) devices #994

wonczak opened this issue Dec 29, 2024 · 4 comments
Assignees

Comments

@wonczak
Copy link

wonczak commented Dec 29, 2024

On four of my mobile devices (three tablets, one smartphone) aedict cannot contact the servers to get/update dictionaries. Only my newest device is able to get a response.
The other devices give the error messages in the attached screenshots. It looks like the server does not like oldish certificates.
Screenshot_20241229-155935
Screenshot_20241229-155932

(Devices are one Android 4.4.4, one Android 7.0, one Android 8.0.0, and one fairly recent Android 11. Only my Android 14 works as expected)

More details available on request; I can also test.

@mvysny mvysny self-assigned this Dec 30, 2024
@mvysny
Copy link
Owner

mvysny commented Dec 30, 2024

The reason is that you're using old Aedict. the dictionaries were moved from baka.sk to aedict-online.eu; in newer Aedicts, the dictionary download link is correctly updated. The only fix is to upgrade Aedict. The easiest way to do it is to have Aedict installed from Google Play.

The newest Aedict version is 3.51.6, and that version correctly downloads dictionary files from aedict-online.eu.

@wonczak
Copy link
Author

wonczak commented Dec 30, 2024

Interesting. I was fairly sure that I had the newest version at least on the Android 11 tablet. It now works :-)
My oldish Android 8 phone also works now (it indeed had a slightly older version of aedict). My 4.4.4-Tablet reports "app is no longer supported", which is sad, but understandable :-)
Android 7 however, is still a bit different: I have the latest 3.51.6-version, the dictionary manager reports
"Failed to download remote dictionary listing: java.security.cert.CertPathValidatorException: Trust anchor or certification path not found"
As an aside: I am always impressed with your speedy responses!

@mvysny
Copy link
Owner

mvysny commented Jan 2, 2025

The problem is that Android 7 only supports older https certificates which are known not to be as secure. Android 7 is unable to use the secure certificate offered by aedict-online.eu, it rejects & ignores the certificate and then fails with the above-mentioned error.

The solution is to upgrade to Android 8+ device; alternatively I can try to reconfigure the server to also accept less secure certificates but it seems rather complex: https://community.letsencrypt.org/t/letsencrypt-certificates-fails-on-android-phones-running-android-7-or-older/205686 . I'm reopening the ticket to investigate this path, but I unfortunately don't have much spare time so it may take a couple of months to take a look at this.

@mvysny mvysny reopened this Jan 2, 2025
@wonczak
Copy link
Author

wonczak commented Jan 11, 2025

I really appreciate your willingness to look into this. It -might- just help others who cannot easily upgrade to a newer android device.

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

No branches or pull requests

2 participants