Ruby on Rails Tuesday, April 28, 2015

Liz -

Not helpful, but I too am experiencing this behavior on a new app/deploy on a server where other Rails apps are running fine. 

This is happening on a CentOS box in my case. I do not get past this screen even upon refresh. I have a much simpler setup:

<VirtualHost 198.101.243.210:80>   

  PassengerRuby /opt/rubies/ruby-2.0.0/bin/ruby

  ServerName pam.meticulous.net

  ServerAdmin [removed]

  DocumentRoot "/var/www/railsapps/pamsullivan/current/public"

  <Directory /var/www/railsapps/pamsullivan/current/public>

    AllowOverride all

    Options -MultiViews

  </Directory>

  CustomLog /var/log/httpd/pamsullivan.com-access_log combined

  ErrorLog /var/log/httpd/pamsullivan.com-error_log

  PassengerMinInstances 1

</VirtualHost>


On Friday, April 24, 2015 at 3:50:46 PM UTC-4, Liz Huang wrote:

I have recently migrated rails projects to Yosemite, I used Rails 4.2.1, Passenger 5.0.6, Apache 2.4.10.
I got page with "Incomplete response received from application" randomly, when I refresh, the app
seems to work and get answer what I want.

I searched around, tried "rake secret" and copy the secrect_key to secrets.yml, but doesn't seem to
stop the issue.  Any advice? My configure file is:

<VirtualHost *.*.*.*:80>            # I omit ip address
    ServerName methodologymedia.psu.edu
    ServerAdmin ad...@example.com
    DocumentRoot "/Library/WebServer/Documents"
    DirectoryIndex index.html index.php /wiki/ /xcode/ default.html
    CustomLog /var/log/apache2/access_log combinedvhost
    ErrorLog /var/log/apache2/error_log
    <IfModule mod_ssl.c>
        SSLEngine Off
        SSLCipherSuite "ALL:!aNULL:!ADH:!eNULL:!LOW:!
EXP:RC4+RSA:+HIGH:+MEDIUM"
        SSLProtocol -ALL +TLSv1
        SSLProxyEngine On
        SSLProxyProtocol -ALL +TLSv1
        SSLProxyCheckPeerCN off
        SSLProxyCheckPeerName off
    </IfModule>
    <Directory "/Library/WebServer/Documents">
        Options All -Indexes -ExecCGI -Includes +MultiViews
        AllowOverride None
        <IfModule mod_dav.c>
            DAV Off
        </IfModule>
        <IfDefine !WEBSERVICE_ON>
            Require all denied
            ErrorDocument 403 /customerror/websitesoff403.html
        </IfDefine>
    </Directory>

    Alias /smart /Library/WebServer/smart/public
    <Location /smart>
        PassengerBaseURI /smart
        PassengerAppRoot /Library/WebServer/smart
    </Location>
    <Directory /Library/WebServer/smart/public>
        Allow from all
        Options -MultiViews
        # Uncomment this if you're on Apache >= 2.4:
        Require all granted
    </Directory>
    RackEnv development
    PassengerRuby /Users/liz/.rbenv/shims/ruby
</VirtualHost>



Click here to Reply

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/91e60cbf-3504-4c18-98db-49ccfcc25479%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment