Skip to content

Allow server restarts when CF API key is invalid #3796

@AerikAwesome

Description

@AerikAwesome

Enhancement Type

Improve an existing feature

Describe the enhancement

Been having an issue with Curseforge recently where my API key keeps getting invalidated. Initial install with a fresh key works fine, but on restart I get the following error:

[mc-image-helper] 20:54:05.747 ERROR : Invalid parameter provided for 'install-curseforge' command: Access to https://api.curseforge.com is forbidden or rate-limit has been exceeded. Ensure CF_API_KEY is set to a valid API key from https://console.curseforge.com/ or allow rate-limit to reset.
[init] [ERROR] Failed to auto-install CurseForge modpack (B

This can be resolved by changing my organisation name in Curseforge, regenerating an apikey, and redeploying with this new key. This is obviously not a great method.

A variable that would allow the server to continue startup when Curseforge can not be reached would be amazing.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions