kim Are you migrating your website from a server to the control panel server?
You can try restarting the php container for that website and test the migration again.
Also, did you allow all communication between both servers on the firewall? Maybe there's a port not opened.