You can add a personal API key for your own github account in config.yaml to try and increate the limits.
plugins:
softwareupdate:
# global credentials to provide to version checks
credentials:
# GitHub API token to use for the github_release and github_commit version checks.
# Helpful if you regularly run into rate limit issues with the GitHub API using
# the default anonymous access. Use a personal access token:
# https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token
# Unset by default
github:
most likely it had automatically checked within the last hour, and forcing the updated just added up to max queries exceeded before it checked all the plugins
To answer this - the update check previously failed silently, as of 1.5.0 there's a warning in the UI. The rate limit is 60 requests per hour, which can be easily exceeded since each plugin and OctoPrint itself uses at least one request.
Thanks Charlie, that makes sense. I have looked at how I can add the API key for github. I am trying to figure it out but is there a tutorial somewhere on how to do this to prevent this rate limited error from happening? It sounds like you can increase the checks using this method?
Is is possible to get an example of what I need to add to the config.yaml file? It sounds like I get a key from github and enter it in somehow?
I was going to suggest using the config CLI but due to a bug that's currently broken.
So you have to find the config.yaml file, open it up and find the plugins section, and then the softwareupdate section. You will have to create the credentials section, then add your token. The example given above should be enough, there's probably a bunch of other plugins settings in there so you probably will have to do some digging. Be sure to use 4 spaces to indent, not tabs.
So in this example from Jneilliii I would simply add my API token after the 'github:' entry? Is there some specific way I need to type the key in or just enter it in after the entry?
For Example:
github: githubAPIkeyhere
Also to edit the config.yaml file I simply need to enter 'sudo config.yaml'?
You gave me the information but it took me a bit to process it and be clear on what exactly needs to be done. You all are great in my book. Again thanks for all the help. I hope it is working. It seems like it is but perhaps there will be other questions.
I will have to see how things work with new updates and if I still get the error messages. Using this method what is the limit with the github token?
Once again, you are my hero!!! Here I just accepted the fact that I wouldn't be able to have a maintenance day where I updated Octoprint and/or plugins at once for all my instances and had to spread it over a couple days.
Hi I am having this issue. First, none of this (github credentials) exist in config.yaml I entered it in the plugin section but it does nothing. Also I tried the command lineinterface but I get command not found for all commands regarding this as well.
Is any of this still a part of octoprint? Is there any way to be able to update octoprint? I found it strange that all of the info in this thread is not in the config.yaml but everyone else seemsto have it. Am I missing something?