Help! I'm trying to set a key/value into ACS Cloud but I'm getting 500-Internal-Errors:
{ "meta": { "status":"fail", "code":500, "message":"Internal server error. The Appcelerator Cloud Services Team has just been notified of this problem." }I'm using this command:
curl --trace-ascii - -b cookies.txt -c cookies.txt -X PUT -F "access_private=true" -F "user_id=5333fd44891fdf0b7315408b" -F "name=name4thisentry2" -F "type=binary" -F "value=<test.bin" https://api.cloud.appcelerator.com/v1/keyvalues/set.json?key=*******Here is the trace (I have cut it in the middle to fit it here):
== Info: About to connect() to api.cloud.appcelerator.com port 443 (#0) == Info: Trying 54.215.14.157... == Info: Connected to api.cloud.appcelerator.com (54.215.14.157) port 443 (#0) == Info: Initializing NSS with certpath: sql:/etc/pki/nssdb == Info: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none == Info: SSL connection using TLS_DHE_RSA_WITH_AES_128_CBC_SHA == Info: Server certificate: == Info: subject: CN=*.cloud.appcelerator.com,OU=Domain Control Validated == Info: start date: Abr 10 03:59:03 2014 GMT == Info: expire date: Mar 10 20:50:06 2016 GMT == Info: common name: *.cloud.appcelerator.com == Info: issuer: CN=Go Daddy Secure Certificate Authority - G2,OU=http://certs.godaddy.com/repository/,O="GoDaddy.com, Inc.",L=Scottsdale,ST=Arizona,C=US => Send header, 328 bytes (0x148) 0000: PUT /v1/keyvalues/set.json?key=A4pTGcJ1aZBauPqjjnE6NSgAthckQvb7 0040: HTTP/1.1 004a: User-Agent: curl/7.29.0 0063: Host: api.cloud.appcelerator.com 0085: Accept: */* 0092: Cookie: _session_id=cBdbhYudPcHgaJE5jc4Q6CMTRrs 00c3: Content-Length: 10884 00da: Expect: 100-continue 00f0: Content-Type: multipart/form-data; boundary=-------------------- 0130: --------189a22fbd9ce 0146: <= Recv header, 23 bytes (0x17) 0000: HTTP/1.1 100 Continue => Send data, 526 bytes (0x20e) 0000: ------------------------------189a22fbd9ce 002c: Content-Disposition: form-data; name="access_private" 0063: 0065: true 006b: ------------------------------189a22fbd9ce 0097: Content-Disposition: form-data; name="user_id" 00c7: 00c9: 5333fd44891fdf0b7315408b 00e3: ------------------------------189a22fbd9ce 010f: Content-Disposition: form-data; name="name" 013c: 013e: name4thisentry2 014f: ------------------------------189a22fbd9ce 017b: Content-Disposition: form-data; name="type" 01a8: 01aa: binary 01b2: ------------------------------189a22fbd9ce 01de: Content-Disposition: form-data; name="value" 020c: => Send data, 10310 bytes (0x2846) 0000: ELF..............>.......@.....@...................@.8...@.!. . 0040: ........@.......@.@.....@.@..................................... 0080: 8.......8.@.....8.@............................................. 00c0: ..@.......@.....Xj......Xj........ .............(m......(m`..... [..] 26c0: ....D$8..D$ .....$....H..$....H.D$`H..$....H.D$pL9....I......... 2700: ........M............|$ .......J.D..I9.......M.,(H.t$hL...L$PL.D 2740: $HL..L.L$@.......L.L$@L.D$H.L$P.......|$3...0...A.....f......... 2780: E..e.A..~......H...(..A...Hc..H......D...D$4.................... 27c0: $...........H.E.I9.......A.|(.?uA..4..N....wr.....H.....Q.8tb.| 2800: $3.......L9.s.H.|$(...?H.S.I9.v.H.|$(.D.."H.S.I9.v.H.|$(.D.."H.S 2840: .I9.v. => Send data, 48 bytes (0x30) 0000: 0002: ------------------------------189a22fbd9ce-- <= Recv header, 36 bytes (0x24) 0000: HTTP/1.1 500 Internal Server Error <= Recv header, 21 bytes (0x15) 0000: Server: nginx/1.2.9 <= Recv header, 37 bytes (0x25) 0000: Date: Sun, 01 Jun 2014 05:00:55 GMT <= Recv header, 47 bytes (0x2f) 0000: Content-Type: application/json; charset=utf-8 <= Recv header, 28 bytes (0x1c) 0000: Transfer-Encoding: chunked <= Recv header, 24 bytes (0x18) 0000: Connection: keep-alive <= Recv header, 13 bytes (0xd) 0000: Status: 500 <= Recv header, 60 bytes (0x3c) 0000: X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.9 <= Recv header, 63 bytes (0x3f) 0000: Access-Control-Allow-Methods: POST, GET, PUT, DELETE, OPTIONS <= Recv header, 78 bytes (0x4e) 0000: Access-Control-Allow-Headers: x-requested-with, Authorization, X 0040: -Titanium-Id <= Recv header, 40 bytes (0x28) 0000: Access-Control-Allow-Credentials: true <= Recv header, 25 bytes (0x19) 0000: Cache-Control: no-cache <= Recv header, 35 bytes (0x23) 0000: X-UA-Compatible: IE=Edge,chrome=1 <= Recv header, 21 bytes (0x15) 0000: X-Runtime: 0.704559 == Info: HTTP error before end of send, stop sending <= Recv header, 2 bytes (0x2) 0000: <= Recv data, 178 bytes (0xb2) 0000: ac 0004: {. "meta": {. "status":"fail",. "code":500,. "message" 0044: :"Internal server error. The Appcelerator Cloud Services Team ha 0084: s just been notified of this problem.". }.} { "meta": { "status":"fail", "code":500, "message":"Internal server error. The Appcelerator Cloud Services Team has just been notified of this problem." } }<= Recv data, 5 bytes (0x5) 0000: 0 0003: == Info: Closing connection 0