Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Issues with native proxy settings
Issues with native proxy settings [message #1265053] Wed, 05 March 2014 18:11 Go to next message
Marcel Bruch is currently offline Marcel BruchFriend
Messages: 255
Registered: July 2009
Senior Member

Hi,

I've a problem with proxy settings in Eclipse and I hope that the P2 guys may be able to help me hunting down this weird issue. If so, I own all of you a beer at EclipseCon Wink


My problem looks as follows:
I have a client on Win8 who has enabled the Native proxy provider. The Eclipse settings include entries for HTTP, HTTPS, FTP, and GOPHER. Eclipse' update dialogs work with this setting quite fine.

We (at code recommenders) use Aether to download models from an eclipse.org server via http. We fetch the proxy settings from Eclipse and configure aether to use the procy server URL. Username and password are blank when the native provider is used (they cannot be specified in Eclipse).

When we now try to contact the eclipse webserver, we get an HTTP error 407 with the following (aether) error message:

#Thu Feb 27 12:24:45 CET 2014
maven-metadata-models.xml.error=Could not transfer metadata
org.eclipse.recommenders\:index\:0.0.0-SNAPSHOT/maven-metadata.xml from/to
models (http\://download.eclipse.org/recommenders/models/luna-m3/)\: Error
transferring file, server returned status code 407
maven-metadata-models.xml/ser-web-rzm-1.dakosy.net\:3128>default-http
\://download.eclipse.org/recommenders/models/luna-m3/.lastUpdated=1393500285663


Does anyone of you have a clue what might go wrong here? If the native provider requires some passwords, how would they be stored? Why is the Eclipse update mechanism working but our aether client is not?

Any idea and help is greatly appreciated.

Thanks,
Marcel

Re: Issues with native proxy settings [message #1265186 is a reply to message #1265053] Wed, 05 March 2014 20:00 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 5922
Registered: July 2009
Senior Member
Hi Marcel,

Please have a look if your problem is the same as this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=428442

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Am 05.03.2014 19:11, schrieb Marcel Bruch:
> Hi,
>
> I've a problem with proxy settings in Eclipse and I hope that the P2 guys may be able to help me hunting down this
> weird issue. If so, I own all of you a beer at EclipseCon ;)
>
>
> My problem looks as follows:
> I have a client on Win8 who has enabled the Native proxy provider. The Eclipse settings include entries for HTTP,
> HTTPS, FTP, and GOPHER. Eclipse' update dialogs work with this setting quite fine.
>
> We (at code recommenders) use Aether to download models from an eclipse.org server via http. We fetch the proxy
> settings from Eclipse and configure aether to use the procy server URL. Username and password are blank when the
> native provider is used (they cannot be specified in Eclipse).
> When we now try to contact the eclipse webserver, we get an HTTP error 407 with the following (aether) error message:
>
> #Thu Feb 27 12:24:45 CET 2014
> maven-metadata-models.xml.error=Could not transfer metadata
> org.eclipse.recommenders\:index\:0.0.0-SNAPSHOT/maven-metadata.xml from/to
> models (http\://download.eclipse.org/recommenders/models/luna-m3/)\: Error
> transferring file, server returned status code 407
> maven-metadata-models.xml/ser-web-rzm-1.dakosy.net\:3128>default-http
> \://download.eclipse.org/recommenders/models/luna-m3/.lastUpdated=1393500285663
>
>
> Does anyone of you have a clue what might go wrong here? If the native provider requires some passwords, how would
> they be stored? Why is the Eclipse update mechanism working but our aether client is not?
>
> Any idea and help is greatly appreciated.
>
> Thanks,
> Marcel
>
>
Re: Issues with native proxy settings [message #1265465 is a reply to message #1265186] Thu, 06 March 2014 06:03 Go to previous message
Marcel Bruch is currently offline Marcel BruchFriend
Messages: 255
Registered: July 2009
Senior Member

Our connections are made with Aether which does not use ECF. It's based on Ning Async Httpclient 1.6.x or (later versions) Apache Httpclient 4.x. But this may be part of the problem. I currently assume that the proxy uses NTLM authentication. But to make Aether work, I've to provide a username and password. I assume that NTLM does not provide a way to fetch the username and password from it - so, I guess there is no way to make Aether work with NTLM except it offers some interaction with NTLM. Will discuss this with Aether. Thanks.
Previous Topic:Cannot update a feature of a product
Next Topic:p2 update mechanism problem
Goto Forum:
  


Current Time: Sat Sep 05 10:20:20 GMT 2015

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

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