Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Beta 2.0: replication fails when admin password contains special character(s)

1 reply [Last post]
  • Login or register to post comments
Fri, 09/28/2012 - 10:51
chris_stclair
chris_stclair's picture
Offline
Joined: 07/16/2012
Groups: None

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}]

Top
  • Login or register to post comments
Mon, 10/08/2012 - 13:32
mikew
Offline
Joined: 03/14/2011
Groups:

Thanks for letting us know about this. I have filed an issue here:

http://www.couchbase.com/issues/browse/MB-6841

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker