website icon indicating copy to clipboard operation
website copied to clipboard

403 Forbidden - Daily snapshots can't be downloaded since yesterday

Open liviuconcioiu opened this issue 1 year ago • 9 comments

Daily snapshots can't be downloaded since yesterday:

403 Forbidden

    Code: SignatureDoesNotMatch
    RequestId: 
    HostId: 2730a77-prg-eu-1

Go to https://files.phpmyadmin.net/snapshots/phpMyAdmin-6.0+snapshot-all-languages.zip

liviuconcioiu avatar Dec 14 '23 04:12 liviuconcioiu

Looks like something to do with a change we are making with our CDN, I’ll look in to it.

ibennetch avatar Dec 14 '23 04:12 ibennetch

This is currently a problem with how the URL encoding is generated, and we are working with our CDN provider to find the best solution.

ibennetch avatar Dec 19 '23 16:12 ibennetch

i found a way to download, the problem seems to be + signal in the link, so only we beed to change to a codified way, we can change "+" by "%2B" In my case i want do download 5.2, i use: https://files.phpmyadmin.net/snapshots/phpMyAdmin-5.2%2Bsnapshot-all-languages.zip

celestinoxp avatar Jan 15 '24 16:01 celestinoxp

Hello, Thanks for your patience while our team was looking into this.

After discussing this with my colleagues, unfortunately, there is nothing we can change on our end to resolve this issue. The best solution I can see at this moment would be for you to encode the “+” sign to “%2B” symbol while downloading the files, or simply to avoid the “+” sign to begin with.

Best regards,

David Morozovic CDN77 - Technical Support

I am unhappy about this. @ibennetch what should we do ?

williamdes avatar Mar 18 '24 11:03 williamdes

I'm also unhappy about the response from the CDN provider, but I think the best thing to do is modify our code to escape the + character when generating a URL.

ibennetch avatar Mar 19 '24 14:03 ibennetch

In my scripts I used a sed to fixup the URL: https://gist.github.com/williamdes/883f2158f17e9ed5a83d892ada56f5df#file-upgradephpmyadmin-sh-L79

URL="$(echo "$URL" | sed 's/+/%2B/')"

In case that helps

williamdes avatar Mar 19 '24 14:03 williamdes

I was about to fix the website and found the alternate URL.

curl -4 -vv https://1126968067.rsc.cdn77.org/snapshots/phpMyAdmin-6.0+snapshot-all-languages.zip
curl https://files.phpmyadmin.net/snapshots/phpMyAdmin-6.0+snapshot-all-languages.zip
curl -vv https://files.phpmyadmin.net/snapshots/phpMyAdmin-6.0+snapshot-all-languages.zip
curl -vv https://files.phpmyadmin.net/snapshots/phpMyAdmin-5.2+snapshot-all-languages.zip

Why do I not have a 403 ? Did they fix it ?

williamdes avatar Mar 19 '24 15:03 williamdes

Why do I not have a 403 ? Did they fix it ?

I've got the same impression a few months ago (https://github.com/phpmyadmin/website/issues/172#issuecomment-1894677189). But no. If you look at the phpMyAdmin version is from last week.

https://1126968067.rsc.cdn77.org/snapshots/phpMyAdmin-6.0+snapshot-all-languages.zip is from 2023.

I think the issue happens when the CDN pulls the files. Because the archives are outdated.

liviuconcioiu avatar Mar 19 '24 15:03 liviuconcioiu

Okay, I think I get it now This makes now sense:

I noticed that you already copied most of your content to the new object storage - that's great. Will you continue to migrate the rest of the content (~ 200 MB) or should I consider the migration process to be finished for you?

We have two different storages

And this confirms while connecting to it on FileZilla FTP image

williamdes avatar Mar 19 '24 17:03 williamdes