Hi,
I've had this problem a week back as well, and thought I bricked my install.
I made a new install a couple of days ago, that worked fine.
However, when I try to login today, I have the same issue again.
If I go to my site itself (https://gamepckopen.be) with cleaned cookies, it works fine. However, when I try accessing the admin page (/webmaster/), the entire thing bricks and I get the infamous redirect error. This also bricks the storeview.
I'm running my site on a Cpanel server on php 5.6. All the plugins are present, cron is setup correctly.
I've spent countless hours trying to get Magento 2 setup up properly - I'd like to get it actually working so I can start running my store.
Thoughts?
What browser are you using? Have you tried any different browser?
Should probably have mentioned:
I tried both the last chrome and firefox. Both in ingonito to avoid cache/temp/cookie problems. The problem behaves the same way in every scenario.
Others have experienced the same in the past when using 'localhost' as the host instead of '127.0.0.1'
Can you check that you used the IP instead of Localhost?
More details can be found here: http://magento.stackexchange.com/questions/94722/magento-2-error-err-too-many-redirects
I'm not using a localhost on my machine, I'm using a cpanel vps, with a dedicated domain.
Any ideas?
EDIT: I read something about the fact that this might have something to do with the htaccess/SSL config.
This is my mod.rewite code:
<IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteCond %{REQUEST_METHOD} ^TRAC[EK] RewriteRule .* - [L,R=405] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule .* index.php [L] </IfModule>
I'm using the cpanel letsencrypt plugin - the certificates work on all of my other sites.
I suggest you speak to your webhosts and ask them to take a look at the SSL configuration.
I run the VPS myself. It's a mint Cpanel installation with a default letsencrypt setup.
It runs every other platform flawlessly.
Is there a way I can forcibly disable SSL usage in Magento without accessing the admin pages? (Database?) For diagnostic purposes.
@Xenowa
I see.
You don't necessarily have to use SSL if it's your test website. You can disable Secure pages in Stores - Config - Web and then change secure url to unsecure url.
Bear in mind that if this is going to be live website then you must keep the SSL enabled. FYI - Google will start penalizing the ecommmerce stores who are not using SSL on their websites.
I cannot acces my website admin because of the redirect problem (hence this thread).
Can I change that setting through phpMyAdmin? Which table is it located in?
I'm also aware of the SEO penalty, hence my preferred usage of SSL. The thing that makes this weird, is that it worked fine in the beginning. Then I try to log in a couple of days later and this happens - no changes to the server software, nor any changes I made to Magento.