bumptech / bumptech/glide

Glide load https image with IllegalArgumentException(Could not find cipher suite)

Open
#4,596 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

**Glide Version**:
4.11.0

**Integration libraries**:
None

**Device/Android Version**:
A TV BOX that made in china / Android 4.4.2 / API 19

**Issue details / Repro steps / Use case background**:
When I use glide to load https image, the exception happens within `onLoadFailed` method. But this case only happens on Android 4.4 devices, works fine on devices that above API 19.

**Glide load line / `GlideModule` (if any) / list Adapter code (if any)**:
```java
Glide.with(imageView.context)
.load(url)
.addListener(object : RequestListener {
override fun onLoadFailed(
e: GlideException?,
model: Any?,
target: Target?,
isFirstResource: Boolean
): Boolean {
imageView.visibility = View.GONE
return false
}
override fun onResourceReady(
resource: Drawable?,
model: Any?,
target: Target?,
dataSource: DataSource?,
isFirstResource: Boolean
): Boolean {
return false
}
})
.into(imageView)
```

**Stack trace / LogCat**:
![IMG_20210720_112801](https://user-images.githubusercontent.com/19492924/126258986-32f2c16e-2dd0-4e47-a5c5-488794d99938.jpg)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.