7K7zNRMK0sEaITradrRXAt changeset

Changeset326438383764 (b)
ParentNone (a)
ab
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}
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
--- 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}