Sourcetree push/pull/network issues with remote repository

Hi,

We have a GIT repository setup on an internal mac server and then each mac uses sourcetree to view the projects/repositories. One of our team is based in the UK, while we're in South Africa, and he randomly has problems committing or pulling from the repository. At times he will pull and nothing happens, plus when he tries to commit he often gets issues. He connects onto our network via a VPN client, and this might be faulty but we've upgraded this and the security layers on our network.

The interesting thing is when I'm travelling or at home I randomly get these issues. At times it will work and then suddenly I simply can't pull. For instance I'm at home now and I can see no updates in Sourcetree. Pulling does nothing, it shows the status bar but this never stops pulling, never actually getting anything but never stopping. These issues occur on line speeds varying from 2MB to 12MB and vary from location to location.

Does anyone have any helpful ideas to solve this? Are there minimum latency settings or any network settings we should check? Any advice on this would be really helpful.

thanks

2 answers

1 accepted

Thanks for the update Kieran.

We think we might have solved this as it's now working as expected. We updated our firewall software as well as a couple of other network items and then moved over from using named servers to the IP's. This seems to have made the connection far more stable and is working. For now I'm still keeping an eye on it, but it's positive.

Thanks as always for the advice.

Excellent :) Could you mark your own answer as correct if you find the time? It's just so we can help manage which issues have been resolved and which need our time. Many thanks in advance!

Hi Jason,

I may be way off the mark, but if you're going over VPS then you'll be using some kind of network share (or in fact, it *is* a network share?). If this is the case, I can direct you to the following issues:

  1. https://answers.atlassian.com/questions/139650/adding-a-git-working-copy-located-on-sshfs-volume
  2. https://answers.atlassian.com/questions/17026/source-tree-corrupts-git-index-file-on-smb-share

In short, a network file share typically causes corruptions. These usually happen at random, for example, a client can see that there's changes to pull, but then can't pull them, or a client may not even be able to see the index so never sees any changes.

We've had quite a few queries about this area but we don't control the network layer - that's an OS-level function, we just utilise whatever protocol/path there is and the OS will do the rest. I guess you could compare it to UDP which would be happy to drop packets along the way (which really isn't good for you).

Let me know if this applies to you or not, but if so, the hard answer is that you would have to find another solution to sharing the repository with your colleague.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Meg Holbrook
Posted 10 hours ago in Off-topic

Miscellaneous Monday - Throwback Edition

It's Monday morning here is sunny California! (86 degrees in April, what is happening right now??) Time for another Miscellaneous Monday! I was having a random conversation with my nine-year-old thi...

1,685 views 29 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you