TSVN DNS error: The requested name is valid, but no data of the requested type was found

限于喜欢 提交于 2020-01-14 10:32:58

问题


I've updated my TortoiseSVN client and now I'm getting the error when trying to update or commit to different repositories:

The requested name is valid, but no data of the requested type was found

Any ideas on how I can solve this? Internet Explorer shows up appropriate URL just fine.

TortoiseSVN 1.5.3, Build 13783.


回答1:


I was struggling to resolve this problom..atlast i found a solution...

in the URL provided, give IP Address instead of ServerName

eg: 'http://xxx.xxx.x.x:8080/svn/RepositoryName'

i got the problom fixed by doing this...

hope this piece of information will help




回答2:


This error being reported is a winsock one, rather than being particular to TSVN. 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.

It is strange that you can access the host via IE however. Is it possible that in TSVN you've specified a port number that isn't available on the remote host, and IE is accessing the host on port 80?




回答3:


Did you change the connection protocol (eg. from svn to http or from http to https)? Or did any firewall configuration between your PC and the SVN server change? SVN over HTTP uses DAV verbs to perform actions, so it might be that these are blocked in a firewall.




回答4:


I realise this is an old thread but I've just experienced the same problem and found a solution so no harm in sharing.

The solution for me involved setting the appropriate proxy settings within TortoiseSVN | Settings | Network (which were already setup in my browser, hence being able to view the repository fine there). So if you are behind a proxy server, make sure you setup TortoiseSVN appropriately.




回答5:


Guys, thanks for your answers. Everything was fixed by yet another reboot (2 reboots after TSVN update).

Still I can't explain what happened. :)




回答6:


I got this error when trying to run both TeamCity and Visual SVN Server on the same virtual pc. Turning of the TeamCity services solved the problem for me. It is possible that the two web servers was having a little struggle with each other.




回答7:


I have tried all solutions, but the mixture of them worked.

  1. Erase all valid lines under C:\Users\%USERNAME%\AppData\Subversion\servers
  2. Erase all valid lines under C:\ProgramData\Subversion\servers
  3. Open TortoiseSvn -> network then uncheck "enable proxy server"

worked for me. Good luck :)




回答8:


I had a static IP resulting in no DNS server. Set your IP to DHCP and it will help.



来源:https://stackoverflow.com/questions/171805/tsvn-dns-error-the-requested-name-is-valid-but-no-data-of-the-requested-type-w

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!