Revision 326438383764 () - Diff

Link to this snippet: https://friendpaste.com/7K7zNRMK0sEaITradrRXAt
Embed:
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
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}