Can't connect to unifi integration after moving install to new machine

everything else is working fine (except for very high CPU use) but I can’t connect to the Unifi cloud-key gen2.

I’m positive I’m using the correct credentials and it worked fine on the old machine using the same IP address as the new one (old machine is dead and disconnected from the network).

Any suggestions?