[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: AW: problem with svnant using https

From: Alexander Kitaev <alex_at_tmate.org>
Date: 2005-11-07 19:44:33 CET


JavaSVN uses "servers" file to get proxy parameters (host, port, username
and password). There is no support for interactive prompt for proxy
authentication in JavaSVN as well as in JavaHL, only credentials defined in
the "servers" file are used.

It is possible that there is a bug in JavaSVN related to "https" proxies. I
would recommend you to use jdk 1.5 and "unlimited strenght" JCE - this
solves most of the https-related problems. If problem will persist it will
help if one will send an "isolated" test case - i.e. "servers" file contents
and exact exception stack trace.


Alexander Kitaev,
TMate Software,

> -----Original Message-----
> From: Aaron Digulla [mailto:digulla@hepe.com]
> Sent: Monday, November 07, 2005 19:30
> To: users@subclipse.tigris.org
> Subject: Re: AW: problem with svnant using https
> Heinzelmann, Tobias wrote:
> >> Let me guess: You need a username and password for your proxy?
> > Hmmm... no, the proxy is without authentication...
> Interesting. Well, when you google for the exact error
> message, you'll get the java source which prints the message
> (org.tmatesoft.svn.core.internal.io.dav.HttpConnection).
> In there, it tries to connect to the proxy and prints the
> message if something fails. I wonder why the errorText is
> null, though. Maybe the proxy returns a warning instead of 200?
> >> I have the same problem. Does Subclipse use the proxy settings from
> > Eclipse? If so, you should also copy the code which pops up the
> >> password requester if the proxy needs that.
> > I'm not sure if I unterstand you correctly, you mean,
> adding the login
> > params as properties?
> ISVNProxyManager is resonsible to return a username and a password.
> In Eclipse, when you do an update over a proxy which requests
> a username and password, a dialog window will come up (once)
> and ask you.
> My guess is that this is missing in the JavaSVN code.
> But from what you say, we probably have two different
> problems here; they are just in the same place in the code.
> --
> Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the
> universe that's limited, it's our imagination.
> Follow me and I'll show you something beyond the limits."
> http://www.philmann-dark.de/
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Nov 8 05:44:33 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.