[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.ecf] Re: ECF Filetransfer Proxy

Hi Christian,

Christian Schaefer wrote:
We are using Equinox P2 to update our RCP Application programatically from a remote repository via HTTP.

Now that we have P2 up and running, we do not find any documentation on how we can configure proxy support for ECF etc.
within our environment some workstations work correctly with P2 on some of them we get
Caused by: org.eclipse.ecf.filetransfer.BrowseFileTransferException: Proxy Authentication Required at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:202)



now we got this switch as a tip
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient



it works somehow but we don't know why.

I'm assuming that you must have an NTLMv2 network/proxy. If so, then this page explains why excluding the httpclient provider works:


http://wiki.eclipse.org/ECF_Filetransfer_Support_for_NTLMv2_Proxies



1. Is there any documentation about proxy konfiguration and ECF ?


Not specifically...and that's because ECF uses the Eclipse platform proxy API to detect/use proxy configuration information. So I think that all you would have to do to configure proxies differently is to also use the proxy API (or just use the Eclipse preferences UI under General->Network Connections...which uses the Eclipse platform proxy API underneath).

Note that the current version (Eclipse 3.5) proxy API does *not* support transparent detection/configuration of NTLMv2 proxies. This is something we/ECF are working on with Pawel of the platform team in bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=252002 (see comments 60, 61, and comment 64).

> 2. where can we find the possible configuration options for ECF ?

As outlined above, ECF uses the platform proxy API to get proxy configuration. So if you want to setup the proxy info for your app, and have ECF filetransfer use it, you can either use the proxy API programmatically (and have your own user interface), or even use the Eclipse preferences User interface.

Please let know if you would like more info, obviously with bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=252002 and the need to workaround httpclient and NTLMv2 issues much of this is in flux right now.

Scott