jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirmal Fernando <nir...@wso2.com>
Subject Re: INTERNAL_SERVER_ERROR on getting versions of a vcloud server
Date Wed, 01 Jan 2014 14:31:22 GMT
I was wrong in saying 'connection.setRequestProperty doesn't work'. I've
got the httpURLConnection client to work by adding;

con.setRequestProperty("Accept", "*/*");


On Wed, Jan 1, 2014 at 7:36 PM, Nirmal Fernando <nirmal@wso2.com> wrote:

> And latest finding... I've wrote a simple client using Standard
> HttpURLConnection (which is used by jclouds) and notice the same issue (500
> - internal server error). And then I tried the same request using Apache
> http client, and it had no issue on retrieving the supported versions.
>
>
> On Wed, Jan 1, 2014 at 7:16 PM, Nirmal Fernando <nirmal@wso2.com> wrote:
>
>> Hi All,
>>
>> I've still no luck with the original issue :( While debugging I've found
>> that JavaUrlHttpCommandExecutorService.convert's
>> connection.setRequestProperty(HOST, host); doesn't seem to set Host header
>> correctly. Any help is highly appreciated.
>>
>>
>> On Mon, Dec 30, 2013 at 11:04 PM, Nirmal Fernando <nirmal@wso2.com>wrote:
>>
>>> https://github.com/jclouds/jclouds-site/pull/46
>>>
>>>
>>> On Mon, Dec 30, 2013 at 11:01 PM, Nirmal Fernando <nirmal@wso2.com>wrote:
>>>
>>>> Oh.. ok :)
>>>>
>>>>
>>>> On Mon, Dec 30, 2013 at 10:58 PM, Andrew Phillips <andrewp@apache.org>wrote:
>>>>
>>>>> https://github.com/jclouds/legacy-jclouds.github.com/pull/151
>>>>>>
>>>>>
>>>>> Thanks! That's the old repo, though ;-) Could you resubmit against:
>>>>>
>>>>> https://github.com/jclouds/jclouds-site
>>>>>
>>>>> ap
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Thanks & regards,
>>>> Nirmal
>>>>
>>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>>> Mobile: +94715779733
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>


-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/

Mime
View raw message