Error: "SRA command 'discoverArrays' failed. Cannot reach array. Error message: The operation has timed out" while adding array pair on SRM
search cancel

Error: "SRA command 'discoverArrays' failed. Cannot reach array. Error message: The operation has timed out" while adding array pair on SRM

book

Article ID: 393475

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptoms:

On SRM, array pairing using pure storage is failing with the below error.

SRA command 'discoverArrays' failed. Cannot reach array. Error message: The operation has timed out.. Please check network connectivity to array. Please see logs at /srm/sra/log/discoverArrays_2025-03-11-03-03-30-9018185-95dba3ba-0130-4967-95f1-cc4a59d740a4.log.

On SRM UI, under array pairing tab, you would see the error as below.

Environment

VMware Live Recovery 9.0

Cause

The issue appears to be an API and communication issue with Pure Storage.

When checking SRA logs on SRM server at path /srm/sra/logs/discoveryarray<>.log you may see the below events.

[03/11/2025 02:59:06,SRMCommandHandlerBase.cs:ConnectToInputArrays,V] Connecting to FlashArray(s) 10.#.#.# using connection peerArray
[03/11/2025 02:59:06,SRMCommandHandlerBase.cs:ConnectToInputArrays,V] Attempting to connect to end point https://10.#.#.#/api
[03/11/2025 02:59:06,SRMCommandHandlerBase.cs:ConnectToInputArrays,V] HTTP timeout is 60 seconds.
[03/11/2025 02:59:06,ArrayConnectionHelper.cs:GetPhysicalArray,V] Entering
[03/11/2025 02:59:06,ArrayConnectionHelper.cs:GetPhysicalArray,V] Attempting to create rest client for version 1.16.
[03/11/2025 03:02:06,ArrayConnectionHelper.cs:GetPhysicalArray,E] Failed to create rest client.
[03/11/2025 03:02:06,ArrayConnectionHelper.cs:GetPhysicalArray,E] The operation has timed out.
[03/11/2025 03:02:06,ArrayConnectionHelper.cs:GetPhysicalArray,E]    at PureStorage.Rest.PureRestClientBase.SendWithRetryAndErrorHandling(String verb, String
 uri, PureRequest request, Int32 maxAttempts, Boolean convertToPureException)
   at PureStorage.Rest.PureRestClientBase.SendWithRetryAndErrorHandling(String verb, String uri, PureRequest request)
   at PureStorage.Rest.PureRestClientBase.DoWebRequest(Boolean offline, PureRequest request, String verb)
   at PureStorage.Rest.PureRestClientBase.DoWebRequest[T](PureRequest request, String verb)
   at PureStorage.Rest.PureRestClientBase.InitializeAuthentication(String username, String password)
   at PureStorage.Rest.PureRestClient.Create(String username, String password, String apiEndpoint, String version, PureRestClientOptions options, PhoneHomeManagerConfig phConfig)
   at PureSRA.ArrayConnectionHelperImpl.GetPhysicalArray(SRMConnection connection, PureRestClientOptions restClientOptions, UriBuilder endPointBuilder, SRMCommand command) in /app/ArrayConnectionHelper.cs:line 67
[03/11/2025 03:02:06,ArrayConnectionHelper.cs:GetPhysicalArray,V] Exiting
[03/11/2025 03:02:06,SRMCommandHandlerBase.cs:ConnectToInputArrays,W] Connection failed to FlashArray at 10.#.#.# using connection peerArray and username <user_name>
[03/11/2025 03:02:06,SRMCommandHandlerBase.cs:ConnectToInputArrays,E] "PureRestException: HttpStatusCode = '', RestErrorCode = 'ServiceUnavailable', Details
= '', InnerException = 'System.Net.WebException: The operation has timed out.
   at System.Net.HttpWebRequest.GetResponse()
   at PureStorage.Rest.PureRestClientBase.SendWebRequest(String verb, String requestUri, PureRequest request)
   at PureStorage.Rest.PureRestClientBase.SendWithRetryAndErrorHandling(String verb, String uri, PureRequest request, Int32 maxAttempts, Boolean convertToPureException)'"
[03/11/2025 03:02:06,SRMCommandHandlerBase.cs:AugmentPeerListOfPhysicalArraysWithDiscoveredPods,V] Entering
[03/11/2025 03:02:06,SRMCommandHandlerBase.cs:AugmentPeerListOfPhysicalArraysWithDiscoveredPods,V] Exiting

Resolution

If the symptoms matches, please contact Pure Storage support for further assistance.