Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
liviuconcioiu opened this issue Dec 14, 2023 · 9 comments
Open
Assignees

Comments

@liviuconcioiu
Copy link

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

@ibennetch
Copy link
Member

ibennetch commented Dec 14, 2023 via email

@ibennetch
Copy link
Member

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.

@celestinoxp
Copy link

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

@williamdes
Copy link
Member

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 williamdes changed the title Daily snapshots can't be downloaded since yesterday 403 Forbidden - Daily snapshots can't be downloaded since yesterday Mar 19, 2024
@williamdes williamdes pinned this issue Mar 19, 2024
@ibennetch
Copy link
Member

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.

@williamdes
Copy link
Member

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
Copy link
Member

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 ?

@liviuconcioiu
Copy link
Author

liviuconcioiu commented Mar 19, 2024

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

I've got the same impression a few months ago (#172 (comment)). 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.

@williamdes
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants