user1249065
user1249065

Reputation: 185

SVN client checkout errors

I have a situation where I can checkout a repo through tortoise or Eclipse and a browser, but for the life of me cannot do it directly from the cygwin/ Linux command lines. These are the errors :

svn: E175002: Unable to connect to a repository at URL 'https://BLAH/project/trunk'
svn: E175002: OPTIONS of 'https://BLAH/project/trunk': could not connect to server (https://BLAH)

The command I use is :

svn checkout --username MYUN --password MYPASS https://BLAH/project/trunk

I have set the proxy too. Any ideas would be appreciated.

Regards

Upvotes: 2

Views: 4286

Answers (1)

Bram
Bram

Reputation: 825

Try setting the proxy in ~/.subversion/servers.

On my corporate laptop behind a proxy that requires NTLM authentication I have to run the ntlmaps proxy and set:

    Suppose you define them globally, add this at the end of the file:

    http-proxy-host = localhost
    http-proxy-port = 5865

I've configured the ntlmaps daemon to prompt me for my password but you could also add it to ~/.subversion/servers.

    http-proxy-username = your account
    http-proxy-password = your password 

You can get ntlmaps from from http://ntlmaps.sourceforge.net/, extract it locally then edit ntlmaps-0.9.9\server.cfg

PARENT_PROXY:<server FQDN>
PARENT_PROXY_PORT:<proxy port>
NT_DOMAIN:<NT DOMAIN>
USER:<USERNAME>
PASSWORD:

Hope this helps.

Upvotes: 3

Related Questions