I used the following code.
let url = URL(string: urlString)
imgProfileViw.kf.indicatorType = .activity
imgProfileViw.kf.setImage(with: url, placeholder: #imageLiteral(resourceName: "tab_user_active"), options: nil, progressBlock: nil) { (img, err, cacheType, url) in
}
But failed to download. the error.localizedDescription is saying Request time out.
And there's an error.
2017-11-19 12:23:36.878490-0800 [24945:670809] Task <0AD3ADD7-F4E4-464B-9CEF-57E5AC9BFAC8>.<1> finished with error - code: -1001
2017-11-19 12:23:36.879342-0800 [24945:670809] Task <0AD3ADD7-F4E4-464B-9CEF-57E5AC9BFAC8>.<1> HTTP load failed (error code: -999 [1:89])
I hope your help.
As indicated by the error message, it is a request timeout.
Please make sure you have correct Internet connection to your resource. I believe there is little we could do in Kingfisher.
Thank you for your response.
I think there's a problem.
It always fail to download image.
My internet connection is good.
The other apps using SDWebImage works well.
So can I know the URL you are using? We need more information on this before we could get to know what happens.
Hey, @actualfan
It works pretty fine for me, at least in the demo app contained in this repo.

So I guess there must be some other reason instead of in Kingfisher for it. I strongly suggest you check your network setting and/or proxy setting in both your system and app.
Interesting 馃. I'm encountering this issue as well. It loads some images and for others, this issue occurs.
Same issue with me
I'm encountering the same issue as well. Using Swift 4
I am facing the same issue as well. When the image is .jpeg extension it does not work
Same issue with me, Using Kingfisher 4.7.0
Interesting,When I commentimageView.kf.indicatorType = .activity, It's works well
@sp0cket This issue should not relate to the indicator, but a thread issue which cannot be reproduced easily. Do you have some code to reproduce this problem stably?
Same issue with me,Using Kingfisher 4.7.0
Image: http://rdtest.myhiott.com:8081/uploadImage/2018/04-17/img_1523929328770.png
Task <AC6932EE-ACA2-41BE-BB38-AFF8B76F9920>.<1> finished with error - code: -1002
Same here, error code -999 with 4.10 !
The image displays itself when not using KingFisher
Interesting,When I comment
imageView.kf.indicatorType = .activity, It's works well
This solved the timeout issue @onevcat could you please look at this.
Using the latest version of kingfisher
@onevcat You could reproduce it using the tableview and using same url on multiple cell
Most helpful comment
Interesting 馃. I'm encountering this issue as well. It loads some images and for others, this issue occurs.