-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Can't load net url in version 4.5.0. #2824
Comments
Please fill out the issue template when filing new issues. In particular you're missing your Glide load line. What url are you using to reproduce this? Consider sending a pull request with a failing test case. |
I tried many urls, it worked in 4.4.0, but not in 4.5.0.
|
Could you provide a specific example of one url that doesn't work? |
Glide.with(activity).load("https://www.w3schools.com/howto/img_fjords.jpg").into(imageView) works fine in Glide's sample app on 4.5.0. Consider attaching a failing test case or a sample app. |
I have the same problem. Glide Version: 4.5.0 First, I use Glide.with(context).load(url) works fine, then when I use Glide.with(context).asFile().load(url).submit().get() to load from cache, the above problem happened. |
@sjudd if you do asFile like Glide.with(activity).asFile().load("https://www.w3schools.com/howto/img_fjords.jpg").submit() first, and then do Glide.with(activity).load("https://www.w3schools.com/howto/img_fjords.jpg").into(imageView), you will find the issue |
Thanks @kekeng, I'm able to reproduce with just As a workaround when using |
it's the better way to get file |
Original GlideVersion: 4.2.0
Device: Redmi Note 3
Android Version: 7.1.2
Network: Wifi
When I update to 4.5.0, I can't load image from net url.
Here is the error message
Then I changed to 4.4.0, it worked. So is there something changed in 4.5.0?
The text was updated successfully, but these errors were encountered: