Mezeo Ready Developer Center
May 17, 2012, 06:51:23 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
Author Topic: Help with Tags  (Read 275 times)
Mark Aldred
Newbie
*
Posts: 16


View Profile
« on: August 10, 2010, 09:57:21 AM »

I can create tags and see that the tags exist and apply tags to files.  But when I try to list the objects associated with this tag I get an Internal Server Error.   What am I doing wrong?

$ curl -u $cred -X GET -H 'X-Client-Specification: 2' https://pcsbeta.mezeo.net/v2/tags
<?xml version="1.0" encoding="UTF-8"?><tags xmlns:xlink="http://www.w3.org/1999/xlink" count="1" start="0" total="1"><tag xlink:href="https://pcsbeta.mezeo.net/v2/tags/Maldred_TestNewTag2" xlink:type="simple"/></tags>

$ curl -u $cred -H 'X-Client-Specification: 2' https://pcsbeta.mezeo.net/v2/tags/Maldred_TestNewTag2
<?xml version="1.0" encoding="UTF-8"?><tag xmlns:xlink="http://www.w3.org/1999/xlink"><name>Maldred_TestNewTag2</name><objects xlink:href="https://pcsbeta.mezeo.net/v2/tags/Maldred_TestNewTag2/objects" xlink:type="simple"/></tag>


$ curl -v -u $cred -H 'X-Client-Specification: 2' https://pcsbeta.mezeo.net/v2/tags/Maldred_TestNewTag2/objects
* About to connect() to pcsbeta.mezeo.net port 443 (#0)
*   Trying 74.86.115.226... connected
* Connected to pcsbeta.mezeo.net (74.86.115.226) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* 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: O=*.mezeo.net, OU=Domain Control Validated, CN=*.mezeo.net
*        start date: 2009-08-19 12:53:05 GMT
*        expire date: 2010-09-09 15:12:20 GMT
*        subjectAltName: pcsbeta.mezeo.net matched
*        issuer: C=US, ST=Arizona, L=Scottsdale, O=GoDaddy.com, Inc., OU=http://certificates.godaddy.com/repository, CN=Go Daddy Secure Certification Authority, serialNumber=07969287
*        SSL certificate verify ok.
* Server auth using Basic with user --------------------------
> GET /v2/tags/Maldred_TestNewTag2/objects HTTP/1.1
> Authorization: Basic ---------------------------------------------------------
> User-Agent: curl/7.19.5 (x86_64-pc-linux-gnu) libcurl/7.19.5 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.15
> Host: pcsbeta.mezeo.net
> Accept: */*
> X-Client-Specification: 2
>
< HTTP/1.1 500 Internal Server Error
< Date: Tue, 10 Aug 2010 14:50:06 GMT
< Server: Apache/2.2.3 (Red Hat)
< Cache-Control: no-cache
< Connection: close
< Transfer-Encoding: chunked
< Content-Type: text/plain; charset=UTF-8
<
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
Logged
Travis McLane
Mezeo Employee
Newbie
*****
Posts: 21



View Profile
« Reply #1 on: August 12, 2010, 03:47:36 PM »

You are not doing anything wrong with your requests.
I have successfully duplicated this issue and found the root cause.

I will update this post when the updated package has been pushed to the test server.

Thank you for bringing this to our attention.
Logged
Pages: [1]
 
Jump to:  

© Mezeo Software. All rights reserved. | Privacy Policies | Contact Us | Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC