Hi @brinkyblob,
Thank you for bringing this error to our attention. It's heartening to know that despite the hiccup, you can still use LazPaint without any major consequences.
Delving into the technical details, LazPaint uses the
fphttpclient and
opensslsockets units provided by the Free Pascal Compiler (FPC). It is not clear whether these units can be refined to manage the configuration as @rvk suggested, or if the resolution lies in adjusting the configuration as proposed by @TRon.
The unit responsible for the online request in LazPaint is
uonline.pas. If you have insights on how to navigate this issue, your contribution would be precious.
Considering possible solutions, here are a few options:
- Bundling OpenSSL: This would ensure compatibility but may lead to an increase in the size of LazPaint, considering that this dependency is typically present.
- HTTP without SSL: While this seems like a straightforward solution, GitHub does not permit unsecured connections.
- Using terminal command "curl": This would entail leveraging a command-line tool to fetch the latest version information.
- Removing version check: This would eliminate the error but could potentially limit user awareness of updates.
Furthermore, the URL being checked is on
gitcdn.link, which, based on recommendations, should not query GitHub directly. However, this URL is currently non-functional, rendering the version check ineffective. Perhaps hosting a file on the LazPaint website containing version information is the most practical solution.
Thanks your input and looking forward to any suggestions you might have.