Re: manual http authorization (no netrc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 7, 2011 at 1:20 AM, tom fogal <tfogal@xxxxxxxxxxxx> wrote:
> I'm getting authorization errors when I lack a .netrc for an http-based
> server.  Specifically:
>
>  tf@shigeru tmp $ git clone http://myhost:port/git/io.git
>  Cloning into io...
>  Username:
>  Password:
>  error: The requested URL returned error: 401 (curl_result = 22, http_code =
>  401, sha1 = 9c201da4d64e2fd178935b9ebbd6e110a97578d4)
>  error: Unable to find 9c201da4d64e2fd178935b9ebbd6e110a97578d4 under
>  http://shigeru.sci.utah.edu:1234/git/io.git
>  Cannot obtain needed blob 9c201da4d64e2fd178935b9ebbd6e110a97578d4
>  while processing commit b1853d6f6a54cf22e259a75f77770eef53b8cb38.
>  error: Fetch failed.
>
> I did try multiple times; the username/password combo is correct :)

hmm, can you try passing username and password in this manner

  http://<user>:<pwd>@server:port/

?

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

-- 
Cheers,
Ray Chuan
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]