Anuruddha: I did not see this problem in the latest codebase, are you
getting this error continuously? Can you please verify whether you are
making the API call once the server is completely started?

Thanks

On Mon, Mar 9, 2015 at 12:44 PM, Anuruddha Liyanarachchi <
anurudd...@wso2.com> wrote:

> Hi Sajith,
>
> PFA the carbon log.
>
> On Mon, Mar 9, 2015 at 12:40 PM, Sajith Kariyawasam <saj...@wso2.com>
> wrote:
>
>> You should be able to get more information from the backend logs. Could
>> you please attach wso2carbon.log log file found in repository/logs location?
>>
>> On Mon, Mar 9, 2015 at 12:28 PM, Anuruddha Liyanarachchi <
>> anurudd...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I am getting following error when trying to do $subject.
>>>
>>> sudo ./deploy.sh
>>>>
>>>> /Users/anuruddha/GitRepo/stratos/samples/autoscaling-policies/autoscaling-policy-1.json
>>>> Adding autoscale policy...
>>>> * Hostname was NOT found in DNS cache
>>>> *   Trying ::1...
>>>> * Connected to localhost (::1) port 9443 (#0)
>>>> * TLS 1.0 connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA
>>>> * Server certificate: localhost
>>>> * Server auth using Basic with user 'admin'
>>>> > POST /api/autoscalingPolicies HTTP/1.1
>>>> > Authorization: Basic YWRtaW46YWRtaW4=
>>>> > User-Agent: curl/7.37.1
>>>> > Host: localhost:9443
>>>> > Accept: */*
>>>> > Content-Type: application/json
>>>> > Content-Length: 208
>>>> >
>>>> * upload completely sent off: 208 out of 208 bytes
>>>> < HTTP/1.1 400 Bad Request
>>>> < Date: Mon, 09 Mar 2015 06:48:38 GMT
>>>> < Content-Type: application/json
>>>> < Transfer-Encoding: chunked
>>>> < Connection: close
>>>> * Server WSO2 Carbon Server is not blacklisted
>>>> < Server: WSO2 Carbon Server
>>>> <
>>>> * Closing connection 0
>>>> {"errorCode":400,"errorMessage":"Address information does not exist in
>>>> the Endpoint Reference (EPR).The system cannot infer the transport
>>>> mechanism."}Adding network partitions...
>>>
>>>
>>> What am I missing ?
>>>
>>>
>>>
>>>
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel      : +94 112 145 345
>>> a <thili...@wso2.com>nurudd...@wso2.com
>>>
>>
>>
>
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel      : +94 112 145 345
> a <thili...@wso2.com>nurudd...@wso2.com
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to