ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Timing Out When Logging In as Member

May 05, 2013 11:14pm

Subscribe [1]
  • #1 / May 05, 2013 11:14pm

    matthewborgman

    2 posts

    First, I’m relatively new to EE so bear with me.

    I have two sites setup via MSM, example.com and internal.example.com, and am trying to setup password-protected pages for internal.example.com via the Membership module. As a test, I updated the access on one template to be member-only. Now, the login form correctly displays and I can submit the form, but the connection just times out as it’s POSTing to internal.example.com and I receive an Internal Serve Error (500).

    I’ve enabled all PHP and server logging and I’ll I get is the following in the server logs:

    mod_fcgid: read data timeout in 45 seconds, referer: <a href="http://internal.example.com/member/profile/">http://internal.example.com/member/profile/</a> 
    Premature end of script headers: index.php, referer: <a href="http://internal.example.com/member/profile/">http://internal.example.com/member/profile/</a>

    No PHP errors anywhere as far as I can tell. Obviously I’m running PHP as FastCGI, but I switched to Apache module and it did the same (i.e. timed out). These are the only rules in the .htaccess:

    <IfModule mod_rewrite.c>
    
     RewriteEngine On
    
     # Force www
    # RewriteCond %{HTTP_HOST} !^$
    # RewriteCond %{HTTP_HOST} !^www\. [NC]
    # RewriteRule ^ <a href="http://www.%{http_host}%{request_uri}">http://www.%{http_host}%{request_uri}</a> [R=301,L]
     
     # Removes index.php from ExpressionEngine URLs
     RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteRule ^(.*)$ /index.php?/$1 [L]
    
    </IfModule>

    Other than installing a few modules (e.g. Calendar, NavEE, Pages, and Wygwam), which shouldn’t effect login functionality, it’s a pretty stock installation. Version 2.5.3.

    Any help is greatly appreciated.

  • #2 / May 21, 2013 8:23pm

    matthewborgman

    2 posts

    Anyone have insight on this?

  • #3 / Jul 05, 2013 10:36am

    matthewborgman

    2 posts

    Can anyone help on this? Still experiencing this issue after upgrading to 2.6.1.

    I get that the Nginx/Apache/FastCGI connection is timing out, but why would the member login be taking so long to begin with? That seems to me to be the root of the problem.

    And, to be clear, I’m using the form markup from http://www.ellislab.com/expressionengine/user-guide/modules/member/ .

    Thanks.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases