29 Posts

May 27th, 2009 12:00

Thanks, Leo. No, I haven't asked the customer service folks; I will.

Navneeth

1 Rookie

 • 

49 Posts

May 27th, 2009 12:00

Navneeth - have you tried asking Atmos customer service this question? We're still integrating our response across the developer community and CS, but this sounds like a bug. - Leo

281 Posts

June 1st, 2009 21:00

Hi Navneeth,

Have you resolved your problem?  Are you using one of the wrappers?

29 Posts

June 3rd, 2009 11:00

Hello Jason,

I've opened a case with the support folks and am following up with them.

I am using my own implementation of REST (not using the provided wrappers).

Navneeth

6 Posts

June 11th, 2009 06:00

Have you sorted out this problem?I am facing this issue while deleting an object from cloud and also when downloading the files.?any updates?

29 Posts

June 11th, 2009 09:00

Hello Sivan,

One of the cases where this can happen is where the signature being calculated is indeed wrong. We found that in functions where we were decoding the token and calculating the HMAC, we were using "strcpy" at some point. However, the contents of the token (once base64 decoded) are not guaranteed to be like null-terminated strings (since they could contain the value 0); we were doing this and hence corrupting our signature. However, retrying a number of times made the request successful since at some point we got a signature without 0 in it and our function succeeded. We now do a byte-copy instead.

Hope this helps.

Navneeth

1 Rookie

 • 

56 Posts

July 30th, 2009 14:00

I too am trying to track down a signature mismatch error. Frankly, I haven't gotten it to work yet.  We aren't using one of the bindings so we have to code to the REST API ourselves. Can anyone give me a clue why this would happen?  Here is a sample header:

POST /rest/objects HTTP/1.1
Host: accesspoint.emccis.com
Accept: */*
content-type:application/octet-stream
date:Thu, 30 Jul 2009 20:52:50 GMT
x-emc-date:Thu, 30 Jul 2009 20:52:50 GMT
x-emc-groupacl:other=NONE
x-emc-listable-meta:part4/part7/part8=quick
x-emc-meta:part1=buy
x-emc-uid:c302076ecb114095b0e0426f979f72a1/SEVEN405E60F489EF240
x-emc-useracl:UID1=FULL_CONTROL,UID2=WRITE
x-emc-signature:mvs45xEIyiVhOH3XW7MiBjYyVD4=
Content-Length: 0

Hash string used is:

POST
application/octet-stream

Thu, 30 Jul 2009 20:52:50 GMT
/rest/objects
x-emc-date:Thu, 30 Jul 2009 20:52:50 GMT
x-emc-groupacl:other=NONE
x-emc-listable-meta:part4/part7/part8=quick
x-emc-meta:part1=buy
x-emc-uid:c302076ecb114095b0e0426f979f72a1/SEVEN405E60F489EF240
x-emc-useracl:UID1=FULL_CONTROL,UID2=WRITE

Returns a 403 HTTP response with a 1032 error.

I have run the identical headers through a modified version of the EsuRestApi (to extract the "sign" function) and the hash signature generated by the sign function matches my signature every single time.

2 Intern

 • 

212 Posts

August 1st, 2009 16:00

Hmm, I got this error too using the Java wrapper.

1032 There was a mismatch between the signature in the request and the signature computed by the server.

Got this after using the URL obtained by EsuApi.getShareableURL() method.

Thanks,

Aashish

222 Posts

August 3rd, 2009 07:00

Aashish,

Does the signature mismatch only happen when you call that method?  Are you able to create/list/delete objects otherwise?

Raj

1 Rookie

 • 

56 Posts

August 3rd, 2009 11:00

Just to reply to myself from earlier, I found we had a trailing newline at the end of the hash string (just like the API document says NOT to do.)
No Events found!

Top