a | b | |
---|
| 0 | + | Send the following request to http://localhost:44968/_replicate |
---|
| 0 | + | |
---|
| 0 | + | {'source': 'bookmarks', |
---|
| 0 | + | 'target': { |
---|
| 0 | + | 'url': 'https://couchdb.one.ubuntu.com:443/u%2F3c5%2F9dc%2F21%2Fbookmarks', |
---|
| 0 | + | 'auth': { |
---|
| 0 | + | 'oauth': { |
---|
| 0 | + | 'consumer_secret': 'XXX', |
---|
| 0 | + | 'token': 'XXX', |
---|
| 0 | + | 'consumer_key': 'XXX', |
---|
| 0 | + | 'token_secret': 'XXX' |
---|
| 0 | + | } |
---|
| 0 | + | } |
---|
| 0 | + | } |
---|
| 0 | + | } |
---|
| 0 | + | |
---|
| 0 | + | Couch says the following: |
---|
| 0 | + | |
---|
| 0 | + | [Fri, 02 Oct 2009 13:35:43 GMT] [info] [<0.6028.0>] 127.0.0.1 - - 'POST' /_replicate 401 |
---|
| 0 | + | |
---|
| 0 | + | |
---|
| 0 | + | |
---|
| 0 | + | [Fri, 02 Oct 2009 13:35:44 GMT] [error] [<0.6032.0>] {error_report,<0.24.0>, |
---|
| 0 | + | |
---|
| 0 | + | {<0.6032.0>,crash_report, |
---|
| 0 | + | |
---|
| 0 | + | [[{initial_call,{couch_rep,init,['Argument__1']}}, |
---|
| 0 | + | |
---|
| 0 | + | {pid,<0.6032.0>}, |
---|
| 0 | + | |
---|
| 0 | + | {registered_name,[]}, |
---|
| 0 | + | |
---|
| 0 | + | {error_info, |
---|
| 0 | + | |
---|
| 0 | + | {exit, |
---|
| 0 | + | |
---|
| 0 | + | {db_not_found, |
---|
| 0 | + | |
---|
| 0 | + | <<"https://couchdb.one.ubuntu.com:443/u%2F3c5%2F9dc%2F21%2Fbookmarks/">>}, |
---|
| 0 | + | |
---|
| 0 | + | [{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}}, |
---|
| 0 | + | |
---|
| 0 | + | {ancestors, |
---|
| 0 | + | |
---|
| 0 | + | [couch_rep_sup,couch_primary_services,couch_server_sup,<0.1.0>]}, |
---|
| 0 | + | |
---|
| 0 | + | {messages,[]}, |
---|
| 0 | + | |
---|
| 0 | + | {links,[<0.49.0>]}, |
---|
| 0 | + | |
---|
| 0 | + | {dictionary,[]}, |
---|
| 0 | + | |
---|
| 0 | + | {trap_exit,true}, |
---|
| 0 | + | |
---|
| 0 | + | {status,running}, |
---|
| 0 | + | |
---|
| 0 | + | {heap_size,4181}, |
---|
| 0 | + | |
---|
| 0 | + | {stack_size,24}, |
---|
| 0 | + | |
---|
| 0 | + | {reductions,5265}], |
---|
| 0 | + | |
---|
| 0 | + | []]}} |
---|
| 0 | + | |
---|
| 0 | + | |
---|
| 0 | + | |
---|
| 0 | + | but that database *does* exist: |
---|
| 0 | + | |
---|
| 0 | + | $ ./utilities/web_api_tool.py --url https://couchdb.one.ubuntu.com:443/u%2F3c5%2F9dc%2F21%2Fbookmarks/ |
---|
| 0 | + | {'update_seq': 0, 'disk_size': 79, 'purge_seq': 0, 'doc_count': 0, 'compact_running': False, 'db_name': 'u/3c5/9dc/21/bookmarks', 'doc_del_count': 0, 'instance_start_time': '1254482932364785', 'disk_format_version': 4} |
---|
... | |
---|