After switching a sensor across multiple gateways or from cloud managed to SGW managed, the mirror server URL doesn't change until updating the policy manually.
Upon checking the repcli status outputs, you might see the old mirror server URL mentioned in outputs.
Carbon Black Could.
Carbon Black Sensor Gateway 1.2
This issue should be fixed in 1.2.2 Carbon black Cloud Sensor gateway.
To work around this issue, the Carbon Black Console administrator needs to manually modify the policy from the console, by changing any of the settings, or adding/modifying the description of the policy.