Fluidd/Mainsail Download URL Parsing Failure #281
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Linux Distribution
Ubuntu Server 22.04.1 LTS
What happened
The Fluidd download URL parser is failing, preventing installation of Fluidd. I suspect it is because the API limit has been exceeded. I looked through the code and found the URL it was using to try to identify releases and entered it manually:
{"message":"API rate limit exceeded for 38.20.250.13. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}
What did you expect to happen
Download URL to be parsed correctly or if not solvable, a message indicating what the issue is
How to reproduce
Usual installation steps
Additional information
Downloading Fluidd from https://github.com/fluidd-core/fluidd/releases/download//fluidd.zip ...
--2023-01-05 19:45:25-- https://github.com/fluidd-core/fluidd/releases/download//fluidd.zip
Resolving github.com (github.com)... 140.82.112.4
Connecting to github.com (github.com)|140.82.112.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-01-05 19:45:26 ERROR 404: Not Found.
#=======================================================#
Downloading Fluidd from
https://github.com/fluidd-core/fluidd/releases/download//fluidd.zip
failed!
#=======================================================#
I got the same with both fluidd and mainsail.
I added this to both download functions for mainsail and fluid. It looks like the scripts don't always get the tag for fluidd or mainsail. I am not exactly sure why. I updated my scripts to download a version (current as of today) in cases where it can't find the tag. I rather have something rather than nothing. It is a hack job.
I had the same issue, and it turned out to be the CA store needing to be updated. You can test if you have the same problem by running the following command.
curl "https://api.github.com/repos/mainsail-crew/mainsail/releases/latest"If you get a 'curl: (60) SSL certificate problem: unable to get local issuer certificate' error, it is probably that. I was able to update my CA store with the following commands:
Hopefully, this helps.