Hi Andrew,

Thanks for the quick response.

On Mon, Dec 30, 2013 at 9:13 PM, Andrew Phillips <andr...@apache.org> wrote:

> [redirecting to user@ as others may be seeing this...]
>
>
>  I'm trying to connect to a vcloud server request for version fails with
>> 500
>> - internal server error [1]. Same request works fine with a rest client.
>>
>
> Do you have wire and header logs for this? Just trying to make sure we're
> really making the same request from other clients.


Here's the wire logs... [2] How to enable header logs? I have following
entries, but can't see header logs.

log4j.logger.jclouds.wire=debug
log4j.logger.jclouds.header=debug


[2]

2013-12-30 21:22:06,214 DEBUG wire [main]
<< "<?xml version="1.0" encoding="UTF-8"?>[\n]"
2013-12-30 21:22:06,215 DEBUG wire [main]
<< "<Error xmlns="http://www.vmware.com/vcloud/v1.5";
minorErrorCode="INTERNAL_SERVER_ERROR" message="Unable to perform this
action. Contact your cloud administrator." majorErrorCode="500" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://www.vmware.com/vcloud/v1.5
http://mycloud.stratogen.sg/api/v1.5/schema/master.xsd";></Error>[\n]"
2013-12-30 21:22:06,669 DEBUG wire [main]
<< "<?xml version="1.0" encoding="UTF-8"?>[\n]"
2013-12-30 21:22:06,670 DEBUG wire [main]
<< "<Error xmlns="http://www.vmware.com/vcloud/v1.5";
minorErrorCode="INTERNAL_SERVER_ERROR" message="Unable to perform this
action. Contact your cloud administrator." majorErrorCode="500" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://www.vmware.com/vcloud/v1.5
http://mycloud.stratogen.sg/api/v1.5/schema/master.xsd";></Error>[\n]"
2013-12-30 21:22:07,276 DEBUG wire [main]
<< "<?xml version="1.0" encoding="UTF-8"?>[\n]"
2013-12-30 21:22:07,276 DEBUG wire [main]
<< "<Error xmlns="http://www.vmware.com/vcloud/v1.5";
minorErrorCode="INTERNAL_SERVER_ERROR" message="Unable to perform this
action. Contact your cloud administrator." majorErrorCode="500" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://www.vmware.com/vcloud/v1.5
http://mycloud.stratogen.sg/api/v1.5/schema/master.xsd";></Error>[\n]"
2013-12-30 21:22:08,147 DEBUG wire [main]
<< "<?xml version="1.0" encoding="UTF-8"?>[\n]"
2013-12-30 21:22:08,148 DEBUG wire [main]
<< "<Error xmlns="http://www.vmware.com/vcloud/v1.5";
minorErrorCode="INTERNAL_SERVER_ERROR" message="Unable to perform this
action. Contact your cloud administrator." majorErrorCode="500" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://www.vmware.com/vcloud/v1.5
http://mycloud.stratogen.sg/api/v1.5/schema/master.xsd";></Error>[\n]"
2013-12-30 21:22:09,058 DEBUG wire [main]
<< "<?xml version="1.0" encoding="UTF-8"?>[\n]"
2013-12-30 21:22:09,058 DEBUG wire [main]
<< "<Error xmlns="http://www.vmware.com/vcloud/v1.5";
minorErrorCode="INTERNAL_SERVER_ERROR" message="Unable to perform this
action. Contact your cloud administrator." majorErrorCode="500" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://www.vmware.com/vcloud/v1.5
http://mycloud.stratogen.sg/api/v1.5/schema/master.xsd";></Error>[\n]"
2013-12-30 21:22:09,967 DEBUG wire [main]
<< "<?xml version="1.0" encoding="UTF-8"?>[\n]"
2013-12-30 21:22:09,968 DEBUG wire [main]
<< "<Error xmlns="http://www.vmware.com/vcloud/v1.5";
minorErrorCode="INTERNAL_SERVER_ERROR" message="Unable to perform this
action. Contact your cloud administrator." majorErrorCode="500" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://www.vmware.com/vcloud/v1.5
http://mycloud.stratogen.sg/api/v1.5/schema/master.xsd";></Error>[\n]"
2013-12-30 21:22:09,969 ERROR BackoffLimitedRetryHandler [main]
Cannot retry after server error, command has exceeded retry limit 5:
[method=public abstract com.google.common.util.concurrent.ListenableFuture
org.jclouds.vcloud.VCloudVersionsAsyncClient.getSupportedVersions()[],
request=GET https://mycloud.stratogen.sg/api/versions HTTP/1.1]


> And which version of jclouds are you using..?
>

1.6.2-incubating.

>
> Thanks
>
> ap
>
> Quoting Nirmal Fernando <nir...@wso2.com>:
>
>  I'm trying to connect to a vcloud server request for version fails with
>> 500
>> - internal server error [1]. Same request works fine with a rest client.
>>
>> What could go wrong? Some hints would be great.
>>
>> << "<Error xmlns="http://www.vmware.com/vcloud/v1.5";
>> minorErrorCode="INTERNAL_SERVER_ERROR" message="Unable to perform this
>> action. Contact your cloud administrator." majorErrorCode="500"
>> xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
>> http://www.vmware.com/vcloud/v1.5
>> http://mycloud.stratogen.sg/api/v1.5/schema/master.xsd";></Error>[\n]"
>>
>> 2013-12-30 20:38:10,652 ERROR BackoffLimitedRetryHandler [main]
>>
>> Cannot retry after server error, command has exceeded retry limit 5:
>> [method=public abstract com.google.common.util.
>> concurrent.ListenableFuture
>> org.jclouds.vcloud.VCloudVersionsAsyncClient.getSupportedVersions()[],
>> request=*GET https://mycloud.stratogen.sg/api/versions
>> <https://mycloud.stratogen.sg/api/versions>* HTTP/1.1]
>>
>>
>> --
>>
>> 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/

Reply via email to