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

Firestorm-bin updated URL for the linux package and now results in a 404 error #18

Open
zewm opened this issue Jun 10, 2022 · 8 comments

Comments

@zewm
Copy link

zewm commented Jun 10, 2022

When trying to emerge this package (games-simulation/Firestorm-bin-6.5.3-r1) it results in a 404 error when attempting to download the linux package/source from the firestorm website.

In the current ebuild it points to
https://downloads.firestormviewer.org/preview/linux/Phoenix_Firestorm-Releasex64_x86_64_6.5.3.65658.tar.xz

but the URL has changed (/preview/ has been omitted) and is now this url
https://downloads.firestormviewer.org/linux/Phoenix_Firestorm-Releasex64_x86_64_6.5.3.65658.tar.xz

The version numbers are all correct and have not changed as of this writing.

source: https://www.firestormviewer.org/linux/

@lmiphay
Copy link
Owner

lmiphay commented Jun 15, 2022

Thanks for the report @zewm - updated now.

@ntheo1979
Copy link

Same issue, I'm afraid, @lmiphay:
`

Emerging (3 of 3) games-simulation/firestorm-bin-7.0.0_alpha_p1::lmiphay
Downloading 'https://downloads.firestormviewer.org/test/linux/Phoenix-Firestorm-Alphax64-7-0-0-72232.tar.xz'
--2023-11-01 14:06:51-- https://downloads.firestormviewer.org/test/linux/Phoenix-Firestorm-Alphax64-7-0-0-72232.tar.xz
Resolving downloads.firestormviewer.org... 104.21.6.124, 172.67.134.216, 2606:4700:3035::6815:67c, ...
Connecting to downloads.firestormviewer.org|104.21.6.124|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-11-01 14:06:51 ERROR 403: Forbidden.

!!! Couldn't download 'Phoenix-Firestorm-Alphax64-7-0-0-72232.tar.xz'. Aborting.

  • Fetch failed for 'games-simulation/firestorm-bin-7.0.0_alpha_p1', Log file:
  • '/var/tmp/portage/games-simulation/firestorm-bin-7.0.0_alpha_p1/temp/build.log'`

The file downloads properly if you put the address in a browser, but after it passes some type of test first within the browser. wget complains

nikos@Archytas ~/Desktop $ wget https://downloads.firestormviewer.org/test/linux/Phoenix-Firestorm-Alphax64-7-0-0-72232.tar.xz--2023-11-01 14:25:12-- https://downloads.firestormviewer.org/test/linux/Phoenix-Firestorm-Alphax64-7-0-0-72232.tar.xz Resolving downloads.firestormviewer.org... 104.21.6.124, 172.67.134.216, 2606:4700:3035::6815:67c, ... Connecting to downloads.firestormviewer.org|104.21.6.124|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2023-11-01 14:25:12 ERROR 403: Forbidden.

@lmiphay
Copy link
Owner

lmiphay commented Nov 1, 2023

I think that firestorm and/or cloudfare have recently restricted downloads to those using web browsers only.

This would be fetch restricted in gentoo terms.

The workaround is to download the tarball using the web browser and manually move it to /usr/portage/disfiles

I will update the ebuild with instructions to do this, if it turns out that the situation is permanent...

@ntheo1979
Copy link

It seems you are right, it happens with release versions too. I do not have a /usr/portage/distfiles (I do not have a /usr/portage at all), should I make one?

@lmiphay
Copy link
Owner

lmiphay commented Nov 1, 2023

You may have a /var/cache/distfiles ?

If you do have that directory, then that is where the tarball should be moved after downloading it with a web browser.

Some notes on handling fetch restricted packages:

  1. https://www.seifertm.de/blog/fetching-packages-from-authenticated-http-uris-with-gentoo-portage/
  2. https://devmanual.gentoo.org/ebuild-writing/functions/pkg_nofetch/index.html

@ntheo1979
Copy link

Well, that did it. Thank you, and for the references too.

@lmiphay
Copy link
Owner

lmiphay commented Nov 22, 2023

The latest release candidate downloaded directly via the ebuild.

Let me know if you see further fetch failures. I will add a message anyway in case the DDoS protection is turned on again on the fs website.

@ntheo1979
Copy link

Yes, I see this: https://jira.firestormviewer.org/browse/FIRE-33379 Did you file it?

Thanks for working on it :) Firestorm can be tiresome to work sometimes, but alas it is the viewer with the most features.

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

3 participants