Failed with error: failed to start SSH session: Failed getting banner
Closed this issue · 6 comments
Sometimes getting this error for gg fetch
but it resolves after running command again.
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:02
origin from "/Users/thamaraiselvam/repo/xxx Received 0/0 objects in 0 bytes 00:00:02
origin from "/Users/thamaraiselvam/repo/xxx" Failed with error: failed to start SSH session: Failed getting banner 00:00:00
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:02
origin from "/Users/thamaraiselvam/repo/xxx Received 0/0 objects in 0 bytes 00:00:03
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:03
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:04
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:02
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:02
origin from "/Users/thamaraiselvam/repo/xxx" Received 33/33 objects in 8296 bytes 00:00:03
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:03
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:02
origin from "/Users/thamaraiselvam/repo/xxx" Failed with error: failed to start SSH session: Failed getting banner 00:00:00
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:01
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:02
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:02
origin from "/Users/thamaraiselvam/repo/xxx" Received 46/46 objects in 22182 bytes (used 13 local objects) 00:00:09
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:02
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:02
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:03
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:01
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:04
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:03
origin from "/Users/thamaraiselvam/repo/xxx" Failed with error: failed to start SSH session: Failed getting banner 00:00:00
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes 00:00:02
origin from "/Users/thamaraiselvam/repo/xxx" Received 4/4 objects in 916 bytes (used 3 local objects) 00:00:02
origin from "/Users/thamaraiselvam/repo/xxx" Received 0/0 objects in 0 bytes
Are the same repos always failing?
Can u create a dir with only those repos and post the o/p
Any update?
it is random. if I rerun script then previously error dir are running fine but few others are failing
Can you try the same without parallelism.
Set the -j
flag to 1.
https://stackoverflow.com/questions/10256887/ssh-connections-failing-under-heavy-load
There is a limit to the open connections a ssh connection can have to one server.
Thanks @jpninanjohn It did the trick. can I set default value for this flag?
The default value is the number of threads of your system. Right now there is no way to change the default.
Closing this issue since its solved.