Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: AW: [geclipse-dev] any experiences with accessing S3 from behindaproxy?

Hi Markus,

I don't think these problems are related to each other. Since Ashish's connections are normally working it is not a general problem with auth-http connections. The S3 problem is rather a problem of the apache http client library. This one is configured by either a properties file or by using the jets3t properties wrapper. For reference see http://jets3t.s3.amazonaws.com/toolkit/configuration.html. There are settings like httpclient.proxy-host and httpclient.proxy-port but nothing about authentication. Nevertheless I think these are http client properties and they may not be explained in all details at the S3 configuration pages. Maybe having a closer look at http://hc.apache.org/httpclient-3.x/authentication.html may help.

Cheers, Mathias


-----Ursprüngliche Nachricht-----
Von: geclipse-dev-bounces@xxxxxxxxxxx im Auftrag von Markus Knauer
Gesendet: Mo 10.03.2008 21:55
An: Developer mailing list
Betreff: Re: AW: [geclipse-dev] any experiences with accessing S3 from behindaproxy?
 
There are 'some' known issues here... and it is a platform problem.
E.g. see here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=196780

Markus


On Monday 10 March 2008, Stuempert, Mathias IWR wrote:
> Hi Ashish,
>
> Actually the S3 stuff was implemented behind a proxy, i.e. proxy.fzk.de. So
> to make a long story short it indeed works for me behind a proxy. The only
> difference of your and my proxy is that yours seem to need authentication,
> right?! So since mine doesn't I cannot say anything concerning this.
>
> Nevertheless the pieces of code concerning the proxy settings for S3 can be
> found in (now any subsequent information has to be handled with care since
> I am on my private computer and do not have any source codes available ;-)
> eu.geclipse.aws.internal.Activator. There should be a method that updates
> the http client seetings whenever the Eclipse proxy settings change. I did
> never see an option for proxy authentication in the http client settings so
> I did not add a hook for them. Maybe you want to further investigate here
> and add the missing parts. If you need any assistance just let me know ...
>
> Cheers, Mathias
>
>
> -----Ursprüngliche Nachricht-----
> Von: geclipse-dev-bounces@xxxxxxxxxxx im Auftrag von Ashish Thandavan
> Gesendet: Mo 10.03.2008 16:46
> An: Developer mailing list
> Betreff: [geclipse-dev] any experiences with accessing S3 from behind
> aproxy?
>
> Hi folks,
>
> Do any of you have any experiences (+ve or otherwise) of accessing
> Amazon S3 services from g-Eclipse from behind a web proxy?
>
> I have my standard http settings in Eclipse which work (which enable me
> to do stuff like download CA certificates from EU Grid PMA and other
> http related stuff) - see attached screengrab 'Picture1'.
>
> When I try to setup a Grid connection to S3, I run into problems (see
> attached screengrab 'Picture2').
>
> This happens on both EPP packages from this morning and the version in
> HEAD. My shell shows me the following messages:
>
> ---------
> Mar 10, 2008 3:42:55 PM org.apache.commons.httpclient.HttpMethodDirector
> processProxyAuthChallenge
> INFO: No credentials available for BASIC 'University of Reading
> wwwcache'@wwwcache.rdg.ac.uk:8080
> Mar 10, 2008 3:42:55 PM
> org.jets3t.service.impl.rest.httpclient.RestS3Service performRequest
> WARNING: Response '/0C6V454S3ZAF1MC3A202/' - Unexpected response code
> 407, expected 200
> ---------
>
> Does the httpclient take the proxy info from the Eclipse Preferences or
> does it expect to find it elsewhere?
>
> Any suggestions?
>
> Regards,

_______________________________________________
geclipse-dev mailing list
geclipse-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/geclipse-dev



Back to the top