@Udara: Can you please verify this? Thanks
On Thu, May 14, 2015 at 7:54 PM, Mariangela Hills <[email protected]> wrote: > Hi Devs, > > I get the error in [1] when adding properties to a cluster in an > application. I used the sample that Udara gave me previously. > > > > [1] > MariH:Master-branch Admin16$ curl -X POST -H "Content-Type: > application/json" -d @'property2.json' -H "Authorization: Bearer > eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjEzODQ3MTUxNjksInN1YiI6ImFkbWluIiwiYXpwIjoiVjZIN0ZHR2ZsMHdybG13eWlzOGZNVWQ2ZFB3YSIsImFwcElkIjoid29yZHByZXNzIiwiYXVkIjpbIlY2SDdGR0dmbDB3cmxtd3lpczhmTVVkNmRQd2EiXSwiaXNzIjoiaHR0cHM6XC9cL2xvY2FsaG9zdDo5NDQzXC9vYXV0aDJlbmRwb2ludHNcL3Rva2VuIiwiaWF0IjoxMzg0NzE2MTcxfQ.TQh5899cQuLGBRaTFrLsm4e2sBYMnEr18yZx902gVNCT6rry0RzGSmfUUSrYvKU2ZbNQknuGHzKxOARMa1H9DIUm12cXMPQwVweNlts5X6cMmLVuXuEpZ8lHruna1wjxh4FQaVqwHJKRytheO0IHcr2TK--9XMuOwona8_fyWfs" > -k -v > https://localhost:9443/metadata/api/application/wordpress/cluster/wordpress.my-php.php.domain/properties > * About to connect() to localhost port 9443 (#0) > * Trying ::1... > * connected > * Connected to localhost (::1) port 9443 (#0) > * SSLv3, TLS handshake, Client hello (1): > * SSLv3, TLS handshake, Server hello (2): > * SSLv3, TLS handshake, CERT (11): > * SSLv3, TLS handshake, Server key exchange (12): > * SSLv3, TLS handshake, Server finished (14): > * SSLv3, TLS handshake, Client key exchange (16): > * SSLv3, TLS change cipher, Client hello (1): > * SSLv3, TLS handshake, Finished (20): > * SSLv3, TLS change cipher, Client hello (1): > * SSLv3, TLS handshake, Finished (20): > * SSL connection using DHE-RSA-AES256-SHA > * Server certificate: > * subject: C=US; ST=CA; L=Mountain View; O=WSO2; CN=localhost > * start date: 2010-02-19 07:02:26 GMT > * expire date: 2035-02-13 07:02:26 GMT > * common name: localhost (matched) > * issuer: C=US; ST=CA; L=Mountain View; O=WSO2; CN=localhost > * SSL certificate verify result: unable to get local issuer certificate > (20), continuing anyway. > > POST > /metadata/api/application/wordpress/cluster/wordpress.my-php.php.domain/properties > HTTP/1.1 > > User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 > OpenSSL/0.9.8| zlib/1.2.5 > > Host: localhost:9443 > > Accept: */* > > Content-Type: application/json > > Authorization: Bearer > > > eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjEzODQ3MTUxNjksInN1YiI6ImFkbWluIiwiYXpwIjoiVjZIN0ZHR2ZsMHdybG13eWlzOGZNVWQ2ZFB3YSIsImFwcElkIjoid29yZHByZXNzIiwiYXVkIjpbIlY2SDdGR0dmbDB3cmxtd3lpczhmTVVkNmRQd2EiXSwiaXNzIjoiaHR0cHM6XC9cL2xvY2FsaG9zdDo5NDQzXC9vYXV0aDJlbmRwb2ludHNcL3Rva2VuIiwiaWF0IjoxMzg0NzE2MTcxfQ.TQh5899cQuLGBRaTFrLsm4e2sBYMnEr18yZx902gVNCT6rry0RzGSmfUUSrYvKU2ZbNQknuGHzKxOARMa1H9DIUm12cXMPQwVweNlts5X6cMmLVuXuEpZ8lHruna1wjxh4FQaVqwHJKRytheO0IHcr2TK--9XMuOwona8_fyWfs > > Content-Length: 287 > > > * upload completely sent off: 287 out of 287 bytes > < HTTP/1.1 400 Bad Request > < Date: Thu, 14 May 2015 13:58:49 GMT > < Content-Type: application/json > < Content-Length: 92 > < Connection: close > < Server: WSO2 Carbon Server > < > * Closing connection #0 > * SSLv3, TLS alert, Client hello (1): > {"Error":{ "errorCode": " 400", "errorMessage": " Error occurred while > adding properties "}}MariH:Master-branch Admin16$ > > > Regards, > Mariangela > > > > > *--* > *Mariangela Hills* > PMC Member & Committer of Apache Stratos > Senior Technical Writer > WSO2, Inc. > lean.enterprise.middleware. > m: +94 773 500185 > w: http://wso2.com > <http://wso2.com/events/> > -- Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos
