Problem downloading tiny files
-
I get troubles downloading tiny files (223 Bytes). It's not working about 80% of the time.
For larger files I get no troubles
I'm downloading from a CDN storage url, and get aServer.StatusOK 200
, but the download finishes with asuccess: false
resultCurrently investigating from another server, I wonder if this might be a Hise issue?
Interface: https://s427.b-cdn.net/bcdn_token=b0zrJZALCXYkrfDp0FScVpMahuRvhyvwxt-sH7tW6Es&expires=3434522402/assets/Align-IT/update_data.json Interface: 200 Interface: { "numTotal": 0, "numDownloaded": 0, "finished": true, "success": false, "aborted": false }
-
@ustk Have you tested with a local server?
-
@d-healey Haven't thought about that! i'll try asap thanks Dave!
-
@ustk Did you solve it?
-
-
@d-healey Yeah I wouldn't say I fixed it, but I got it to work by dropping the user IP from the generated token I was creating for the CDN secure URL...
Here's the support response I got:
If you're pulling X_REAL_IP as a means of reading a user_ip that means only for uncached requests could it reach your server to read the header. A request cached will generate you the same token hash for other users, as we don't treat a token value as a separate cache key (it wouldnt make any sense to). You generally need some other proxied URL (or non CDN URL/script) to read an IP separately.
Using the IP for protecting the downloads was overkill anyway
-
@d-healey Well that doesn't mean I understand all of this, especially why the problem occurred with tiny files and not with "normal" sized ones... Anyway small files are now downloading light speed with no errors
-
-