-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flush error - 429 Too many requests #8481
Comments
I just started seeing this same problem right after I added some JS functions within script tags at the end of 2 pages that use the Security class. However, the problem didn't persist, fortunately. |
Did you try to reproduce the issue by switching your local dev environment into live mode? |
The env file is all normal. The problem still persists after using the latest dev releases and even when any JS files are not included. |
No, I checked it there are no |
I resolved this by having <% base_tag %> in the area of my template. I had forgotten to add it. |
Flush redirects with a Server A gets That's a known issue in multi server setups unless you have sticky sessions, and something @dnsl48 is just working on fixing. I'm not sure it'll fix your issue here, but might sound related. Are there multiple servers in your environment @amolswnz? |
Yes, multi-server setup might be one of the possible reasons. Another one could be if the application does not have access to write tokens to the filesystem - https://github.com/silverstripe/silverstripe-framework/blob/4/src/Core/Startup/AbstractConfirmationToken.php#L77 This code is being worked on and the future fix may potentially solve the issue if it's one of the above. |
The |
SilverStripe 4.1.1
When I do flush using https://mysite.com/?flush=1 on my website, I am getting error 429 - Too many requests.
The url flow in network tab is as follows -
https://mysite.com/Security/login?BackURL=%3Fflush%3D1
https://mysite.com/?flush=1
http://mysite.com/Security/login?BackURL=%3Fflush%3D1
and then repeat and after few seconds, I get new page with message 429 - Too many requests
I have also tried Keep me signed in admin and it did not gave me any error. The
?flush=1
was a very quick. Theflush=1
usually takes around 4-5 seconds but this time it finished in less than 1 second.This issue is not seen in local development environment, only in live site. I was not able to reproduce this issue.
The text was updated successfully, but these errors were encountered: