Data Domain: REST API 錯誤 - REST 服務已停用

Summary: 如何解決 REST 應用程式發展介面 (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 錯誤
    • 「使用 REST API 登入 DD 時收到 HTTP 回應代碼 400 錯誤要求」錯誤訊息
  • 嘗試使用瀏覽器或 API 呼叫連線至連接埠 3009 上的 DD 時,出現「REST service is disabled」錯誤訊息

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 服務已停用」錯誤。

警示: 如果問題仍未解決,請聯絡 Dell 支援

Affected Products

PowerProtect Cyber Recovery, DD OS
Article 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.