All of lore.kernel.org
 help / color / mirror / Atom feed
From: tom fogal <tfogal@sci.utah.edu>
To: Tay Ray Chuan <rctay89@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: manual http authorization (no netrc)
Date: Sun, 09 Jan 2011 12:49:13 -0700	[thread overview]
Message-ID: <auto-000024264576@sci.utah.edu> (raw)
In-Reply-To: Your message of "Mon, 10 Jan 2011 00:35:16 +0800." <AANLkTik2QjOOoOcx0E7NeYEbs3YnLFPbG3x5J2RUFmRU@mail.gmail.com>

Tay Ray Chuan <rctay89@gmail.com> writes:
> On Fri, Jan 7, 2011 at 1:20 AM, tom fogal <tfogal@sci.utah.edu> wrote:
> > I'm getting authorization errors when I lack a .netrc for an
> > http-based server. Specifically:
> >
> > =A0tf@shigeru tmp $ git clone http://myhost:port/git/io.git
> > =A0Cloning into io...
> > =A0Username:
> > =A0Password:
> > =A0error: The requested URL returned error: 401 (curl_result =3D 22, http=
> > _code =3D
[snip]
> hmm, can you try passing username and password in this manner
> 
>   http://<user>:<pwd>@server:port/
> 
> ?

Yes.  That worked!  Though it was very quiet; the only message I
got was "Cloning into io..."; no "remote:" messages or "Receiving "
messages.  That's neither here nor there, though.

> Also, does your username/password contain special, non-alphanumeric
> characters? I remember there was a change to how we handled those
> some time ago.

Nope, both would encode fine in 7bit ascii.

Thanks much for the workaround,

-tom

      reply	other threads:[~2011-01-09 19:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06 17:20 manual http authorization (no netrc) tom fogal
2011-01-09 16:35 ` Tay Ray Chuan
2011-01-09 19:49   ` tom fogal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=auto-000024264576@sci.utah.edu \
    --to=tfogal@sci.utah.edu \
    --cc=git@vger.kernel.org \
    --cc=rctay89@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.