You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I'm setting up my mods using ferium. I have a small script to read through a text file of all the mods and add them one by one. This works as intended.
When trying to update I get partially through the list and then get an error:
Modrinth: You have been rate limited, please wait for 0 seconds
When I run it again, I get the same, but not always at the same mod.
Reading through the issues on here, I'm suspecting this Crowdflare limiting the IP block from Virgin Media in the UK.
I have tried v4.7.1, and was getting the hanging issue discussed elsewhere.
I am currently using v4.7.0, Linux no gui.
I have tried varies thread settings, right down to 1.
I think an editable setting for time between requests may fix the issue.
Steps to reproduce
Run 'ferium upgrade' with a profile of 423 mods.
Partially through, but not at a repeatable mod, I get 'Modrinth: You have been rate limited, please wait for 0 seconds'
Run 'ferium upgrade' again, errors at the same, or different mod.
Running with various thread levels doesn't help
Operating System
Linux
Are you using the latest version of ferium?
I am using the latest version of ferium
Additional Information
Running v4.7.0 due to errors in v4.7.1 causing hanging at the start of the update funtion.
Other issues advised a downgrade for this.
The text was updated successfully, but these errors were encountered:
Modrinth: You have been rate limited, please wait for 0 seconds
https://docs.modrinth.com/api#ratelimits
Modrinth has a fixed rate limit of 300 requests per minute per IP address. It's very generous, and if you exceed that, you might be doing something wrong.
In this case, you need to make use of batch requests. Ferium recently added support for adding multiple mods at once, and it will use a single batch request to obtain the metadata it needs. Make use of that feature instead of sending two requests for every mod.
Run 'ferium upgrade' with a profile of 423 mods.
Due to the way ferium resolves versions, it cannot use batch requests when upgrading. I recently implemented a feature that lets you limit the number of simultaneous network requests (#370), and you can set that to a very low number (e.g. 10) so that it spreads out over more than 1 minute and doesn't get rate limited. But I haven't released that feature yet, so you will need to compile it yourself from main or use the Actions build.
Description
Currently I'm setting up my mods using ferium. I have a small script to read through a text file of all the mods and add them one by one. This works as intended.
When trying to update I get partially through the list and then get an error:
Modrinth: You have been rate limited, please wait for 0 seconds
When I run it again, I get the same, but not always at the same mod.
Reading through the issues on here, I'm suspecting this Crowdflare limiting the IP block from Virgin Media in the UK.
I have tried v4.7.1, and was getting the hanging issue discussed elsewhere.
I am currently using v4.7.0, Linux no gui.
I have tried varies thread settings, right down to 1.
I think an editable setting for time between requests may fix the issue.
Steps to reproduce
Operating System
Linux
Are you using the latest version of ferium?
Additional Information
Running v4.7.0 due to errors in v4.7.1 causing hanging at the start of the update funtion.
Other issues advised a downgrade for this.
The text was updated successfully, but these errors were encountered: