Pasted from comments in past threads. Hope this helps!
The CUCM can take quite some time (upwards or 20 min or so, it seems) for all of its services to fully start - I've seen responses like that when trying to login before it's fully 'up'
Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io