Beta 2.0: replication fails when admin password contains special character(s)
Fri, 09/28/2012 - 10:51
Kept trying to figure out why replication would just hang in "Starting up" status, and then I finally
decided to look at the error logs (why look there first?):
** Reason for termination ==
** {unauthorized,<<"http://admin:*****@xx.xx.xx.xx:8092/bucket_name%2f551%3b7442502c69f43fc732744cefc05cf0cd/">>}
The admin password contained a '#', which apparently isn't getting properly URL encoded/escaped somewhere
deep in the bowels of the replication code. Complete crash report below:
=========================CRASH REPORT=========================
crasher:
initial call: xdc_vbucket_rep:init/1
pid: <0.7964.39>
registered_name: []
exception exit: {unauthorized,<<"http://admin:*****@xx.xx.xx.xx:8092/bucket_name%2f551%3b7442502c69f43fc732744cefc05cf0cd/">>}
in function gen_server:terminate/6
ancestors: [<0.6731.39>,<0.6726.39>,xdc_replication_sup,ns_server_sup,
ns_server_cluster_sup,<0.60.0>]
messages: []
links: [<0.7965.39>,<0.6731.39>]
dictionary: []
trap_exit: true
status: running
heap_size: 196418
stack_size: 24
reductions: 35810
neighbours:
neighbour: [{pid,<0.7965.39>},
{registered_name,[]},
{initial_call,{lhttpc_manager,init,['Argument__1']}},
{current_function,{gen_server,loop,6}},
{ancestors,[<0.7964.39>,<0.6731.39>,<0.6726.39>,
xdc_replication_sup,ns_server_sup,
ns_server_cluster_sup,<0.60.0>]},
{messages,[]},
{links,[<0.7964.39>,#Port<0.1238939>]},
{dictionary,[]},
{trap_exit,false},
{status,waiting},
{heap_size,377},
{stack_size,9},
{reductions,213}]
Thanks for letting us know about this. I have filed an issue here:
http://www.couchbase.com/issues/browse/MB-6841