I get 500 errors on a git clone

I cannot clone a newly created repository. I am getting below the error.

$ git clone https://github.xxxxx.com/zzzzzz.git Cloning into 'zzzzzz'... Username for 'https://github.xxxxxx.com': yyyyy Password for 'https:// yyyyy@github.xxxxxx.com ': remote: Internal Server Error. remote: fatal: unable to access 'https://github.xxxxxx.com/zzzzz.git/': The requested URL returned error: 500 

I successfully generated ssh keys and updated the key in github settings according to the instructions in the URL below

https://help.github.com/articles/generating-ssh-keys/

authentication was successful when I executed the command: git -T git @ github.xxx.com

Also, as I understand it, if we install ssh, the git clone command should not ask for a username and password. But he still asks 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 
+5
source share
2 answers

This is most likely a problem with the GitHub service. I recommend contacting them and explaining what the problem is.

Here is how Wikipedia explains the 500 response code:

500 Internal Server Error

A general error message given under an unexpected condition occurs, and no more specific message is suitable.

Basically, something went wrong on the endpoint of GitHub.


But , since you already set your SSH keys, you can use ssh url to clone your repository:

 git clone git@github.com :owner/repo.git 
+7
source

I have the same problem but in gitlab and the answer to the problem is that gitlab is doing the deployment

Deployment in progress. Try again in a few minutes.

If this problem persists, contact your GitLab administrator.

so I was connected after a few hours and it works.

+1
source

Source: https://habr.com/ru/post/1233535/


All Articles