openstack swift formpost query

asked 2012-03-15 10:48:30 -0500

viralpatadiya gravatar image

Hi,

We are trying to use the swift formpost middleware.

We have created an account and also configured a header X-Account-Meta-Temp-URL-Key for the account.

We are following the guidelines on http://swift.openstack.org/misc.html#module-swift.common.middleware.formpost (http://swift.openstack.org/misc.html#...)

After generating the signature using the hmac, we are trying to upload an object using the formpost.

It takes the request and then redirects the the designated url with an error "InvalidSignature"

In swift syslog on the proxy server, we are getting 401 error.

Please help.

Regards,

Viral Patadiya viralpatadiya@gmail.com

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-03-26 11:27:07 -0500

viralpatadiya gravatar image

Hi,

I changed my proxy server authentication from swauth to tempauth and both tempurl and formpost started working,

Need to make them work with swauth as well.

Any ideas ?

Regards,

Viral Patadiya

edit flag offensive delete link more
0

answered 2012-03-27 11:23:04 -0500

viralpatadiya gravatar image

Hi,

The issue finally got resolved.

Please see https://github.com/gholt/swauth/commit/09590624eaf34c60920b804856b7992ad546b506 (https://github.com/gholt/swauth/commi...)

Thanks & Regards,

Viral

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-03-15 10:48:30 -0500

Seen: 44 times

Last updated: Mar 27 '12