{"action":"closed","issue":{"url":"https://api.github.com/repos/cloudant/meteor-couchdb/issues/12","labels_url":"https://api.github.com/repos/cloudant/meteor-couchdb/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/cloudant/meteor-couchdb/issues/12/comments","events_url":"https://api.github.com/repos/cloudant/meteor-couchdb/issues/12/events","html_url":"https://github.com/cloudant/meteor-couchdb/issues/12","id":109001429,"number":12,"title":"Document Update Conflict","user":{"login":"ilfrich","id":4035411,"avatar_url":"https://avatars.githubusercontent.com/u/4035411?v=3","gravatar_id":"","url":"https://api.github.com/users/ilfrich","html_url":"https://github.com/ilfrich","followers_url":"https://api.github.com/users/ilfrich/followers","following_url":"https://api.github.com/users/ilfrich/following{/other_user}","gists_url":"https://api.github.com/users/ilfrich/gists{/gist_id}","starred_url":"https://api.github.com/users/ilfrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilfrich/subscriptions","organizations_url":"https://api.github.com/users/ilfrich/orgs","repos_url":"https://api.github.com/users/ilfrich/repos","events_url":"https://api.github.com/users/ilfrich/events{/privacy}","received_events_url":"https://api.github.com/users/ilfrich/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-30T02:18:23Z","updated_at":"2015-12-01T03:16:21Z","closed_at":"2015-12-01T03:16:21Z","body":"I'm getting the following error message on server startup. I'm properly connected and can read/write documents. This I believe is related to the Meteor view that is somehow created.\r\n\r\nThe error only happens if I have `johdirr:meteor-git-rev` installed (a package that has nothing to do with the database).\r\n\r\n*Cloudant credentials and instance ID are masked.*\r\n\r\n```\r\nW20150930-11:24:55.173(10)? (STDERR) Error: getaddrinfo ENOTFOUND\r\nW20150930-11:24:55.175(10)? (STDERR)     at Object.Future.wait (/Users/peter/.meteor/packages/meteor-tool/.1.1.9.20ekvo++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:398:15)\r\nW20150930-11:24:55.177(10)? (STDERR)     at new CouchDBConnection (packages/cloudant_couchdb/couchdb_driver.js:141:1)\r\nW20150930-11:24:55.205(10)? (STDERR)     at new CouchDBInternals.RemoteCollectionDriver (packages/cloudant_couchdb/remote_collection_driver.js:29:1)\r\nW20150930-11:24:55.210(10)? (STDERR)     at Object.<anonymous> (packages/cloudant_couchdb/remote_collection_driver.js:77:1)\r\nW20150930-11:24:55.212(10)? (STDERR)     at Object.defaultRemoteCollectionDriver (packages/underscore/packages/underscore.js:779:1)\r\nW20150930-11:24:55.213(10)? (STDERR)     at new CouchDB.Database (packages/cloudant_couchdb/collection.js:112:1)\r\nW20150930-11:24:55.213(10)? (STDERR)     at packages/johdirr_meteor-git-rev/packages/johdirr_meteor-git-rev.js:9:1\r\nW20150930-11:24:55.213(10)? (STDERR)     at Package (packages/johdirr_meteor-git-rev/packages/johdirr_meteor-git-rev.js:14:1)\r\nW20150930-11:24:55.214(10)? (STDERR)     at /Users/peter/projects/bendigo-demo/.meteor/local/build/programs/server/packages/johdirr_meteor-git-rev.js:81:4\r\nW20150930-11:24:55.215(10)? (STDERR)     at /Users/peter/projects/bendigo-demo/.meteor/local/build/programs/server/packages/johdirr_meteor-git-rev.js:88:3\r\nW20150930-11:24:55.215(10)? (STDERR)     - - - - -\r\nW20150930-11:24:55.215(10)? (STDERR)     at errnoException (dns.js:37:11)\r\nW20150930-11:24:55.215(10)? (STDERR)     at Object.onanswer [as oncomplete] (dns.js:124:16)\r\n=> Meteor server restarted                    \r\nW20150930-11:25:26.239(10)? (STDERR) { [Error: Document update conflict.]\r\nW20150930-11:25:26.239(10)? (STDERR)   name: 'Error',\r\nW20150930-11:25:26.239(10)? (STDERR)   error: 'conflict',\r\nW20150930-11:25:26.239(10)? (STDERR)   reason: 'Document update conflict.',\r\nW20150930-11:25:26.239(10)? (STDERR)   scope: 'couch',\r\nW20150930-11:25:26.239(10)? (STDERR)   statusCode: 409,\r\nW20150930-11:25:26.239(10)? (STDERR)   request: \r\nW20150930-11:25:26.240(10)? (STDERR)    { method: 'PUT',\r\nW20150930-11:25:26.240(10)? (STDERR)      headers: \r\nW20150930-11:25:26.240(10)? (STDERR)       { 'content-type': 'application/json',\r\nW20150930-11:25:26.240(10)? (STDERR)         accept: 'application/json' },\r\nW20150930-11:25:26.240(10)? (STDERR)      uri: 'https://username:password@instance-bluemix.cloudant.com/revision/_design/meteor/_update/lastwritewins/S5REqHRHgCbYBjfMn',\r\nW20150930-11:25:26.240(10)? (STDERR)      body: '{\"_id\":\"S5REqHRHgCbYBjfMn\"}' },\r\nW20150930-11:25:26.240(10)? (STDERR)   headers: \r\nW20150930-11:25:26.240(10)? (STDERR)    { 'x-couch-request-id': 'c8a9b87a6b',\r\nW20150930-11:25:26.240(10)? (STDERR)      date: 'Wed, 30 Sep 2015 01:25:17 GMT',\r\nW20150930-11:25:26.240(10)? (STDERR)      'content-type': 'application/json',\r\nW20150930-11:25:26.240(10)? (STDERR)      'cache-control': 'must-revalidate',\r\nW20150930-11:25:26.240(10)? (STDERR)      'strict-transport-security': 'max-age=31536000',\r\nW20150930-11:25:26.240(10)? (STDERR)      'x-content-type-options': 'nosniff;',\r\nW20150930-11:25:26.240(10)? (STDERR)      statusCode: 409,\r\nW20150930-11:25:26.241(10)? (STDERR)      uri: 'https://username:password@instance-bluemix.cloudant.com/revision/_design/meteor/_update/lastwritewins/S5REqHRHgCbYBjfMn' },\r\nW20150930-11:25:26.241(10)? (STDERR)   errid: 'non_200',\r\nW20150930-11:25:26.241(10)? (STDERR)   description: 'couch returned 409' }```"}}