Closed Bug 1007444 Opened 12 years ago Closed 12 years ago

git clone fails on rhel linux

Categories

(Hello (Loop) :: Server, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: jbonacci, Unassigned)

Details

(Whiteboard: [qa+])

This is what I see: git clone https://github.com/mozilla-services/loop-server.git Initialized empty Git repository in /home/ec2-user/loop-server/.git/ error: The requested URL returned error: 403 Forbidden while accessing https://github.com/mozilla-services/loop-server.git/info/refs fatal: HTTP request failed I am going to assume this is a permissions thing since loop-server is marked private. But! This does work on ubuntu (after being asked for user/pwd). What's the trick for getting this working with rhel?
Whiteboard: [qa+]
You should use the ssh link with ForwardAgent activated so it will use your ssh private key to let the magic happend.
I am not really sure what you mean here? Usually I get asked for the login/password to my GitHub account with a "git clone" request to a private repo. What are the steps then?
I added you to the loop-server team on github. Could you try again? Thank you.
Tried again. Still fails: git clone https://github.com/mozilla-services/loop-server.git Initialized empty Git repository in /home/ec2-user/loop-server/.git/ error: The requested URL returned error: 403 Forbidden while accessing https://github.com/mozilla-services/loop-server.git/info/refs fatal: HTTP request failed
Can you try to use the SSH github endpoint? git clone git@github.com:mozilla-services/loop-server.git
Amazingly that does not work either! git clone git@github.com:mozilla-services/loop-server.git Initialized empty Git repository in /home/ec2-user/loop-server/.git/ The authenticity of host 'github.com (192.30.252.128)' can't be established. RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'github.com,192.30.252.128' (RSA) to the list of known hosts. Permission denied (publickey). fatal: The remote end hung up unexpectedly I am now wondering what is unique about my AWS instances Ubuntu vs. rhel/scilinux And, of course I can not download the master.zip to any host...
Status: NEW → ASSIGNED
Can you display the source code on https://github.com/mozilla-services/loop-server ?
yea, I sure can. I seem to have full access to the repo, so I am not sure why I can not pull it down onto a rhel system...
I am a bit confused then :s
Are you trying to do the clone in the loop.stage.mozaws.net server?
Nope. I am doing a "git clone" from my laptop or from an AWS instance. This technique works for all other repos I use (although I have not tried another private repo on AWS for a long time). :rfkelly do you have a rhel VM or instance we can try this on?
It works for my on my Fedora VM, which is the closed thing I have at the moment. If you give me ssh on one of your AWS boxes I can try from them, and see if it's a problem with the machine or with your github perms.
Gave :rfkelly access to my AWS boxes and it works for him. We debugged for a good 30min and came up with nothing.
Since this does work for me from my Mac and my ubuntu AWS instance (both not from my VMs or my rhel AWS instances), I am just going to close the bug. If this gets to be more of an issue, we can work on some other method....
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → VERIFIED
Well, interesting. With brand new AWS instances, this works just fine...
Resolution: WONTFIX → WORKSFORME
You need to log in before you can comment on or make changes to this bug.