Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Rails 2.3 just serving Firefox

#2062

When I try to load a page from my app in Safari I get absolutelly no response, apparently there is no error but nothing is displayed and the source code view is empty.

Allso if I do 'curl http://localhost:3000' I get no output at all but in Firefox works fine.

Reported by macario · February 24th, 2009 @ 07:57 PM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. DHH
    DHH
    • State changed from new to incomplete

    I'm unable to replicate this. I think we'll need some more details for this to be useful. Perhaps attach the application that you're having trouble with? I'm closing this until that's there.

    February 27th, 2009 @ 01:51 PM

  2. JustinS
    JustinS

    I just came across this exact problem today. I even created a new rails 2.3 app from scratch, added 1 scaffold, and started up the default server.

    I have the solution to your problem....

    sudo gem update mongrel

    I'm not sure at this point why, but Rails 2.3 and an older version of mongrel do not work well. After upgrading mongrel, I was able to do curl and view with Safari.

    I just wanted to post a solution.

    March 9th, 2009 @ 11:03 PM

  3. Charles Brian Quinn
    Charles Brian Quinn
    • Tag changed from 2.3, browser, html, response, safari, view to 2.3, browser, content-length, html, response, safari, view

    I can confirm that mongrel 1.0.1 serving a Rails 2.3 project gives a header with:

    Content-Length:

    Note the "blank" response. Safari 3/4 don't like that, it appears.

    An update to mongrel 1.1.5 now gives:

    Content-Length: 1543

    And Safari 3/4 are both able to handle it.

    I updated mongrel with:

    sudo gem install mongrel --no-ri --no-rdoc

    Cheers.

    March 13th, 2009 @ 04:49 PM

  4. Dave Sibiski
    Dave Sibiski

    I had this same problem, was using Mongrel 1.0.1 with rails 2.3.2. Upgraded Mongrel and everything works perfectly.

    Also wasn't rendering right in IE7 or 8.

    Dave

    April 21st, 2009 @ 12:26 AM

  5. Pratik
    Pratik
    • State changed from incomplete to invalid

    Resolved in mongrel.

    August 6th, 2009 @ 02:00 PM