couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J Chris Anderson <jch...@gmail.com>
Subject Re: Proxied CouchDB breaks continuous _changes
Date Tue, 18 May 2010 19:29:08 GMT

On May 18, 2010, at 12:25 PM, Benoit Chesneau wrote:

> On Tue, May 18, 2010 at 8:57 PM, Zachary Zolton
> <zachary.zolton@gmail.com> wrote:
>> Halp!
>> 
>> I've developed an Evently application that I want to be available on
>> port 80. So, at the suggestion of the mailing list I'm proxying port
>> 80 to CouchDB via nginx.
>> 
>> Unfortunately, the when requesting _changes?feed=continuous via port
>> 80, the server doesn't respond with anything and times out. Everything
>> else in the app seems to work fine (i.e. CRUD operations and
>> authentication). Trying the same continuous changes query on port 5984
>> works just fine.
>> 
>> Hopefully, someone with more awesomeness than I can tell me some nginx
>> twiddly knobs to try out.
>> 
>> 
>> Thanks guys,
>> 
>> Zach
>> 
>> 
>> P.S. Here's my nginx.conf: http://www.friendpaste.com/NvXZVgIT8c97DpMeN7e6b
>> 
> 
> `proxy_buffering off;` on _changes path  should do the trick.
> 
> - benoƮt

I've been wanting to change the whole to use longpoll anyway because it's much more robust
(if a little less efficient)

If this nginx thing doesn't work let me know and I'll try the longpoll switch
Mime
View raw message