We have set up the cohesity_monitor probe and even though the validation of the username and credential succeeds, we are seeing the following exception in the log:
java.lang.IllegalAccessError: Cannot generate token with provided credentials.
This error is generated the when probe is calling below URL when the credentials are not correct
https://<cohesity_instance_hostname>
:443/irisservices/api/v1/public/accessTokens
Verify the credentials and double-check the user permissions.
A simple way to verify if the cohesity instance is reachable is connecting to it using a Rest Client such as POSTMAN. If the rest client connection is failing with the same error, it confirms that the problem is with the credentials. When this problem is resolved, both the REST client connection and the probe connection will succeed