Hi Bhupendra,

There is not enough information here to move forward with analysis. Can you 
please post the entire stack trace to paste [1] with the link so we can get 
more information to assist you? Thanks!

/jd

[1] http://pastie.org/

From: Bhupendra Singh 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, June 24, 2014 at 7:20 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, Jeremy 
<[email protected]<mailto:[email protected]>>
Subject: RE: How to set proxy

Hi ,

Can any one tell which port it is using to hp object storage server :

2014-06-24 10:12:38,675 ERROR 
com.ge.cloudstore.service.transfer.provider.hp.HPStorageProvider:407 :1: Error 
while getting HP Connection
org.jclouds.http.HttpResponseException: region-a.geo-1.objects.hpcloudsvc.com 
connecting to HEAD 
https://region-a.geo-1.objects.hpcloudsvc.com/v1/10745149279234/amp 
HTTP/1.1<https://region-a.geo-1.objects.hpcloudsvc.com/v1/10745149279234/amp%20HTTP/1.1>

443 or 35357

How to know which port it is using to connect : 
region-a.geo-1.objects.hpcloudsvc.com .

-Bhupendra


{SDG-Confidential}
From: Jeremy Daggett [mailto:[email protected]]
Sent: Tuesday, June 24, 2014 7:29 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: How to set proxy

Hi Bhupendra,

All you need to do is set the proxy host and port for the JVM as described here:
http://stackoverflow.com/questions/120797/how-do-i-set-the-proxy-to-be-used-by-the-jvm

Hope that helps!

/jd


From: Bhupendra Singh 
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, June 24, 2014 at 5:53 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: How to set proxy

Hi ,

I am trying to access hp cloud object storage using jcloud api . I am writing 
following code to get context

BlobStoreContext context = 
ContextBuilder.newBuilder("hpcloud-objectstorage").credentials(identity, 
credential).buildView(BlobStoreContext.class);

But server where I am running this code has network restriction that’s why It 
cannot access hp cloud server and It is throwing unknown host exception.

ERROR com.ge.cloudstore.service.transfer.provider.hp.HPStorageProvider:71 :1: 
Error while account in HP ..org.jclouds.http.HttpResponseException: 
region-a.geo-1.identity.hpcloudsvc.com connecting to POST 
https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens 
HTTP/1.1<https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens%20HTTP/1.1>

I want to set a proxy setting so that when my application try to connect with 
hp object storage server It uses those proxy setting .
Can I know how I can do this with code with jcloud api  ?

Thanks & Regards,
Bhupendra Pratap Singh
Sr. Software Engineer
Mobile: +91 9971279010


{SDG-Confidential}

________________________________
SDG Software India Pvt. Ltd.
A-10/11, Sector 2, NOIDA 201301, (UP), India
Website: www.sdgc.com<http://www.sdgc.com>

"Please Note: The e-mail content is intended for the sole use of the intended 
recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY 
INFORMATION. Any review or reliance by others or copying or distribution or 
forwarding of any or all of the contents in this message is STRICTLY 
PROHIBITED. If you have erroneously received this message, please delete it 
immediately and notify the sender. Before opening any attachments please check 
them for viruses and defects."

Reply via email to