cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco Community Designated VIP Class of 2020

14103
Views
2
Helpful
2
Replies
Enthusiast

Empty reply from Secure Storage Service

We've been trying to use the Secure Storage Service on a flash-based IR829. We're using IOx 1.5.15. Unfortunately, we're unable to post objects successfully, now having read the documentation several times over.

Here's a sample session. First, we successfully retrieve the authentication token:


curl -v "http://$CAF_SS_IP_ADDR:$CAF_SS_PORT/SS/TOKEN/$CAF_APP_ID/$IOX_TOKEN"


...then with the returned token as AUTH_TOKEN:

curl -v "http://$CAF_SS_IP_ADDR:$CAF_SS_PORT/SS/$CAF_APP_ID/Object" -H 'content-type:/ multipart/form-data;' -F "ss-Token=$AUTH_TOKEN" -F "Object-type=Object" -F "object-Name=objname" -F "ss-Content=hi"


...curl reports:

curl: (52) Empty reply from server


Can you please advise on what we may be doing incorrectly?

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Empty reply from Secure Storage Service

Hi Christopher,

Please refer to the sample usage sections for Secure storage service and let us know if it doesn't help.

https://developer.cisco.com/docs/iox/#secure-storage-service-and-api/sss-usage

thanks & regards

Mahesh kumar.L

View solution in original post

2 REPLIES 2
Cisco Employee

Re: Empty reply from Secure Storage Service

Hi Christopher,

Please refer to the sample usage sections for Secure storage service and let us know if it doesn't help.

https://developer.cisco.com/docs/iox/#secure-storage-service-and-api/sss-usage

thanks & regards

Mahesh kumar.L

View solution in original post

Highlighted
Enthusiast

Re: Empty reply from Secure Storage Service

Turns out that I had an additional slash in the header: 'content-type:/ multipart/form-data;' should be: 'content-type: multipart/form-data;'

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here
This widget could not be displayed.