You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Pab Mau (JIRA)" <ji...@apache.org> on 2015/06/19 09:26:00 UTC

[jira] [Commented] (COUCHDB-2202) Replication fails with net::ERR_INVALID_CHUNKED_ENCODING

    [ https://issues.apache.org/jira/browse/COUCHDB-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14593136#comment-14593136 ] 

Pab Mau commented on COUCHDB-2202:
----------------------------------

Getting the same, tried to do filtered replication from remote to local db via pouchdb, found an old closed issue where they say it's an CouchDB bug..
http://hostname:5984/thedb/_changes?timeout=25000&style=all_docs&filter=user/allUsers

> 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.3.4#6332)