NetWorker:Azure 虚拟机快照备份失败“Failure when receiving data from the peer (curl error code:56), Error while copying snapshot to DD”

Summary: NetWorker Azure 虚拟机 (VM) 快照备份间歇性失败,并显示错误“Failure when receiving data from the peer (curl error code:56), Error while copying snapshot to DD.”此错误随机出现,在某些备份期间,虚拟机成功,在其他备份中,观察到此故障。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

通过 NetWorker 执行的 Azure 虚拟机 (VM) 备份间歇性失败,并在备份作日志中观察到以下错误:

207705:nsrazure_save: Curl: Error setting options/performing in curl, error details: Failure when receiving data from the peer(curl error code: 56), Error while copying snapshot to DD
207650:nsrazure_save: azurvmbackup: snapshot VM-NAME_DISK-NAME_SNAPSHOT-TIMESTAMP copy to DD failed
207820:nsrazure_save:Cannot backup to DD.  Backup of saveset: RESOURCE-GROUP-NAME:VM-NAME:VM-NAME_DISK-NAME failed.

Cause

curl 56 错误是一般网络连接错误代码。常见原因包括:

  • TLS/SSL 握手问题。
  • 对等方重置连接(服务器意外关闭连接)。
  • 防火墙或安全干扰。
  • 数据传输期间超时或数据包丢失。

nsrazure_save 命令遇到 CURL 通信问题,正在中止作业而不重试连接。受影响的版本:

  • 19.11.0.x
  • 19.12.0.x
  • 19.13.0.x

Resolution

在以下 NetWorker 版本中添加了重试逻辑:

  • 19.14.0.0(2026 年 1 月)

 

提醒:代码更改无法解决 curl 连接失败,因为这是在 NetWorker 外部发生的。遇到此连接问题时,代码更改会提供“重试”功能。相同的”curl error code: 56“消息可能会在日志中找到;但是你会看到”Retrying from offset“,连接将恢复。每个存储集仅尝试重试 50 次。默认情况下,NetWorker 策略具有“一次重试”设置。这意味着,如果存储集失败,策略将再次尝试备份。如果连接再次失败超过 50 次,存储集将无法备份。必须在 Azure 级别调查过多的网络连接故障。

Additional Information

使用重试逻辑的日志记录示例:

207705:nsrazure_save: Curl: Error setting options/performing in curl, error details: Failure when receiving data from the peer(curl error code: 56), Error while copying snapshot to DD
207705:nsrazure_save: Curl: Error setting options/performing in curl, error details: Failure when receiving data from the peer(curl error code: 56), Error while copying snapshot to DD
207705:nsrazure_save: Curl: Error setting options/performing in curl, error details: Failure when receiving data from the peer(curl error code: 56), Error while copying snapshot to DD
207705:nsrazure_save: Curl: Error setting options/performing in curl, error details: Failure when receiving data from the peer(curl error code: 56), Error while copying snapshot to DD
210931:nsrazure_save: Data transfer failed.  Retrying from offset 74392272896...
210931:nsrazure_save: Data transfer failed.  Retrying from offset 68708990976...
210931:nsrazure_save: Data transfer failed.  Retrying from offset 66345500672...
210931:nsrazure_save: Data transfer failed.  Retrying from offset 78074871808...
在上面的示例中,客户端中备份了四个虚拟机磁盘存储集。每个存储集都遇到 curl 连接失败,并从上次偏移处重试。

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000361593
Article Type: Solution
Last Modified: 12 Dec 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.