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
Can't login or register (ERR_TOO_MANY_REDIRECTS) #4641
Comments
I tried to remove this line: and it worked! |
I have same problem. What is best solution for that to handle on localhost ? |
I am using Cloudflare SSL, you need add one line in web.config
check here https://www.nopcommerce.com/en/boards/topic/48285/err_too_many_redirects `For those who are still struggling with Cloudflare Flexible SSL, this is how we solved the issue in nop 4.20:
|
The problem is here: Nop.Web.Framework.Mvc.Filters.HttpsRequirementAttribute.HttpsRequirementFilter.OnAuthorization(AuthorizationFilterContext filterContext) This value from where? _storeContext.CurrentStore.SslEnabled SslEnabled is false so app redirect you to http with https port, but in VB localhost http port and https port is different. |
I also had this problem, and was able to resolve this via updating the database and set the following: Url -> https://[my site url] |
The question is: How the normal user can update the store data if he can't login. |
Closed #4641 |
Unfortunately, the only way to make corrections to the configuration when there is no access to the administration area is to directly edit the database. |
nopCommerce version: 4.3
Steps to reproduce the problem:
Error Message: Redirected many times! ERR_TOO_MANY_REDIRECTS
The text was updated successfully, but these errors were encountered: