Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » ECF Filetransfer Proxy
ECF Filetransfer Proxy [message #479587] Tue, 11 August 2009 15:57 Go to next message
Christian Schaefer is currently offline Christian SchaeferFriend
Messages: 12
Registered: July 2009
Junior Member
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.

1. Is there any documentation about proxy konfiguration and ECF ?
2. where can we find the possible configuration options for ECF ?

thanks!
Re: ECF Filetransfer Proxy [message #479650 is a reply to message #479587] Tue, 11 August 2009 20:53 Go to previous messageGo to next message
Scott Lewis is currently offline Scott LewisFriend
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 #479912 is a reply to message #479650] Thu, 13 August 2009 04:42 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi Christian,

Scott Lewis wrote:
<stuff deleted>
> 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.

One thing I forgot to add. As described above, ECF does use the
platform proxy API to get proxy configuration. However, this can be
overridden by using the
IRetrieveFileTransferContainerAdapter.setProxy(org.eclipse.e cf.util.Proxy)

method. If this (manual/programmatic) configuration is used it
overrides the use of the Eclipse platform proxy API-specified configuration.

Scott
Re: ECF Filetransfer Proxy [message #624954 is a reply to message #479587] Tue, 11 August 2009 20:53 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
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 #624955 is a reply to message #479650] Thu, 13 August 2009 04:42 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi Christian,

Scott Lewis wrote:
<stuff deleted>
> 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.

One thing I forgot to add. As described above, ECF does use the
platform proxy API to get proxy configuration. However, this can be
overridden by using the
IRetrieveFileTransferContainerAdapter.setProxy(org.eclipse.e cf.util.Proxy)

method. If this (manual/programmatic) configuration is used it
overrides the use of the Eclipse platform proxy API-specified configuration.

Scott
Previous Topic:ECF Filetransfer Proxy
Next Topic:access p2 via ftp repository
Goto Forum:
  


Current Time: Sat Apr 27 05:23:31 GMT 2024

Powered by FUDForum. Page generated in 0.03364 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top