Hi
I encounter random issues when downloading virtual product based on CDN links hosted at Bunny CDN. When crashing, it loops during 30 seconds then stops with this message:
Something went wrong while getting the requested content
Clear link published in the product works fine
https://cdn.filestore.topsolid.com/release/6.21/cad/Manufacturer_Libraries/TopSolid_Base_Matiere_Egg...
Download link created by Magento does not work, like
../downloadable/download/link/id/MC40MTc4ODgwMCAxNzA2ODY3NjI5MjY1MDYyNjU2MjE2OA%2C%2C/
CORS headers at Bunny are activated, including Content-length that could be used by php fopen to start download:
- HTTP/1.1 200 OK
- Date: Fri, 02 Feb 2024 10:34:09 GMT
- Content-Type: application/zip
- Content-Length: 268195591
- Connection: close
- Server: BunnyCDN-BG1-1123
- CDN-PullZone: 450203
- CDN-Uid: bb60fe05-a557-484a-bb78-018de1282ce7
- CDN-RequestCountryCode: BG
- Access-Control-Allow-Origin: *
When hosted locally at the same place (so with a local URL), it works all the time. It seems that Magento do not know how to handle properly external links on CDN, seems to use file php routine and can't reach all information to start downloading.
I have updated Ubuntu, Magento, activated all logs and got no error messages to help.
Any clue about to solve this issue? Anyone has already experienced this?
Thanks