-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
416 range error #389
Comments
Hi, yes, by default Nuke uses range requests and this error code is most likely related to them. To disable it, you can set |
Nuke has a very simple algorithm for setting requested ranges, I'm not sure what can be wrong with the range. |
Hey, @mtrezza. Any updates on this one? |
Unfortunately not. Our CDN provider does not log the specific ranges that produce these 416 errors. We will have to implement a log client side in Nuke, but not sure how to do this in a quick way other than forking Nuke. |
Hi, I am experiencing a similar issue. It seems to appear when there are concurrent requests, for example inside a Customising the Nuke 9.1.1 | Xcode 11.7 | Swift 5.2.4 Is there any more information I can provide to help? |
Hello, I'm also seeing occasional 416 errors. In my case, I'm loading images stored in S3. Each 416 that I've observed is a result of Nuke requesting a starting byte count that is equal to the size of the image. I'm using a When I've seen the error, I've observed the following:
Nuke 9.1.2 |
Well researched! That looks like a bug, if that is really the case. |
Hi, @mattczech. Thank you for providing this info. I went through the code and it does seem to be the case that the situation you are describing is possible. I'm going to address this issue in the upcoming release. |
I opened a PR with a fix https://github.com/kean/Nuke/pull/402/files |
#389 Fix an issue where fully downloaded data will sometimes be saved as resumable
Issue
I see a significant amount of
416 Range Not Satisfiable
logs with our CDN. These errors only occur in the iOS app with Nuke, not in the Android app with Glide, which is loading the same images. However, I have not seen any issues with image loading in the app and there are no user complaints about images not loading.Logs
The "size" in the logs which I assume is the requested range is always around 400 - 600 Bytes for these 416 errors.
For successful CDN responses, "size" is the actual image size, like several KB.
Question
Are there any cases in which Nuke uses range requests?
The text was updated successfully, but these errors were encountered: