Question about API Gitlab and your plugin
Hello, :)
I'm using your amazing plugin, but i've a little question,
It's installed on +1K sites with 30 plugins on private depot Gitlab, When the cron run, i've lot of 429 from Gitlab, maybe you have an idée how can i bypass this problem ?
Thk lot of !
Assuming that I'm reading the rate limits documentation correctly, the general limit is 10 requests per second per IP address. The update checker probably won't hit that limit unless it's configured to check all 30 plugins at the same time or some of the sites share the same IP address.
What is your configuration like? Could you spread the update checks throughout the entire day?
Ok i've choose the option self hosted to params my headers and allow throttle > call
but i've another problem : I see my update on my Back office..
But when it try to download i've and error :
`An error occurred while updating Daily News: The download failed. The provided URL is not valid.`` But when i click on the url, it's okay chrome download the zip package....
Here are a couple of things to try:
- Install Debug Bar and verify that the download URL it shows in the "PUC (your-plugin-slug)" tab is correct.
- Does the download URL that you see still work if you try it in a different browser or a private/incognito? It might be that it only works for you because you're already logged into your self-hosted GitLab instance.
- When you see the "update now" link (or similar), try opening it in a new tab instead of just clicking it. This way WordPress should show more details about update progress including the download URL that it tried to use.