{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4546","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4546/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4546/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4546/events","html_url":"https://github.com/pouchdb/pouchdb/issues/4546","id":115318191,"number":4546,"title":"infinite error loop with _bulk_get.","user":{"login":"ronyrun","id":7273443,"avatar_url":"https://avatars.githubusercontent.com/u/7273443?v=3","gravatar_id":"","url":"https://api.github.com/users/ronyrun","html_url":"https://github.com/ronyrun","followers_url":"https://api.github.com/users/ronyrun/followers","following_url":"https://api.github.com/users/ronyrun/following{/other_user}","gists_url":"https://api.github.com/users/ronyrun/gists{/gist_id}","starred_url":"https://api.github.com/users/ronyrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronyrun/subscriptions","organizations_url":"https://api.github.com/users/ronyrun/orgs","repos_url":"https://api.github.com/users/ronyrun/repos","events_url":"https://api.github.com/users/ronyrun/events{/privacy}","received_events_url":"https://api.github.com/users/ronyrun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-05T16:15:15Z","updated_at":"2015-11-05T16:26:58Z","closed_at":null,"body":"Hello, On Safari (with Ionic Cordova) I encounter this error : \r\n\r\n[Error] Failed to load resource: request body stream exhausted (_bulk_get, line 0)\r\nhttps://myapp-cloudant.com/mydb/_bulk_get?revs=true&attachments=true\r\n\r\nI don't have any issue on Chrome. And CORS is activated on Backend side ( Cloudant).\r\n\r\n```\r\n2015-11-05 17:14:23.494 myapp[4057:34894] WARN: PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\n2015-11-05 17:14:24.102 myapp[4057:34894] Sync replicate resumed - user went back online \r\n2015-11-05 17:14:24.534 myapp[4057:34894] WARN: PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\n2015-11-05 17:14:24.535 myapp[4057:34894]  Sync onPause {\"status\":500,\"name\":\"unknown_error\",\"message\":\"Database encountered an unknown error\"}\r\n2015-11-05 17:14:25.725 myapp[4057:34894] WARN: PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\n2015-11-05 17:14:26.250 myapp[4057:34894] Sync replicate resumed - user went back online \r\n2015-11-05 17:14:27.200 myapp[4057:34894] WARN: PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\n2015-11-05 17:14:27.203 myapp[4057:34894]  Sync onPause {\"status\":500,\"name\":\"unknown_error\",\"message\":\"Database encountered an unknown error\"}\r\n2015-11-05 17:14:28.431 myapp[4057:34894] WARN: PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\n2015-11-05 17:14:28.955 myapp[4057:34894] Sync replicate resumed - user went back online \r\n2015-11-05 17:14:29.471 myapp[4057:34894] WARN: PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\n2015-11-05 17:14:29.474 myapp[4057:34894]  Sync onPause {\"status\":500,\"name\":\"unknown_error\",\"message\":\"Database encountered an unknown error\"}\r\n```\r\n\r\n```\r\n\r\nconsole-via-logger.js:173PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\nhttps://myapp.cloudant.com/myDB/_bulk_get?revs=true&attachments=trueFailed to load resource: request body stream exhausted\r\nconsole-via-logger.js:173 Sync onPause \r\nPouchError\r\nconsole-via-logger.js:173PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\nconsole-via-logger.js:173Sync replicate resumed - user went back online \r\nconsole-via-logger.js:173PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\nhttps://myapp.cloudant.com/myDB/_bulk_get?revs=true&attachments=trueFailed to load resource: request body stream exhausted\r\nconsole-via-logger.js:173 Sync onPause \r\nPouchError\r\nconsole-via-logger.js:173PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\nconsole-via-logger.js:173Sync replicate resumed - user went back online \r\nconsole-via-logger.js:173PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\nhttps://myapp.cloudant.com/myDB/_bulk_get?revs=true&attachments=trueFailed to load resource: request body stream exhausted\r\nconsole-via-logger.js:173 Sync onPause \r\nPouchError\r\nconsole-via-logger.js:173PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\nconsole-via-logger.js:173Sync replicate resumed - user went back online \r\nconsole-via-logger.js:173PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\nhttps://myapp.cloudant.com/myDB/_bulk_get?revs=true&attachments=trueFailed to load resource: request body stream exhausted\r\nconsole-via-logger.js:173 Sync onPause \r\nPouchError\r\nconsole-via-logger.js:173PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\nconsole-via-logger.js:173Sync replicate resumed - user went back online \r\nconsole-via-logger.js:173PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header\r\nhttps://myapp.cloudant.com/myDB/_bulk_get?revs=true&attachments=trueFailed to load resource: request body stream exhausted\r\nconsole-via-logger.js:173 Sync onPause \r\nPouchError\r\nconsole-via-logger.js:173PouchDB: the remote database may not have CORS enabled.If not please enable CORS\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/154112112","html_url":"https://github.com/pouchdb/pouchdb/issues/4546#issuecomment-154112112","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4546","id":154112112,"user":{"login":"ronyrun","id":7273443,"avatar_url":"https://avatars.githubusercontent.com/u/7273443?v=3","gravatar_id":"","url":"https://api.github.com/users/ronyrun","html_url":"https://github.com/ronyrun","followers_url":"https://api.github.com/users/ronyrun/followers","following_url":"https://api.github.com/users/ronyrun/following{/other_user}","gists_url":"https://api.github.com/users/ronyrun/gists{/gist_id}","starred_url":"https://api.github.com/users/ronyrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronyrun/subscriptions","organizations_url":"https://api.github.com/users/ronyrun/orgs","repos_url":"https://api.github.com/users/ronyrun/repos","events_url":"https://api.github.com/users/ronyrun/events{/privacy}","received_events_url":"https://api.github.com/users/ronyrun/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T16:26:58Z","updated_at":"2015-11-05T16:26:58Z","body":"OK no more loop with the 5.0.0 version."}}