Reprotect operations fails with the error ""Failed to reverse replication for failed over devices. SRA command 'reverseReplication' failed. Unexpected exception occured: System.FormatException: Input string was not in a correct format. at PureSRA"
search cancel

Reprotect operations fails with the error ""Failed to reverse replication for failed over devices. SRA command 'reverseReplication' failed. Unexpected exception occured: System.FormatException: Input string was not in a correct format. at PureSRA"

book

Article ID: 410844

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptoms:

  • These issues are observed in environments configured using Pure Storage Array Based replication

  • Reprotect operations fails with the below error

    "Failed to reverse replication for failed over devices. SRA command 'reverseReplication' failed. Unexpected exception occured: System.FormatException: Input string was not in a correct format. at PureSRA.SRMCommandHandlerBase.TryOnRestClientsUntilSuccess(SRMCommand command) in /app/Handlers/SRMCommandHandlerBase.cs:line 216 at PureSRA.SRMCommandHandlerBase.WriteResponse(SRMCommand command) in /app/Handlers/SRMCommandHandlerBase.cs:line 230 at PureSRA.SRMCommandHandlerBase.HandleCommand(SRMCommand command) in /app/Handlers/SRMCommandHandlerBase.cs:line 119 at PureSRA.PureSRA.Main(String[] args) in /app/PureSRA.cs:line 28 Please see logs at /srm/sra/log/reverseReplication_2025-#-#-06-24-16-3#######-3#######-####-####-####-###########.log"

Environment

VMware Live Site Recovery

Cause

The Reprotect operation fails because the reverseReplication command issued by the Pure SRA is unable to remove snapshots on the Pure Array. 

Cause Justification

From the SRA reverseReplication logs, we can see that the command is failing with Invalid string format error

[09/16/2025 10:24:04,ReverseReplication.cs:DeleteSnapshotsFromPrepareReverseReplication,W] Failed to eradicate idempotency snapshot in reverse replication.

[09/16/2025 10:24:04,ReverseReplication.cs:DeleteSnapshotsFromPrepareReverseReplication,V] Exiting

[09/16/2025 10:24:04,ReverseReplication.cs:ProcessCommand,V] Exiting

[09/16/2025 10:24:04,SRMCommandHandlerBase.cs:TryOnRestClientsUntilSuccess,V] Exception when trying to process command with current rest client pair.

[09/16/2025 10:24:04,SRMCommandHandlerBase.cs:TryOnRestClientsUntilSuccess,V] Input string was not in a correct format.

[09/16/2025 10:24:04,SRMCommandHandlerBase.cs:TryOnRestClientsUntilSuccess,V]    at System.Text.ValueStringBuilder.ThrowFormatError()

   at System.Text.ValueStringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)

   at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)

   at System.String.Format(String format, Object[] args)

   at PureSRA.PureSRALogger.Log(LogLevel logLevel, String formatString, Object[] parameters) in /app/PureSRALogger.cs:line 335

Resolution

To resolve this issue, please engage Pure storage vendor