Per Liedamn created COUCHDB-2202:
------------------------------------
Summary: Replication fails with net::ERR_INVALID_CHUNKED_ENCODING
Key: COUCHDB-2202
URL: https://issues.apache.org/jira/browse/COUCHDB-2202
Project: CouchDB
Issue Type: Bug
Security Level: public (Regular issues)
Components: HTTP Interface
Reporter: Per Liedamn
We're trying to replicate docs from a couchdb instance using a filter stored in
couch. If we do not specify a filter, everything works as expected but when we
specify a filter name, couch db responds with a truncated message causing
Chrome to show the following message in the console:
{{GET
http://hostname:5984/ourdbname/_changes?style=all_docs&feed=longpoll…fromDate=2014-03-10T23:00:00.000Z&since=0&limit=25&_nonce=8PCzVQzOyrrhy1VB
net::ERR_INVALID_CHUNKED_ENCODING}}
Here's the full URL for the request:
{{http://hostname:5984/ourdbname/_changes?style=all_docs&feed=longpoll&filter=replication/filter&since=0&limit=25&_nonce=7NIrlLVhSxjf1FvY}}
We were initially doing this via PouchDB's API, but testing the URL above
directly in the browser gives the same result.
We also tested in Firefox, which does not show the error message about chunked
encoding, but gives a truncated JSON response (only part of a JSON doc is
shown).
Tested with:
* CouchDb 1.4.0 (Ubuntu)
* CouchDb 1.5.0 (Windows)
--
This message was sent by Atlassian JIRA
(v6.2#6252)