Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Does the X-Auth-Token expires?

Hi, I used: curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://127.0.0.1:8080/auth/v1.0 and i got an answer with the X-Auth-Token and X-Storage-Url . I can create meta and containers etc. When i tried to list my account metadata after 2 days with the command: curl -v -H 'X-Storage-User: iot:ioter' -H 'X-Storage-Pass: iot' http://127.0.0.1:8080/auth/v1.0 i responded with 401 unauthorized. My X-Auth-Token from above was not valid anymore and i had to run: curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://127.0.0.1:8080/auth/v1.0 again to get a new one. Is this normal? Also i cannot create any other account with: curl -v -H 'X-Storage-User: test1:tester1' -H 'X-Storage-Pass: testing1' http://127.0.0.1:8080/auth/v1.0 . Only the test:tester with pass testing. Everything else i put returns 401 unauthorized.

Thanks