YahnisElsts / plugin-update-checker

A custom update checker for WordPress plugins. Useful if you don't want to host your project in the official WP repository, but would still like it to support automatic updates. Despite the name, it also works with themes.
MIT License
2.22k stars 403 forks source link

Could not retrieve version info ... #522

Open ahmedmusawir opened 1 year ago

ahmedmusawir commented 1 year ago

image

Please tell me what did I do wrong ... Everything worked one minute and the next minute it can't get anything ... no code was changed. Just a few CSS got updated but now it keeps on doing this:

image

How can I even troubleshoot when I haven't made any updates to the code that is using the updater ... all the same code but it will not work. Is the product just unstable?

Here is my repo ... can you plz help? What am I doing wrong? https://github.com/ahmedmusawir/lee-goff-similarweb-react-plugin

YahnisElsts commented 1 year ago

Based on the errors, I think the most likely possibility is that the update checker hit the GitHub API rate limit. This can happen if you're actively testing updates. The unauthenticated rate limit is quite low:

For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the person making requests.

If this is the problem, the errors should go away after an hour or so.