[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Unable to connect with TSVN, locally or remotely, can connect with a web browser

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Tue, 6 Sep 2011 10:14:13 +0200

On Monday 05 September 2011, you wrote:
> I have local TSVN and Visual SVN Server installs that have been running
> fine for multiple years, running 1.6-something for a while. Hadn't done
> anything with them for some time, went to commit some changes yesterday,
> and Tortoise said "Unable to connect to repository at URL [..] Otions of
> [...] could not connect to server at [...]". No authentication prompt,
> just that msg.

First thing to make sure is to check whether it is TSVN only or also the
vanilla SVN commandline. Could you verify that?

> I do see overlay icons in windows explorer for my repository files and
> folders, so that much is working. (Don't think it needs to talk to the
> repository for that.)

Right, this only uses the locally stored metadata and requires no
communication with any server.

> Connecting to my local subversion server with firefox prompted me for
> login, as it should, then worked fine. Tried connecting to
> http://svn.apache.org/repos/asf/spamassassin/trunk/, just to hit something
> besides my own server, again fine in firefox (no login prompt), same
> failure in TSVN.

For HTTP, there are two things that could go wrong:
1. A mandatory proxy
If Firefox uses a company-wide, mandatory proxy but SVN doesn't, that would
explain why you can't connect to the outside world with SVN. Try to check the
Firefox network settings if it is configured to use a proxy.

2. A proxy
Web browsers only use some HTTP requests, SVN uses a few more. If the proxy
isn't configured to let these through, you will have problems. However, in
such cases you usually get connected but the operations fail, while in your
case you don't even seem to be able to make a connection. Note that if you are
using HTTPS, I think the proxy couldn't even snoop on your connection so that
would be another thing to try.

> Tried using localhost and urls instead of my machine name,
> username_at_repository_url, and explicitly specifiying :443 in the url,
> none of which I'd ever done before, no change, as expected, since the
> anonymous remote url didn't work either.

Hmmm, port 443 is HTTPS, if I remember correctly. Also, where and how (Apache
or svnserve) are you serving a repository locally? Lastly, if you create a
repository locally and access it using "file://" URLs, does that work? Another
thing to try is to just use telnet to connect to the according server and
port, if that fails to establish a connection, you have a pure networking
problem, probably caused by the [lack of] proxy settings.

> Tried upgrading to the latest versions of TSVN and VisualSVN, which are
> both up to 1.7 at this point, same results with local and remote servers.

Wait: You are aware that 1.7 has not been released yet, right? What you have
therefore is either a time machine or a pre-release version.

Good luck!


ML: http://tortoisesvn.tigris.org/list_etiquette.html
FAQ: http://tortoisesvn.net/faq
Domino Laser GmbH, Fangdieckstra�e 75a, 22547 Hamburg, Deutschland
Gesch�ftsf�hrer: Thorsten F�cking, Amtsgericht Hamburg HR B62 932
Visit our website at http://www.dominolaser.com
Diese E-Mail einschlie�lich s�mtlicher Anh�nge ist nur f�r den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empf�nger sein sollten. Die E-Mail ist in diesem Fall zu l�schen und darf weder gelesen, weitergeleitet, ver�ffentlicht oder anderweitig benutzt werden.
E-Mails k�nnen durch Dritte gelesen werden und Viren sowie nichtautorisierte �nderungen enthalten. Domino Laser GmbH ist f�r diese Folgen nicht verantwortlich.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-09-06 10:02:30 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.