couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Borwankar <ni...@borwankar.com>
Subject auth for repl from local couch to hosting ?
Date Tue, 26 May 2009 02:48:30 GMT
Trying to push a db via repl from local couch to hosting.couch.io - getting
bad mouthed by Erlang.

Replication failed: {error,
    {{bad_return_value,
         {invalid_json,
             <<"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
2.0//EN\">\n<html><head>\n<title>401 Authorization
Required</title>\n</head><body>\n<h1>Authorization Required</h1>\n<p>This
server could not verify that you\nare authorized to access the
document\nrequested.  Either you supplied the wrong\ncredentials (e.g., bad
password), or your\nbrowser doesn't understand how to supply\nthe
credentials required.</p>\n<hr>\n<address>Apache/2.2.9 (Ubuntu)
Phusion_Passenger/2.1.3 mod_ssl/2.2.9 OpenSSL/0.9.8g Server at
nborwankar.couch.io Port 80</address>\n</body></html>\n">>}},
     {child,undefined,"c3e63adb1f977a98496968761349dd8d",
         {gen_server,start_link,
             [couch_rep,
              ["c3e63adb1f977a98496968761349dd8d",
               {local,<<"foobar">>,{user_ctx,null,[]}},
               {remote,<<"http://nborwankar.couch.io/foobar/">>,[]}],
              []]},
         transient,1,worker,
         [couch_rep]}}}

What's the way to pass auth info while doing repl to hosting ?

Nitin

37% of all statistics are made up on the spot
-------------------------------------------------------------------------------------
Nitin Borwankar
nborwankar@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message