This project is archived and is in readonly mode.

#2062 ✓invalid
macario

Rails 2.3 just serving Firefox

Reported by macario | February 24th, 2009 @ 07:57 PM | in 2.x

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.

Comments and changes to this ticket

  • DHH

    DHH February 27th, 2009 @ 01:51 PM

    • 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.

  • JustinS

    JustinS March 9th, 2009 @ 11:03 PM

    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.

  • Charles Brian Quinn

    Charles Brian Quinn March 13th, 2009 @ 04:49 PM

    • 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.

  • Dave Sibiski

    Dave Sibiski April 21st, 2009 @ 12:26 AM

    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

  • Pratik

    Pratik August 6th, 2009 @ 02:00 PM

    • State changed from “incomplete” to “invalid”

    Resolved in mongrel.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages