Could not connect to SVN Repository. Could not resolve hostname

廉价感情. 提交于 2019-12-11 07:44:41

问题


I try connect to SVN Repository and get SvnRepositoryIOException: Could not resolve hostname: The requested name is valid, but no data of the requested type was found. The same error when I try commit or update project or using TortoiseSVN. We use kerio, but I think it's something else, because another computer with similar settings can connect successful. I tried everything. I am thinking reset my operating system already. Do you have any ideas?


回答1:


If both SVN clients give the same result then it suggests the problem is somewhere else.

Some things to try:

  • Can you ping the host? If so, what happens if you connect with a Web browser - can you browse any HTTP version of the Subversion repository that might be available?
  • If you can't resolve the host, does the other host have a VPN, or some fancy settings in the hosts file to tell the PC about the repository?
  • Are your authentication settings correct?



回答2:


Solution: It was DNS problem. My computer couldn't find DNS of repository server. I add another DNS in LAN connection settings and it works! Thank you for your help!




回答3:


Check to see if you are operating from behind a proxy. If you are you can set these details in the Tortoise settings panel.

Have you tried connecting to another SVN server to test your tortoise?




回答4:


I have had problems with this if IPv6 is enabled and used over a wireless router that does not support the IPv6 protocol well. Try disabling in your network properties temporarily to see if that fixes it.



来源:https://stackoverflow.com/questions/7500218/could-not-connect-to-svn-repository-could-not-resolve-hostname

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