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
Dictionary plugin started failing due to certificate issues #807
Comments
Yes, same issue on my end. |
The same seems to happen when using the wather plugin (wea?). |
@NotWearingPants How can I debug the app, where I can see the log? I've never worked on electron but happy to help if I can solve the issue! |
Seems to be the same issue as here: https://stackoverflow.com/questions/69403020/axios-certificate-has-expired-on-valid-certificate Probably because Let's Encrypt switched to a new root certificate: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ I don't know which package or component actually causes this, but we'll probably have to wait for an update. |
It's already fixed in Electron. But only for the supported versions (12-15). Ueli uses Electron 11, so we need to update to get the fix. Update: Just tried updating to Electron 12. It works when BrowserWindows are created with |
TL;DR: Let's Encrypt is a big certificate supplier, announced a significant change six months ago. OpenSSL prepared for it but boringssl were like: *surprised pikachu face*. Sadly Electron uses boringssl. We need to update Electron. I've just spent an hour debugging it and found the core issue only to come back and see you've figured it out, whoops. The full story: But only after it happened people started noticing, and an issue was opened in boringssl, Google's SSL library. and it was fixed the next day. Electron noticed this earlier and fixed it in main by patching boringssl instead of waiting for them. Electron versions reach end-of-life 10 months after their initial release, and 11 was released in 2020-11-17. When 16 is released in 2021-11-16 Electron 12 will also stop getting updates. This was a real Y2K situation. lol. I'm not sure whether to close this and open a new issue for updating Electron, but I'm going to leave this for now. |
I think the best course of action is to update ASAP to fix the dictionary & weather issues, and worry about I've gone over all of Electron's breaking changes up to version 15, and the only ones affecting ueli are ueli specifies So I recommend upgrading to Electron 13 since 14 doesn't work, and add Regarding security ueli also has |
This should be fixed with the latest release. |
This started to happen only a couple of days ago.
The dictionary worked fine, but now it shows the following for every query:
And in the debug log I'm getting
error: certificate has expired
.I tried accessing the dictionary API myself with axios and it works fine.
Their certificate is from 2021-09-10, seems to be by LetsEncrypt which swaps certificates every 3 months.
This also happens with the weather plugin, but not the currency or translation plugins.
Is there some sort of certificate caching going on in Electron/Node/Axios?
Is this happening to you too?
Running "clear caches" didn't help, wiping ueli's entire data folder (%APPDATA%\ueli) didn't help either.
The text was updated successfully, but these errors were encountered: