From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=1.0 required=3.0 tests=AWL,HK_RANDOM_FROM, MSGID_FROM_MTA_HEADER,TVD_RCVD_IP shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: Rainbows on Heroku Issues Date: Thu, 7 Jun 2012 04:17:49 +0000 Message-ID: <20120607041749.GA14953@dcvr.yhbt.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1339042944 6023 80.91.229.3 (7 Jun 2012 04:22:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Jun 2012 04:22:24 +0000 (UTC) To: Rainbows! list Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Thu Jun 07 06:22:23 2012 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:355 Archived-At: Received: from 50-56-192-79.static.cloud-ips.com ([50.56.192.79] helo=rubyforge.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ScUEn-00029J-Uh for gclrrg-rainbows-talk@m.gmane.org; Thu, 07 Jun 2012 06:22:22 +0200 Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id BF9A83AFFE; Thu, 7 Jun 2012 04:22:20 +0000 (UTC) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id EF8773AFF7 for ; Thu, 7 Jun 2012 04:17:50 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id F2C541F4E9; Thu, 7 Jun 2012 04:17:49 +0000 (UTC) Kunal Modi wrote: > I am trying to run Rainbows on Heroku and I'm getting some odd errors, > I was wondering if anyone had any explanation / idea on how to solve. > I created a simple Rails 3.1/Ruby 1.9.3 app to test Unicorn/Rainbows > on Heroku (just a simple endpoint that responds with simple json). The > app worked as expected with Unicorn, but has some odd tendencies on > Heroku when using Rainbows. > > The request completely processes in Heroku, but always waits > keepalive_timeout time before actually returning the response: Try adding Rack::ContentLength and/or Rack::Chunked middleware. You might be missing a Content-Length or "Transfer-Encoding: chunked" header in the response, so the client is assuming HTTP/1.0 semantics and waiting for the connection to close. HTTP/1.1 requires either Content-Length or chunked transfer-encoding to do persistent connections. _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying