Hello Tariq,
Am not sure if you have already reviewed the below KBA notes which address a similar issue but please go through them and let me know if there helpful.
2257881 - CRM IC: Communication between agent and communication session fails when HTTPS protocol is used
1836437 - CRM IC: How to set up an IC Agent role - technical prerequisites from customizing point of view to prevent errors
1954574 - CRM IC problems in complex system landscapes (alerts, greyed out ready/not ready buttons, agent dashboard, timeout, worker session)
1337658 - Ready/Not Ready radio button gray out and cannot be changed
Regards,
David