You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Ning Tan <ni...@gmail.com> on 2011/08/11 22:55:19 UTC

changes continuous feed hangs even with heartbeat specified

Hello,

We have a 1.0.1 CouchDB database. If I issue a "curl -X GET
http://myserver:5984/mydb/_changes?feed=continuous&heartbeat=5000&since=226234",
the feed is fine up to a point where I receive a { "lastSeq": 235464 }
line, and then the connection just hangs.

The fact that the last line was different from all the other ones
leads me to believe there is some Couchdb protocol I'm not aware of.
Am I supposed to reconnect when I see a line like this?

Has anybody seen this behavior?

Thanks!

Re: changes continuous feed hangs even with heartbeat specified

Posted by Ning Tan <ni...@gmail.com>.
Never mind. I think I forgot to escape the URL properly on the command line.

On Thu, Aug 11, 2011 at 4:55 PM, Ning Tan <ni...@gmail.com> wrote:
> Hello,
>
> We have a 1.0.1 CouchDB database. If I issue a "curl -X GET
> http://myserver:5984/mydb/_changes?feed=continuous&heartbeat=5000&since=226234",
> the feed is fine up to a point where I receive a { "lastSeq": 235464 }
> line, and then the connection just hangs.
>
> The fact that the last line was different from all the other ones
> leads me to believe there is some Couchdb protocol I'm not aware of.
> Am I supposed to reconnect when I see a line like this?
>
> Has anybody seen this behavior?
>
> Thanks!
>