svn proxy settings

Proxy setup in svn always a headache when you work behind a firewall.
Following is the common proxy error we get when we try for any svn command.

svn: PROPFIND request failed on '/svn/glassfish-svn/trunk/v3/web/appserv-webtier'
svn: PROPFIND of '/svn/glassfish-svn/trunk/v3/web/appserv-webtier': Could not resolve hostname
`svn.dev.java.net': No address associated with hostname (https://svn.dev.java.net)

To avoid this, following the setup needed.
In ~/.subversion/servers file, add the following lines. Also, you need to add username/passwd based on your proxy setup.
http-proxy-host = xxx.xxx.xxx.com
http-proxy-port = 8080

Leave a Reply

Your email address will not be published. Required fields are marked *