Can't git clone Anvil Component App Clone

I’m trying to checkout my dependency apps so that I can deploy my app locally using the App Server.

I’ve tried repeatedly, and about 1 in 10 times the git clone works. This is leading me to believe that perhaps Anvil isn’t syncing my credentials across all its backend git hosting servers.

Code Sample:

 /tmp git clone ssh://erik%40*************.com@anvil.works:2222/LR2K5N3ZRL2K2YIR.git ToggleSwitch
Cloning into 'ToggleSwitch'...
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


#### 10 tries later

git clone ssh://erik%**********.com@anvil.works:2222/LR2K5N3ZRL2K2YIR.git ToggleSwitch
Cloning into 'ToggleSwitch'...
remote: Counting objects: 21, done
remote: Finding sources: 100% (21/21)
remote: Getting sizes: 100% (19/19)
remote: Compressing objects: 100% (47770/47770)
remote: Total 21 (delta 2), reused 0 (delta 0)
Receiving objects: 100% (21/21), 13.63 KiB | 96.00 KiB/s, done.
Resolving deltas: 100% (2/2), done.

# 11th attempt
 /tmp git clone ssh://erik%*********.com@anvil.works:2222/LR2K5N3ZRL2K2YIR.git ToggleSwitch
Cloning into 'ToggleSwitch'...
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Clone link:
(This is the Toggle Switch component Toggle Switch and Progress Bar )
https://anvil.works/build#clone:LR2K5N3ZRL2K2YIR=RCTEEBGHAJOYC5TKK4FVDGVT

Hi @erik

That’s definitely not right - thanks for the heads up! Are you using password or key-based authentication?

[Moved to bug reports]

@daviesian key-based.

Interesting. We haven’t been able to reproduce anything similar at our end. Do you get the same effect if you try with a different key pair?

To help us identify the problem, can you also try switching SSH into verbose mode and posting the output?

GIT_SSH_COMMAND="ssh -vvv" git clone ...

Same results when I use a different key pair.

GIT_SSH_COMMAND="ssh -vvv" git clone ssh://erik%40**********.com@anvil.works:2222/LR2K5N3ZRL2K2YIR.git ToggleSwitch
Cloning into 'ToggleSwitch'...
OpenSSH_8.1p1, LibreSSL 2.7.3
debug1: Reading configuration data /Users/erik/.ssh/config
debug1: /Users/erik/.ssh/config line 10: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 47: Applying options for *
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 84260
debug3: mux_client_request_session: session request sent
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

This isn’t something we’ve been able to reproduce anywhere else - do you see the same behaviour if you try to clone from a different machine and OS?