Closed
Bug 1007444
Opened 12 years ago
Closed 12 years ago
git clone fails on rhel linux
Categories
(Hello (Loop) :: Server, defect)
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?
| Reporter | ||
Updated•12 years ago
|
Whiteboard: [qa+]
Comment 1•12 years ago
|
||
You should use the ssh link with ForwardAgent activated so it will use your ssh private key to let the magic happend.
| Reporter | ||
Comment 2•12 years ago
|
||
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?
Comment 3•12 years ago
|
||
I added you to the loop-server team on github. Could you try again?
Thank you.
| Reporter | ||
Comment 4•12 years ago
|
||
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
Comment 5•12 years ago
|
||
Can you try to use the SSH github endpoint?
git clone git@github.com:mozilla-services/loop-server.git
| Reporter | ||
Comment 6•12 years ago
|
||
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
Comment 7•12 years ago
|
||
Can you display the source code on https://github.com/mozilla-services/loop-server ?
| Reporter | ||
Comment 8•12 years ago
|
||
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...
Comment 9•12 years ago
|
||
I am a bit confused then :s
Comment 10•12 years ago
|
||
Are you trying to do the clone in the loop.stage.mozaws.net server?
| Reporter | ||
Comment 11•12 years ago
|
||
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?
Comment 12•12 years ago
|
||
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.
| Reporter | ||
Comment 13•12 years ago
|
||
Gave :rfkelly access to my AWS boxes and it works for him.
We debugged for a good 30min and came up with nothing.
| Reporter | ||
Comment 14•12 years ago
|
||
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
| Reporter | ||
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 15•12 years ago
|
||
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.
Description
•