Blows up on my DB
I'm not exactly sure what the problem is here, but this is what it looks like. I think it doesn't like my DB or something.
dustinnmb:~ 1039% audit_couchdb http://single.couchbase.net/wikipedia2012
/Users/dustin/node_modules/audit_couchdb/node_modules/probe_couchdb/couch.js:26
throw new Error("Bad welcome from " + self.url + ": " + JSON.stringify
^
Error: Bad welcome from http://single.couchbase.net/wikipedia2012: {"db_name":"wikipedia2012","doc_count":12035919,"doc_del_count":0,"update_seq":12035919,"purge_seq":0,"compact_running":false,"disk_size":35076534404,"data_size":20613688745,"instance_start_time":"1329883991925110","disk_format_version":6,"committed_update_seq":12035919}
at [object Object].
Ah, I believe it currently only supports a couch URL, not a database URL. There is rudimentary support for skipping various databases, or skipping checks you don't care about (user stuff, design documents) but that is in varying states of completeness.
But audit_couchdb needs the couch root URL because it needs to compare your _security object against the users database for example, or it needs to check /_config, etc.
On Tue, Feb 28, 2012 at 6:53 AM, Dustin Sallings [email protected] wrote:
I'm not exactly sure what the problem is here, but this is what it looks like. I think it doesn't like my DB or something.
dustinnmb:~ 1039% audit_couchdb http://single.couchbase.net/wikipedia2012
/Users/dustin/node_modules/audit_couchdb/node_modules/probe_couchdb/couch.js:26 throw new Error("Bad welcome from " + self.url + ": " + JSON.stringify ^ Error: Bad welcome from http://single.couchbase.net/wikipedia2012: {"db_name":"wikipedia2012","doc_count":12035919,"doc_del_count":0,"update_seq":12035919,"purge_seq":0,"compact_running":false,"disk_size":35076534404,"data_size":20613688745,"instance_start_time":"1329883991925110","disk_format_version":6,"committed_update_seq":12035919} at [object Object].
(/Users/dustin/node_modules/audit_couchdb/node_modules/probe_couchdb/couch.js:26:15) at [object Object].json_body as callback at IncomingMessage. (/Users/dustin/node_modules/audit_couchdb/node_modules/probe_couchdb/node_modules/request/main.js:260:21) at IncomingMessage.emit (events.js:88:20) at HTTPParser.onMessageComplete (http.js:137:23) at Socket.ondata (http.js:1150:24) at TCP.onread (net.js:354:27)
Reply to this email directly or view it on GitHub: https://github.com/jhs/audit_couchdb/issues/2
Iris Couch