When configuring the Aruba Central plugin,
DX Netops VNA all supported versions
All the tokens must be correct.:
"ARUBA_CLIENT_ID": "xxxxxx"
"ARUBA_CLIENT_SECRET": "xxxxxx",
"ARUBA_ACCESS_TOKEN": "xxxxxx",
"ARUBA_REFRESH_TOKEN" : "xxxxxx",
Make sure all the tokens are correct and the access/refresh tokens have not expired.
Note the access token expires within 2 hours, the refresh token expires in 14 days.
Curl can be used to verify the refresh token as follows:
curl --location --request POST 'https://<aruba-url>/oauth2/token?client_id=<ARUBA_CLIENT_ID>&grant_type=refresh_token&client_secret=<ARUBA_CLIENT_SECRET>refresh_token=<ARUBA_REFRESH_TOKEN>' --header 'Content-Type: application/json'
If you need to use a proxy add;
--proxy '<http|https>://username:password@proxynameorip:proxyport'
Use the apropriate protocol and other details