I am unable to clone a newly created repository. I am getting below error.
$ git clone https://github.xxxxx.com/zzzzzz.git
Cloning into 'zzzzzz'...
Username for 'https://github.xxxxxx.com': yyyyy
Password for 'https://[email protected]':
remote: Internal Server Error.
remote:
fatal: unable to access 'https://github.xxxxxx.com/zzzzz.git/': The requested URL returned error: 500
I have successfully generated ssh keys and updated the key in github settings as per the instructions in the below URL
https://help.github.com/articles/generating-ssh-keys/
authentication was success when I executed the command: git -T [email protected]
Also as per my understanding if we setup the ssh the git clone command should not ask for username and password. But it still asking for them.
debug1: Authentication succeeded (publickey).
Authenticated to github.xxxxx.com ([10.28.22.44]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Hi xxxx! You've successfully authenticated, but GitHub does not provide shell access.
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 3880, received 1696 bytes, in 0.2 seconds
Bytes per second: sent 19132.2, received 8363.0
debug1: Exit status 1
This error occurs if the default branch of a repository has been deleted on GitHub.com. Detecting this error is simple; Git will warn you when you try to clone the repository: $ git clone https://github.com/USER/REPO.git # Clone a repo > Cloning into 'repo'... > remote: Counting objects: 66179, done. >
The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request. This error is usually returned by the server when no other error code is suitable.
This is most probably a problem with GitHub service. I recommend contacting them and explain what the problem is.
This is how Wikipedia explains the 500
response code:
500 Internal Server Error
A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
Basically, something went wrong on the GitHub endpoint.
But, since you already have set your SSH keys, you can use the ssh url to clone your repository:
git clone [email protected]:owner/repo.git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With