Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't clone certain repos over HTTPS while others work?

Deleted user August 7, 2019

For some strange reason https clone for some repositories has stopped working. It works fine for other repositories. 

For example the following occurs when cloning over https. SSH clone works fine for this repository...

git clone https://sourcecontrol.remoteiv.dk/scm/nem/sitecore.git
Cloning into 'sitecore'...
Username for 'https://sourcecontrol.remoteiv.dk': tdh
Password for 'https://tdh@sourcecontrol.remoteiv.dk':
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
fatal: The remote end hung up unexpectedly

2 answers

0 votes
nylend95 September 19, 2019

Hi,

Check the number of branches for the repositories that does not work with cloning over HTTPS. I have the same issue, and for me it works if there are 11 or less branches. If there are any more branches than that, I get the exact same error message. 

Try to delete some branches (if possible) to check if this is the issue you are facing.

J

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 12, 2019

Hi Timothy,

Thanks for reaching out. Are you still experiencing this issue?

If you have enabled two-factor authentication in your account, you must provide an App password instead of entering your personal password for HTTPS Git. If that's not your case and you're still having this problem, we'll need more information: 

  1. Are you cloning directly from the terminal
  2. Are there any other users experiencing the same issue with this repo?

Let us know!

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events