incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Borwankar <ni...@borwankar.com>
Subject Re: auth for repl from local couch to hosting ?
Date Tue, 26 May 2009 03:12:40 GMT
Hey Chris,

That worked, thanks!
With such immediate support on the email list, paid support will have to go
into negative time (know what I need before I have the problem)!
Thanks again!

Nitin

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


On Mon, May 25, 2009 at 8:03 PM, Chris Anderson <jchris@apache.org> wrote:

> Nitin,
>
> Hey the hosting on couch.io is proxied behind Apache and requires you
> to use your Couch.io login.
>
> try specifying the target database URL as
>
> http://USER:PASS@nborwankar.couch.io/foobar
>
> Let me know how that works.
>
> We'll be relaxing the restriction requiring passwords so that paid
> accounts can be used for publishing, probably in the next day or so.
>
> Chris
>
>
>
> On Mon, May 25, 2009 at 7:48 PM, Nitin Borwankar <nitin@borwankar.com>
> wrote:
> > 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
> >
>
>
>
> --
> Chris Anderson
> http://jchrisa.net
> http://couch.io
>

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