Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Handle connection failures due to server load #948
I encounter this problem when I launch a ton of quick SSH commands via a gateway proxy. Below is the error that bubbles up. Looks like for me the error results from
The output usually looks like
Then you get this error:
If I catch the error via BaseException when I print out the connections for the parallel task with
This patch, along with the command
Below is the code I used to work around the problem for the time being for anyone else.
referenced this pull request
Sep 14, 2013
Said this in IRC but will repeat here for posterity:
I can't seem to reproduce this with e.g. 10x hostnames resolving to single target box + 100x parallel runs across all 10 of those "hosts" (doing
That said, willing to merge since I can't see many possibilities for this causing extra issues & can take it on trust that it does fix it for users experiencing the problem. Thanks!