Data Domain: REST API 错误 — REST 服务已禁用
Summary: 如何解决 REST Application Programming Interface (API) 错误。
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
已识别的症状
已确定以下症状:
- Cyber Recovery UI 错误
- “Got HTTP response code 400 Bad Request while login to DD using REST API”(使用 REST API 登录到 DD 时收到 HTTP 响应代码 400 错误请求)错误消息
- 尝试使用浏览器或 API 调用在端口 3009 上连接到 DD 时出现“REST 服务已禁用”错误消息
Cause
问题的根本原因
问题的根本原因是 Data Domain 上禁用了 REST 服务。
这可能是由于 Web 服务被禁用,这是 REST 服务运行所必需的。
- REST 服务已禁用
- Web 服务已禁用
相关错误消息
指示问题原因的相关错误消息包括:
- “REST 服务已禁用”
- “使用 REST API 登录到 DD 时收到 HTTP 响应代码 400 错误请求”
# Relevant command to check the status of the web service $ adminaccess enable web-service
Resolution
在 Data Domain 上启用 REST 服务
要解决 REST API 错误,Data Domain 上的 REST 服务必须正在运行。这可以通过启用 Web 服务来实现。
# Enable web service using the following CLI command adminaccess enable web-service
启用 Web 服务后,REST 服务将运行,从而成功完成 REST API 调用。
验证解决方案
要验证问题是否已解决,请尝试使用浏览器或 API 调用在端口 3009 上连接到 Data Domain。如果 REST 服务正在运行,则不会显示“REST 服务已禁用”错误。
注意: 如果问题仍未出现,请联系 戴尔支持。
Affected Products
PowerProtect Cyber Recovery, DD OSArticle Properties
Article Number: 000353903
Article Type: Solution
Last Modified: 07 Aug 2025
Version: 1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.