Problem in enable SSL nop commerce v3.80

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi,
I have been using nop commerce v3.80. While enabling ssl in admin->store->enablessl option
I have been getting error like
This page isn’t working
……. redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS

Even I tried redirection URL in web.config, but getting the same error. How can I overcome this issue..? Can anyone help me with it.
6 years ago
How did you enable the SSL? Are the store settings correct (inclusing the SSL page)?
6 years ago
Hi,

Thanks for the quick response. Yes, all the store settings have been correct.
6 years ago
sengottuvelum wrote:
Hi,
I have been using nop commerce v3.80. While enabling ssl in admin->store->enablessl option
I have been getting error like
This page isn’t working
……. redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS

Even I tried redirection URL in web.config, but getting the same error. How can I overcome this issue..? Can anyone help me with it.


Do you have any entries for UrlRewrite?
If ssl is disabled, is the site working?
6 years ago
smartegicsys wrote:

Do you have any entries for UrlRewrite?
If ssl is disabled, is the site working?


Hi sm,

No, we don’t have rewrite URLs in web.config, While ssl is disabled. And The site is working fine (if type URL fully and add prefix http:// or https://) without enabling ssl. Once we enable the ssl using admin side or rewrite URL in web.config, we are getting the error.
6 years ago
If you enable ssl with NO entries in urlrewrite, it does not work as well, right?

Do you have the Port 443 (SSL) in the bindings mapping to the correct store domain and IP address?
6 years ago
smartegicsys wrote:
If you enable ssl with NO entries in urlrewrite, it does not work as well, right?

Do you have the Port 443 (SSL) in the bindings mapping to the correct store domain and IP address?


Hi sm,

   Yes the port 443 has been mapped with store domain and IP address. If we browser the with prefix https:// the site is working. I have enable SSL in admin side and give the redirection URL their itself.
6 years ago
Thanks. Normally, you don't need to do a redirection anymore when you enable the ssl. nopcommerce does the redirection automatically especially in shopping cart and my account but not in the product pages. If you are forcing the redirection, it is probably getting into a loop.

Are you forcing the SSL in all pages?
6 years ago
smartegicsys wrote:
Thanks. Normally, you don't need to do a redirection anymore when you enable the ssl. nopcommerce does the redirection automatically especially in shopping cart and my account but not in the product pages. If you are forcing the redirection, it is probably getting into a loop.

Are you forcing the SSL in all pages?


Hi sm,

Yes, we have enable the forceSslForAllPage Option.
We have referred the following link,
https://www.nopcommerce.com/boards/t/13975/ssl-on-amazon-ec2-load-balancer.aspx
And modify the Nop.Framework. After that https:// Enabled for all the pages and working as we are expecting. But, we are facing some issue while check out the repeatedly redirects to card pages. The modified code cannot read the cart items. It's always Zero.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.