Hello,

I installed the Secure Login module on my Acquia Drupal website on a localhost and enabled it in the modules page, and now for some reason I can't access any of my site's pages.
Whenever I try to access any of the pages I get an "Interrupted Connection" notice, stating that the connection to the localhost was interrupted while the page was loading.

Is it because I enabled this module on a localhost or this shouldn't happen?

Comments

earwax’s picture

What does your system and/or web server log say? Sounds like this is a webserver or certificate issue.

Milan Kerslager’s picture

I have the same problem with Drupal 7.12. The browser is Firefox and says that there is broken redirection. The front HTTP page is redirected to HTTPS ... /?q=node and this HTTPS URL is redirecting the browser to the same location (ie. loop). I just enabled the module, logged out and was unable to acces main page since then.

mfb’s picture

"Interrupted Connection" would indicate that there is no HTTPS site on the localhost. The HTTP site redirects you to HTTPS (if this happens on all pages, it's probably because you have login block enabled), but the browser is unable to connect to the HTTPS site.

To resolve this issue you can enable an HTTPS site on localhost, or if you do not intend to have an HTTPS site on localhost, you will have to disable securelogin module (e.g. by deleting the securelogin directory) and clear your browser cache.

mfb’s picture

Status: Active » Fixed

Hopefully the question is answered at this point :)

finedesign’s picture

Status: Fixed » Active

I've spent hours trying to resolve a similar issue. I am running a D7 SSL site on MAMP Pro (trial) 2.1.1 and cannot login.

Currently MAMP is running a normal site fine. The SSL site began to load oddly. It displays a WSOD for each link, but on refresh the page loads. However, I still cannot login.

mfb’s picture

Status: Active » Fixed

The issue tracker for this module is not a place to resolve your SSL issues. Try the MAMP Pro forums perhaps?

finedesign’s picture

Sorry to waste your time. I don't think this is a MAMP issue because it is serving the website. I was hoping to get a little advice on how to disable secure login so that I can develop locally.

mfb’s picture

Status: Fixed » Closed (fixed)

Then the instructions above should work for you.