Glide unable to load this url and similars
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
I have been using glide for many years, and never had this issue before. When I try to load this url and others with the same format Glide is unable to load them. I thought it was because of the size, but I used the .override() and it didn't worked either. I used the ,listener() to check and it prompts a status code 503, but the you can access to the url. Here the url that I am trying to load "https://www.publicdomainpictures.net/pictures/10000/nahled/thinking-monkey-11282237747K8xB.jpg"
**Glide Version**:
```
apply plugin: 'kotlin-kapt'
def glide_version = "4.12.0"
implementation "com.github.bumptech.glide:glide:$glide_version"
kapt "com.github.bumptech.glide:compiler:$glide_version"
```
**Integration libraries**:
Retrofit
**Device/Android Version**:
Samsung A70, Google pixel 4XL
**Issue details / Repro steps / Use case background**:
I am just trying to load this image to an ImageView using, this is for a job interview
**Glide load line / `GlideModule` (if any) / list Adapter code (if any)**:
```java
Glide.with...
```
binding.name.text = gnome.name`
val requestOptions = RequestOptions()
.placeholder(R.drawable.ic_launcher_background)
.error(R.drawable.ic_launcher_background)
Glide.with(binding.root.context)
.applyDefaultRequestOptions(requestOptions)
.load("https://www.publicdomainpictures.net/pictures/10000/nahled/thinking-monkey-11282237747K8xB.jpg")
.listener(object : RequestListener {
override fun onLoadFailed(e: GlideException?, model: Any?, target: Target?, isFirstResource: Boolean
): Boolean {
Log.e(TAG, "onLoadFailed: ${e}")
return false
}
override fun onResourceReady(resource: Drawable?, model: Any?, target: Target?, dataSource: DataSource?, isFirstResource: Boolean
): Boolean {
return true
}
})
.into(binding.gnomeImage)
```
```
**Layout XML**:
```xml
**Stack trace / LogCat**:
```ruby
paste stack trace and/or log here
```
The specific class I am working on is HomeRecyclerAdapter, here my repository
"https://github.com/TonyAndroid1991/TestForVass"
Contributor guide
Assessment
This issue has not been assessed yet.