- Affected Version
- WoltLab Suite 5.4
- Affected App
- WoltLab Suite Forum
Error 429 too many requests
-
- Not a bug
-
w@lter -
November 6, 2021 at 1:02 PM
-
-
This is an error message by your web server. It seems that the limit are not set high enough. Contact your hoster and ask him to raise the values for maximum requests.
-
I'll try to request it (not sure they're going to do so), but why do I only get this error now? I was able to rebuild data before without errors?
-
Maybe there were some change on the host so that the data is progressed faster, which results in more requests in short time.
-
Why is my thread moved to resolved? It isn't!
Contacted my hosting provider yesterday, nothing has changed in their settings for the number of requests allowed. And they're not going to change it either for security reasons, which I understand. So logically, if it didn't change at the hosting side, it must have changed at your side. So I'm back to square one with this one.
What changed in the Rebuild Data part of the software that it asks that much requests all of the sudden?
-
- Official Post
Hi
What changed in the Rebuild Data part of the software that it asks that much requests all of the sudden?
Nothing, except possibly the amount of data that needs to be processed (e.g. because users created additional posts).
The software automatically splits the rebuild process into several small chunks of 500 posts each to prevent the process from being prematurely aborted by the web server due to hitting a timeout. After a chunk has been processed another request will be sent immediately, repeating this until all posts have been processed.
So if your community has, say, 50000 posts, the rebuild process will send 100 requests in a short-ish amount of time, possibly hitting whatever limitation your hosting provider decided to use.
It might be that the rebuild process for each chunk got slightly faster for some reason (e.g. upgraded hardware), so that there will be more requests in the same amount of time, hitting the limit whereas previously you barely avoided it.
-
Do you maybe have the possibility to use SSH? Then you could rebuild the data via CLI:
Migration (CLI) - WoltLab Suite Manual -
Little update, I followed the advice of Black Rider and it solved the problem. Thanks
-
Today I tried to do a run of the SSH commands as described above but I got an error "-bash: worker : command not found."
Can somebody help me with this?
-
- Official Post
Please read the guide again, if you receive that error message it means that you forgot to do something else first
-
I don't understand your remark. What am I missing in the manual? I'm not doing an import but just running the worker lines. I want to avoid running a wrong command via SSH and messing up my forum.
-
- Official Post
Just follow the instructions from the top, but when asked to enter import you skip straight to the workers. The CLI provides both and the entered commands controls what will happen.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!