DR - "TunnelThreadRunner.cpp:60 - Error Code: -1066012 - Extended Error Code: 0" error during Failover
Symptom
During the Failover from Primary to DR, we are getting the error line on the Padr.log:
TunnelThreadRunner.cpp:60 - Error Code: -1066012 - Extended Error Code: 0
TunnelThreadRunner.cpp:60 - Error Code: -1066040 - Extended Error Code: 0
But the failover is completing without any other issues. TheĀ "EnableTrace=full" parameter might or might not be enabled in padr.ini.
Environment
14.0;14.2 Privileged Access Manager (PAM, self-hosted) Disaster Recovery Vault Disaster Recovery Vault Upgrade
Cause
This error entry is triggered when the attempt to create a tunnel socket connection fails. Each time the error occurs, there are the same set of log entries showing the failure to connect with timeout of about 30 seconds.
In this scenario, when a planned failover from Primary to DR is triggered, then it is expected that this error would occur because the connection between DR and Primary was intentionally interrupted.
Resolution
This error may be safely ignored if the scenario where Primary-DR failover was planned and expected.