04-08-2020 11:27 PM
Hello guys,
I am configuring the Cisco ASA 5585x rest api.
During config time successful below commands.
A/ASA-Cluster# show running-config | include rest-api
rest-api image disk0:/asa-restapi-7141-lfbff-k8.SPA
rest-api agent
But, I am running to 500 errors when running the following url "https://10.133.3.5/doc".
What is the problem??
Thanks
04-09-2020 01:29 AM
Hi there,
The REST-API agent URL root is:
https://<server-ip>/api/
So you need to try:
cheers,
Seb.
04-09-2020 08:37 PM
it have same result
04-10-2020 01:12 AM
Hi there,
Try enabling HTTP debugging on the ASA:
debug http
...then restart the agent:
! no rest-api agent rest-api agent !
...now try accessing the URL. Now check the logging buffer for any info:
sh log | inc REST
cheers,
Seb.
04-12-2020 07:22 PM
I'm try connect rest-api. According to the following instructions give below error:
TTP: user already authenticated, bypass authentication
HTTP: processing handoff to legacy admin server [/doc]
HTTP: admin session verified = [0]
HTTP: REST-API - This is a DOC request.
HTTP: REST-API - processing URL '/doc' of REST api request from host 10.22.2.47
HTTP: REST-API - forwarding REST API request to REST Agent
HTTP: REST-API - content-length: -1
HTTP: REST-API - Bytes to be read (HTTP request method):3
HTTP: REST-API - Bytes to be read (URI until CRLF line)): 574
HTTP: REST-API - Length of the entire message-body: 0; content-length: -1
HTTP: REST-API - Length of the entire request: 577
HTTP: REST-API - sending rest request to REST API Agent
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide