cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
754
Views
5
Helpful
2
Replies

j_security_check OK, but when using session ID later, UNAUTHORIZED

zbig.lupina
Level 1
Level 1

when trying an always-on SD-WAN sandbox (after logging in parallel),  sandbox-sdwan-1.cisco.com/j_security_check

 

or curl:

curl -c -k -X POST https://sandbox-sdwan-1.cisco.com/j_security_check -H 'Content-Type: application/x-www-form-urlencoded' -d 'j_username=devnetuser&j_password=Cisco123!'
curl: (6) Could not resolve host: application
'j_password' is not recognized as an internal or external command,
operable program or batch file.

 

with appropriate credentials  (Cisco123!) and so on, i get the

answer:

 
    <title>Cisco vManage</title>
    <link rel="stylesheet" type="text/css" href="login.css"

...

plus session ID in postman.

Then when using this session ID -

sandbox-sdwan-1.cisco.com/dataservice/device

status UNAUTHORIZED.

 

What is wrong if you get status OK  ?

2 Replies 2

OK, tnx. I saw that. It sometimes works. Always the session ID is the same when logging so the issue can be easily tested.