Storm season is back, bringing with it the potential for significant weather events. If you have clients in areas prone to infrastructure disruption, visit the Disaster Recovery Resources guide for preparedness information. Datto recommends performing proactive disaster recovery testing to mitigate potential downtime. See our articles about the importance of disaster recovery testing and Preparing For A Cloud Virtualization Test: Policies, Procedures, And Partner Responsibilities to learn more. For live updates, follow @datto on Twitter.

Error 502 cannot repair agent communications



The purpose of this article is to discuss how to repair the error 502 cannot repair agent communications. This error may come up when you try to Repair Agent Communications.


In order to resolve the issue, follow these steps:

First attempt to repair agent communications. If the agent is not able to communicate with our pairing servers, you should receive the same error. If the error message goes away, start a new backup.

On the production machine, confirm the following services are started and restart them as necessary:

  • StorageCraft Raw Agent Service
  • StorageCraft Shadow Copy Provider
  • ShadowProtect Service

Once the above services have been restarted, attempt to repair agent communications.

If the agent was added by domain name, verify that all DNS settings are set correctly from the networking tab on the Datto appliance. Also verify that the DNS search domain is correct.

Ensure that the protected machine is accessible through ports 25566 and 139. Check to ensure that windows firewall and anti-virus exceptions have been put in place to allow communication. Also, ensure that firewall exceptions are in place.

If none of the above resolves the issue, contact tech support.

Was this article helpful?

0 out of 1 found this helpful

You must sign in before voting on this article.

Calling all Partners! We want to hear your feedback! Please participate in this quick survey and help us build a better, more-relevant Knowledge Base!

Want to talk about it? Head on over to our Community Forum!