Jump to content

How to fix err_too_many_redirects on Back office


nxr

Recommended Posts

Hi

I found the issue about err_too_many_redirects.

It happen only in Back office, when go to some menu after loged in.

I have clear my cookies and I will can to access every menu

This is after loged in

627360722_ScreenShot2564-05-28at10_34_08.thumb.png.66530fadf20245470f52c7a3c63e733a.png

This is when I click on some menu in back office

32062945_ScreenShot2564-05-28at10_34_30.thumb.png.1be03be3300accd44346280be3de8377.png

My environment
- Prestashop version 1.7.4
- Apache2
- Ubuntu 16.04.7 LTS
- EC2 Server
- Database Mysql


Thank you

Edited by nxr (see edit history)
Link to comment
Share on other sites

On 5/29/2021 at 3:08 AM, musicmaster said:

Often Too many redirects is associated with SSL. 

Hi musicmaster, How can I check it.

Now I'm using SSL from Imperva.

Thank you

Link to comment
Share on other sites

On 6/2/2021 at 12:16 AM, El Patron said:

rename .htaccess to _.thaccess and see if issue persists.  if it solves then go to seo & urls, there you can disable and then renable friendly url's, this will regenerate the .htaccess file.

 

Hi El Patron,

I've just try this way seem it not solve my issue.

Thank you

Link to comment
Share on other sites

post in job offers to get someone to help 'hands on', there are some very good freelancers that can solve this quickly and 'quietly'.  I recommend for less technical to develop a good relationship with a developer or better yet an agency.

happy ps'ing

Link to comment
Share on other sites

18 hours ago, CedCommerce Team said:

HI,
that need to check properly by code as there may be many reasons for that

=> cookies
=> redirections due to http and https
=> any routing override

if you allow us we can check for you

Thank you for you suggestions,

I try to debuging it.

And look like it happen about token, cookies

https://preprod.mysite.com/admin/index.php/security/compromised

It try to redirects to many times.

Status Code	URL	IP	Page Type	Redirect Type	Redirect URL	
302	https://preprod.mysite.com/admin/index.php/module/manage?_token=kJf6JI8njgHwAiuOylOc7Kg5_Erc9Oh6mRUMDCUOoVs	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fmodule%252Fmanage%253F&_token=pYz-E3c4QUiuwLl-qwczfQA0u9rMhZcX59VRqpp72v0
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fmodule%252Fmanage%253F&_token=pYz-E3c4QUiuwLl-qwczfQA0u9rMhZcX59VRqpp72v0	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=CxB9WtC7ZGTYi-ouk4RxtThowbLK_geStZ6tKDXiyyA
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=CxB9WtC7ZGTYi-ouk4RxtThowbLK_geStZ6tKDXiyyA	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=smOieLSD08pjhPpm2rM98A62gKHvQZLP7F0jD7xqCe8
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=smOieLSD08pjhPpm2rM98A62gKHvQZLP7F0jD7xqCe8	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=6KvFs1qmoR6eV_Qr4cp1H9mr5mXIFjv7GI6RGQBaR-o
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=6KvFs1qmoR6eV_Qr4cp1H9mr5mXIFjv7GI6RGQBaR-o	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=OMLbbNsgzGBURF5NVdqHWGvJgnN7ZA8w1DhSvM44L8E
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=OMLbbNsgzGBURF5NVdqHWGvJgnN7ZA8w1DhSvM44L8E	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=vCdpvkK7pmQzr5m2Os_lX8NRX9GiknL1RKadddge7KM
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=vCdpvkK7pmQzr5m2Os_lX8NRX9GiknL1RKadddge7KM	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=3ElT5rRJaCWj9nAciWS-aoNumrIBfKvstrYkn1lxki8
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=3ElT5rRJaCWj9nAciWS-aoNumrIBfKvstrYkn1lxki8	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=LIlDMYTvCqEpSILUNKlQyM4PX57A8NW8b8A010tVmzw
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=LIlDMYTvCqEpSILUNKlQyM4PX57A8NW8b8A010tVmzw	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=El3a735LjutAiOIkk6xH6yNtbq1nNIqR7TzWTr0ThBQ
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=El3a735LjutAiOIkk6xH6yNtbq1nNIqR7TzWTr0ThBQ	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=e_bDZjxm8YVmKMhvpf90Ok1NSmPSHFea1lQa15CweSc
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=e_bDZjxm8YVmKMhvpf90Ok1NSmPSHFea1lQa15CweSc	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=zXeldx_gFR5Z5IAiwhKewkzQLTbgVARHfLgPru2x-YE
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=zXeldx_gFR5Z5IAiwhKewkzQLTbgVARHfLgPru2x-YE	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=oA7GPS1tWl4iaGiUDEVVA2dUI4Jvv9lZBuC9mwamRY4
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=oA7GPS1tWl4iaGiUDEVVA2dUI4Jvv9lZBuC9mwamRY4	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=9M0aVe9RfgccDslBlUWXU41emPlqR2Vf7MbbbvjKC1o
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=9M0aVe9RfgccDslBlUWXU41emPlqR2Vf7MbbbvjKC1o	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=GnECxl-sbnaFJWKbCMWG4cZmZsI_0LHY8rsEW_rZSGk
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=GnECxl-sbnaFJWKbCMWG4cZmZsI_0LHY8rsEW_rZSGk	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=Z5x118xQ7JVpN7kcCZmgwgSK75SKbnLzyf6Z_iyoj_s
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=Z5x118xQ7JVpN7kcCZmgwgSK75SKbnLzyf6Z_iyoj_s	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=k2dcxgU6bR9WVH7akOSL3w52gE2ja0w8CAoMTNxwQNM
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=k2dcxgU6bR9WVH7akOSL3w52gE2ja0w8CAoMTNxwQNM	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=k2M5Z8y88vUSYVjwWyZuUxXBawANfCcn2kVdv25nojw
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=k2M5Z8y88vUSYVjwWyZuUxXBawANfCcn2kVdv25nojw	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=XWfmwXBKZmOLetEQzXPlFGTOcRycuLFlc2PSkOYZgF0
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=XWfmwXBKZmOLetEQzXPlFGTOcRycuLFlc2PSkOYZgF0	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=l2tw-CU808EWrpCkHcq1ykzqwFYL2hnwo0cXU2OLBRs
302	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=l2tw-CU808EWrpCkHcq1ykzqwFYL2hnwo0cXU2OLBRs	2.0.2.1	server_redirect	temporary	https://preprod.mysite.com/admin/index.php/security/compromised?uri=https%253A%252F%252Fpreprod.mysite.com%252Fadmin%252Findex.php%252Fsecurity%252Fcompromised%253F&_token=X2rOyPDQabw-4J_mSsE67KRG6wOoukpztnR_Vf2kK60

 

Link to comment
Share on other sites

  • 3 years later...

It is old but I just encountered the same problem.

I solved it by creating a folder to store the sessions in the server. I noticed it by enabling the debug mode and I add messages like cannot write sessions in file /home/test/sessions/eaphp74/sess_****. And I did not have a /home/test/sessions/eaphp74 folder.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...