How to speed up TortoiseSVN to VisualSVN server through SSH tunnel? - performance

This is our current setup: Windows Server 2008 with Visual SVN Server. On the client side we use tortoise svn.
Inside the company (internal network), the access speed(checkout,update,commit) is good.
When we access from outside the company via our SSH tunnel, it becomes really slow.
I read that there could be a few possibilities:
usage of HTTPS vs SVN (VisualSVN doesnt support SVN protocol :( )
antivirus (did not test it yet)
Any other suggestions ? Thank you

Related

Does using Visual Studio with TFS require a persistent connection to TFS from VS?

I'm an IT project manager. A developer on my team is complaining that she keeps losing her connection to TFS and that VS requires a constant connection to TFS to work for her. Our CIO is asking me why she doesn't only need a connection to TFS while checking in and out code. I do not know the answer.
Thank you,
Val
TFVC, Team Foundation Version Control, is one of the ways to store sources in Team Foundation Server (TFS), if your TFS serves is 2015 or later, Git is the new default. TFVC is a centralized version control system and assumes your developer has a persistent connection to the server. This is especially true when the workspace of the developer is configured as a "server" workspace, in which case each file system operation is synced to the central server.
In Workspace Type = Server mode your options are:
Use the Go Offline option to temporarily disconnect from the server and work locally in isolation.
Of Change the workspace type to local, which creates a local folder with a compressed copy of each file in the workspace.
This will reduce the number of interactions with the server, making it more pleasant to work when authentication is messed up. But a developer should be checking in and out code at a regular interval, preferably each change that puts the code in a stable state. I'd get VERY frustrated when even something as a checkin/checkout requires an auth prompt.
But your real problem
Is not whether TFS is prompting for auth, it's why the workstation or the server infra isn't (allowing the) caching of the credentials. This can have many causes:
The TFS server isn't configured with a secure connection (https)
The TFS server name doesn't match the server configuration
A proxy server is interfering
A local development proxy (like Fiddler) is turned on and not configured to ignore the TFS server
The Active Directory policy is forcing the credentials to not be stored
The TPM of the computer isn't working well and keeps resetting
There is a VPN interfering
Some endpoint monitoring system is detecting suspicious behavior and is triggering a re-auth
An incorrect credential is cached in the Windows Credential Manager.
The TFS server is in the wrong internet security zone
The Internet security zone settings are configured to not store credentials
...
...
Solve that and the developer will be much happier.
And TFVC is getting old (and most teams have moved to Git)
As others already commented, TFVC is getting old and many development teams have migrated to Git. Git gives developers a local copy of the sources and its history to work with, giving much more power to the developers to work locally without a need to connect to a central server.
If migration isn't an option (yet), tools like git tfs can help a developer to start working in Git locally, while still connecting to a central TFVC server to send the changes to the rest of the team.
But the long-term solution is to upgrade your development tools and get rid of TFVC.
TFS is getting old (is now Azure DevOps Server)
And while you're at it, TFS is getting old. It has been renamed in 2018 and is now called Azure DevOps Server. Azure DevOps Server 2020 is the latest. If you're having issues with TFS, making sure it's up to date and installed on a recent Windows Server version helps too.

windows client connect to windows server through VPN problems

I have vpn connection to windows server from windows 7 professional client. When I connect to the server in remote connection or svn checkout, it always disconnect after several seconds. e.g. in below screen , it happens in SVN checkout. In the client office vpn connect to main office windows server, it mostly happened in my computer. I have helped other colleagues to setup svn and checkout projects, they are successful... I really do not know why. Moreover when I remote connect to this windows server, after several seconds I will be disconnected. I cannot start working due to this problem. Please help.

VisualSVN asking for TortoiseSVN

I have a team of 4 peoples, including me, who are going to work on a project.
I have installed VisualSVN Server on my machine to set it as SVN Server.
Also I have installed VisualSVN Client on my machine and its been integrated with my machine. Here my machine will be a client and server. Server for other users and client for me.
Earlier, I had Tortoise and VisualSVN Client. That time everything was working fine. Now I have removed TortoiseSVN, as I have installed VisualSVN Server. But when I "commit" the changes, VisualSVN says that
"TortiseSVN is not installed. ....."
Now as I am using both VisualSVN as Server and Client, why should I need TortoiseSVN any more?
Or something is wrong ..?
I guess the reason for your problem is explained on https://www.visualsvn.com/visualsvn/download/tortoisesvn/
VisualSVN uses TortoiseSVN for most of the dialogs. But "Add Solution" wizard, "Get Solution" command and Visual Studio integration (status icons, transparent file operations etc.) do not depend on TortoiseSVN.

SVN access from local and remote computers with Visual Studio plug-ins

I'm new to the Version Control topic. I have a few computers on my home network and a remote computer, each having Visual Studio installed. I want to set up SVN server running on one of my local computers; then I want to get access to repository from all the local computers and remote one with Visual Studio plug-ins such as VisualSvn. Can this be done (concerned about remote machine) ? Thanks!
Another option is to use Subversion in file repository mode. Basically this lets you create a repository in a LAN folder location.
This mode lets other SVN clients connect to the shared LAN repository.
This is the repositroy mode I use with the Agent SVN Visual Studio plug-in and it works well.
Yes, it can be done providing that you have connectivity and firewall clearance between the remote and your network. You can either port forward through your router to your SVN server, and access remotely in VisualSVN using the external IP address, or setup a VPN link to your network and access remotely through that.

Visual Studio with a Remote Server

The site that I am working on is at a remote server. I want to work on it locally. Are there any tools better then that in Visual Studio for working with a remote website?
Rather than deal with the quirkiness of VS remoting, what about using Remote Desktop to drive VS on a machine local to your target (behind VPN for example)?
If you can set up a subversion server on the remote site you could use that to sync changes between locations. This would be really helpful in other areas as well such as allowing multiple people to mess with your code and to keep track of every change you make. It would also be the best in the area of performance.
If its a windows share, just set up the repository where it is right now then use:
svn checkout file:///project/trunk
Or if its over a web server you can set up SVN to be served though that as well.
There are plenty of free/not free plugins for VS that make working with SVN very easy.

Resources