--- Revision None +++ Revision 326438383764 @@ -0,0 +1,70 @@ +Send the following request to http://localhost:44968/_replicate + +{'source': 'bookmarks', + 'target': { + 'url': 'https://couchdb.one.ubuntu.com:443/u%2F3c5%2F9dc%2F21%2Fbookmarks', + 'auth': { + 'oauth': { + 'consumer_secret': 'XXX', + 'token': 'XXX', + 'consumer_key': 'XXX', + 'token_secret': 'XXX' + } + } + } +} + +Couch says the following: + +[Fri, 02 Oct 2009 13:35:43 GMT] [info] [<0.6028.0>] 127.0.0.1 - - 'POST' /_replicate 401 + + + +[Fri, 02 Oct 2009 13:35:44 GMT] [error] [<0.6032.0>] {error_report,<0.24.0>, + + {<0.6032.0>,crash_report, + + [[{initial_call,{couch_rep,init,['Argument__1']}}, + + {pid,<0.6032.0>}, + + {registered_name,[]}, + + {error_info, + + {exit, + + {db_not_found, + + <<"https://couchdb.one.ubuntu.com:443/u%2F3c5%2F9dc%2F21%2Fbookmarks/">>}, + + [{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}}, + + {ancestors, + + [couch_rep_sup,couch_primary_services,couch_server_sup,<0.1.0>]}, + + {messages,[]}, + + {links,[<0.49.0>]}, + + {dictionary,[]}, + + {trap_exit,true}, + + {status,running}, + + {heap_size,4181}, + + {stack_size,24}, + + {reductions,5265}], + + []]}} + + + +but that database *does* exist: + +$ ./utilities/web_api_tool.py --url https://couchdb.one.ubuntu.com:443/u%2F3c5%2F9dc%2F21%2Fbookmarks/ +{'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}