I use SourceTree for Mac. This started happening today…
Every time I open SourceTree and it connects using ssh and checks for changes on all the repositories (all of them in the same place), I get ip-banned…
If I do a top on the remote machine before opening SourceTree, then open it, I can see how it makes a login for every repository… and then suddenly everything freezes and my remote machine does not answer at all any more until I reboot my router for the IP to be changed…
My hosting provider is Dreamhost, if you guys think this is not SourceTree-related, I'll talk to them.
Thanks!
SSH, both.
It was finally hosting related. I'll paste their answer for future reference:
Hello,
I am very sorry you have had this trouble. Our security system administrator has looked into this matter, and found the the server's jail.local file was missing the correct override for the number of failed login attempts, causing the login to be blocked prematurely by our fail2ban routine.
He has corrected this, and you should no longer have this problem. I am sorry for the inconvenience this as caused, but happy to report the problem has been resolved.
Thank you anyway,
Cheers!
Thanks Kieran.
Sadly, that didn't help. I turned "check default remotes for updates…" off but, as soon as SourceTree connected the first time when I tried to do a git-pull, connection freezed.
Note: This doesn't happen when I use git on terminal!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using SSH or HTTPS in SourceTree and on the command line?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Señor,
SourceTree does do checks in the background to see if there's any changes to pull. If you want to test if this is causing the problem you could turn this feature off in the preferences (General tab) as shown here:
Just turn off the "Check default remotes for updates every <X minutes>" checkbox and it won't do any background checks.
If your hosting provider is having a problem with this then it's worth speaking to them about it. In the meantime you can turn this feature off and manually hit fetch or pull on your repository. It doesn't stop you from pulling changes, it just stops background checks from happening to see if there is anything to pull.
Hope that helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.