We’ve set up a git server behind CF Access and Argo tunnel. Everything sort of works pretty well, but every once in while we see this error:
$ git push kex_exchange_identification: banner line contains invalid characters fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
If I wait a second and try again, it works:
$ git push Enumerating objects: 17, done. Counting objects: 100% (17/17), done. Delta compression using up to 12 threads Compressing objects: 100% (6/6), done. Writing objects: 100% (9/9), 615 bytes | 615.00 KiB/s, done. Total 9 (delta 4), reused 0 (delta 0) To ssh://git-ssh.... 54c4e9e..7516b7e master -> master
There’s not much visibility on where in the chain the ssh handshake fails.
Just wondering if anyone else has seen this and if there’s a fix?