I have an Android app where I load images either using Glide + PhotoView or fallback to WebView. For most users everything works fine, but on some devices (for example Redmi Note 11, Android 13) the image does not load at all.
Here is the sample URL that fails:
https://edubase-assets.blr1.digitaloceanspaces.com/<some_path>/<file>.jpg
What happens
Glide fails with
Image load failed(SSL error inside logs).WebView also fails to load the image.
When I sent the same URL to the user, the mobile browser also failed to open it.
But the same URL opens fine on his laptop browser.
So this looks like an SSL/TLS compatibility issue specific to the device, not my code or the internet connection.
What I have tried
Glide with
.timeout(60000)and disk cache.WebView with JavaScript enabled.
Verified URL works for me and most other users.
Asked user to try on browser (fails on phone, works on laptop).
Checked that DigitalOcean Spaces is serving the image over HTTPS without issues on desktop.
My question
Why does this SSL error happen only on some Android devices (like Redmi Note 11 on Android 13)?
Do I need to fix something on the server certificate / TLS settings in DigitalOcean Spaces, or is there a workaround I can apply in the Android app?
