|
Re: ECF Filetransfer Proxy [message #479650 is a reply to message #479587] |
Tue, 11 August 2009 20:53 |
Scott Lewis Messages: 1038 Registered: July 2009 |
Senior Member |
|
|
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.HttpClientF ileSystemBrowser.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
|
|
|
|
Re: ECF Filetransfer Proxy [message #624954 is a reply to message #479587] |
Tue, 11 August 2009 20:53 |
Scott Lewis Messages: 1038 Registered: July 2009 |
Senior Member |
|
|
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.HttpClientF ileSystemBrowser.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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03364 seconds