Error on 1.1.4 - file download

🆓 Fully integrated 🛒 Shop System for the “Advanced Points System”. Ease-of-use filesystem interface for item images and files. High customisation options and possibilities per item (included by default Points and Files).


DAE avatar
Tarantino
Contributor
Contributor
Posts: 55
Joined: 23 May 2019 21:14

Error on 1.1.4 - file download

Post by Tarantino »

I had 1.1.3 and now installed 1.1.4 and I am not able to download an item. I click to download, I can choose where to put the file in my computer, it seems to begin the download but then it gives Network error. :cry:


User avatar
3Di
Founder
Founder
Posts: 1265
Joined: 12 Mar 2018 20:10
Location: Milan (IT) Frankfurt (DE)
Contact:

Error on 1.1.4 too

Post by 3Di »

Without the error per se we can do nothing to be of help.

🏥 Honour and respect to all our heroes in health care. 🇮🇹
Looking for a specific solution for your site? We will rock you! 🚀


DAE avatar
Tarantino
Contributor
Contributor
Posts: 55
Joined: 23 May 2019 21:14

Error on 1.1.4 too

Post by Tarantino »

There is no error on console. No error on Network. It starts downloading the file but then it cancels. It says Network error.


DAE avatar
Tarantino
Contributor
Contributor
Posts: 55
Joined: 23 May 2019 21:14

Error on 1.1.4 too

Post by Tarantino »

Is there any server requirement that should be enabled for this extension to work properly? Maybe some requirement is causing problems on downloading the file.


User avatar
3Di
Founder
Founder
Posts: 1265
Joined: 12 Mar 2018 20:10
Location: Milan (IT) Frankfurt (DE)
Contact:

Error on 1.1.4 too - file download

Post by 3Di »

3Di wrote:
28 Jun 2020 17:17

Without the error per se we can do nothing to be of help.

🏥 Honour and respect to all our heroes in health care. 🇮🇹
Looking for a specific solution for your site? We will rock you! 🚀


DAE avatar
Tarantino
Contributor
Contributor
Posts: 55
Joined: 23 May 2019 21:14

Error on 1.1.4 - file download

Post by Tarantino »

More info I could gather:

I tested with firefox and I saw that all requests were 200 except the last one that doesnt finish.

So when it does the GET to this endpoint: aps/inventory/test/product/1/download?hash=6be2e072&force=1

window.location = r.file; from ass_common.js

I’m using cloudflare btw. Dunno if that can cause a problem.


DAE avatar
Tarantino
Contributor
Contributor
Posts: 55
Joined: 23 May 2019 21:14

Error on 1.1.4 - file download

Post by Tarantino »

Found another problem. When there is a SID on the url, when trying to download it adds & to the url instead of & and we get an 404 page.


DAE avatar
Tarantino
Contributor
Contributor
Posts: 55
Joined: 23 May 2019 21:14

Error on 1.1.4 - file download

Post by Tarantino »

Cloudflare enables http2 for SSL connections which is a hugely valuable performance tool. However http2 expects the reported size to match what the webserver reports for streamed content. That’s why the download cancels.

Is it possible to fix this?


User avatar
3Di
Founder
Founder
Posts: 1265
Joined: 12 Mar 2018 20:10
Location: Milan (IT) Frankfurt (DE)
Contact:

Error on 1.1.4 - file download

Post by 3Di »

Then your issue is CF?

🏥 Honour and respect to all our heroes in health care. 🇮🇹
Looking for a specific solution for your site? We will rock you! 🚀


DAE avatar
Tarantino
Contributor
Contributor
Posts: 55
Joined: 23 May 2019 21:14

Error on 1.1.4 - file download

Post by Tarantino »

I still don’t know because I wasn’t able to make it work. I’ll need to remove CF completely to see if that’s the problem. In any case I still want to use cloudflare.

The SID problem btw is not related to cloudflare it appears & in the URL that breaks the URL


Post Reply