ā07-14-2022 04:37 PM
We try to access the TACACS Server API and collect the server information, following this example:
However, after submitting the GET request to
/api/config/security_servers/tacacs-server?deep
, we receive this error message:
'<!--**************************************************-->\n<!-- Copyright (c) 2009 Cisco Systems, Inc.-->\n<!-- All rights reserved.-->\n<!--**************************************************-->\n\n<html><head/><title>ACS: Error</title><body><H1>ACS: Resource not found or internal server error</H1></body></html>\n<br />ErrorCode: 404\n\n'
Why does this happen? And how can we solve this error?
Solved! Go to Solution.
ā07-16-2022 06:07 PM
As ahollifield said, ACS 5.x has already reached EoS/EoL.
I got HTTP 404 if REST not enabled via the ACS admin CLI.
Enabling the REST Web Interface on ACS CLI
You must enable the web interface on ACS before you can use the REST web service. To enable the web interface on ACS, from the ACS CLI, enter:
acs config-web-interface rest enable
ā07-14-2022 09:32 PM
What are you trying to connect to and poll with this API? The link and API you shared is for the ENFV platforms like the ENCS 5000 where you virtualize network platforms.
ACS and ISE have their own API documentation and resources.
ā07-15-2022 06:55 AM
Thanks, Damien! Could you point us to the correct ACS API documentation?
ā07-15-2022 07:11 AM
ā07-15-2022 09:11 AM
ACS. We also find the second link to the API document, but the API still shows 404 client error below:
HTTPError: 404 Client Error: Not Found for url: https://172.10.100.21/Rest/Identity/User/
Do you know the reason for this?
ā07-15-2022 09:59 AM
Which version of ACS are you running?
ā07-15-2022 11:56 AM
Secure Access Control System (ACS) 5.8
ā07-16-2022 06:07 PM
As ahollifield said, ACS 5.x has already reached EoS/EoL.
I got HTTP 404 if REST not enabled via the ACS admin CLI.
Enabling the REST Web Interface on ACS CLI
You must enable the web interface on ACS before you can use the REST web service. To enable the web interface on ACS, from the ACS CLI, enter:
acs config-web-interface rest enable
ā07-18-2022 09:38 AM
Thanks! We will check this with the system admin.
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