cta-wave / Test-Content

Collects information CTA Test Content
BSD 3-Clause "New" or "Revised" License
4 stars 7 forks source link

Automated solution to address 403 error downloading tLD.zip from akamaized #50

Open jpiesing opened 1 year ago

jpiesing commented 1 year ago

While doing a clean re-install, the import.sh script reports errors as follows;

Could not load http url: https://dash.akamaized.net/WAVE/vectors/cfhd_sets/12.5_25_50/tLD/2023-04-28/tLD.zip Could not load http url: https://dash.akamaized.net/WAVE/vectors/cfhd_sets/15_30_60/tLD/2023-04-28/tLD.zip

Either the URL for the segment zip file in database.json is wrong or access to that file is blocked because downloading at URL fails as follows.

_wget https://dash.akamaized.net/WAVE/vectors/cfhd_sets/12.5_25_50/tLD/2023-04-28/tLD.zip --2023-06-02 16:20:51-- https://dash.akamaized.net/WAVE/vectors/cfhd_sets/12.5_25_50/tLD/2023-04-28/tLD.zip Resolving dash.akamaized.net (dash.akamaized.net)... 81.243.1.66, 81.243.1.88 Connecting to dash.akamaized.net (dash.akamaized.net)|81.243.1.66|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2023-06-02 16:20:53 ERROR 403: Forbidden._

nicholas-fr commented 1 year ago

For larger files I believe https://dash-large-files.akamaized.net/ must be used.

The following work: https://dash-large-files.akamaized.net/WAVE/vectors/cfhd_sets/12.5_25_50/tLD/2023-04-28/tLD.zip https://dash-large-files.akamaized.net/WAVE/vectors/cfhd_sets/15_30_60/tLD/2023-04-28/tLD.zip

jpiesing commented 1 year ago

For larger files I believe https://dash-large-files.akamaized.net/ must be used.

The following work: https://dash-large-files.akamaized.net/WAVE/vectors/cfhd_sets/12.5_25_50/tLD/2023-04-28/tLD.zip https://dash-large-files.akamaized.net/WAVE/vectors/cfhd_sets/15_30_60/tLD/2023-04-28/tLD.zip

In that case it's a bug in database.json - the wrong URL is included.

nicholas-fr commented 1 year ago

OK, to determine which URL should be used: https://dash-large-files.akamaized.net/ is for files over 1.8GB.

rbouqueau commented 1 year ago

Can't we just use https://dash-large-files.akamaized.net to serve all files? Do you know what difference it would make?

rbouqueau commented 1 year ago

Can't we just use https://dash-large-files.akamaized.net/ to serve all files? Do you know what difference it would make?

gitwjr commented 1 year ago

Not resolved as of Aug 8, 2023.

jpiesing commented 1 year ago

Can't we just use https://dash-large-files.akamaized.net/ to serve all files? Do you know what difference it would make?

I have no idea as I wasn't involved when this was setup.

@wilaw Do you know the answer to Romain's question?

jpiesing commented 1 year ago

Manually editing database.json isn't safe as a long term solution so re-opening.

gitwjr commented 1 year ago

If this issue remains, it is a blocker.

gitwjr commented 11 months ago

Renamed issue. Remove blocker.