views:

572

answers:

3

I get the an error when attempting to do the following commands in Subversion: update, commit, log, list, blame etc.
However, diff and info work.

The error is the following when using any desktop client, e.g. CollabNet, TortoiseSVN, Intellij, Visual Studio's AnkhSVN: "http://xxx01/comm/JavaService/trunk/: Could not resolve hostname `http://xxx01/comm': The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for."

This only occurs on my laptop (not colleagues) and only started occurring this week after administrators changed the password for the account Subversion uses to authenticate. The error does not occur when I'm using remote desktop to another machine or accessing subversion via the web.

Thanks in advance for any help in resolving this issue.

+1  A: 

It seems that you have a default domain in your desktop settings, compare the output of

nslookup xxx01 from your desktop and laptop. You could also use a fully qualified name like xxx01.acme.com in your SVN URL.

stacker
snv info shows the correct repository root url: http://xxx01/commnslookup xxx01 displays the same info on both laptop and remote desktop and resolves to the correct alias xxx01.acme.com. Also, using the fully qualified name or the ip address in the url does not affect the outcome.
David
@David Since you're using http (Port 80) and I assume that you can surf the web. I have no better idea than disabling firewall. Sorry
stacker
A: 

From Windows Sockets Error Codes:

The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for, e.g. an MX record is returned but no A record - indicating the host itself exists, but is not directly reachable.

Sometimes after some changes to hostnames it requires several reboots (or a few hours waiting) until those changes fully are used (due to caching).

Or there might be a firewall/proxy/virus scanner interferring.

Stefan
A: 

I tried everything to resolve this issue. I did find some malware on my machine a corrupt file, but none of this resolve the issue. In the end, I recored the machine, reinstalled TortoiseSVN ... and voila! It fixed the problem ;-)

David