Backups need to be scheduled from master instance only.
What is the type of replication- streaming or log shipping based?
What is the service pack level for your client?
Usually we get the JPR " Primary and Secondary Postgres Server state are not ...." when standby server is down OR standby is not reachable from master.
Do you have commvault installed on both standby and master, instance configured for both?
Standby settings need to be configured on master instance and backup also need to be initiated from master.
If all this is fine, please drop a mail to Dev-PostgreSQL with client side logs from master and standby we will check logs , that will help in understanding issue.
Also please check that standby server is in recovery mode.
This query should return true in standby