我正在努力改進 Azure 問題的除錯。現在,我有一個日志檔案,內容如下:
fail: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider[48]
An error occurred while reading the key ring.
Azure.RequestFailedException: This request is not authorized to perform this operation using this permission.
RequestId:2af54d08-xxxx-xxxx-xxxx-f0e0bf000000
Time:2021-12-14T08:49:54.2864189Z
Status: 403 (This request is not authorized to perform this operation using this permission.)
ErrorCode: AuthorizationPermissionMismatch
Headers:
Server: Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0
x-ms-request-id: 2af54d08-xxxx-xxxx-xxxx-f0e0bf000000
x-ms-client-request-id: 5f8d796a-xxxx-xxxx-xxxx-e973903f3201
x-ms-version: 2020-04-08
x-ms-error-code: AuthorizationPermissionMismatch
Date: Tue, 14 Dec 2021 08:49:53 GMT
Content-Length: 279
Content-Type: application/xml
對我來說一直有點神秘的是這里提到的 id。查找有關它們的資訊會非常有趣。例如:
RequestId:2af54d08-xxxx-xxxx-xxxx-f0e0bf000000
x-ms-request-id: 2af54d08-xxxx-xxxx-xxxx-f0e0bf000000
x-ms-client-request-id: 5f8d796a-xxxx-xxxx-xxxx-e973903f3201
與這些 id 相關的資訊存盤在哪里?
uj5u.com熱心網友回復:
x-ms-request-id
- 針對存盤服務發出的每個請求都會回傳一個名為 的回應標頭
x-ms-request-id。此標頭包含唯一標識請求的不透明值。
x-ms-client-request-id
- 它與客戶端中的邏輯操作相關聯;例如,加載門戶監控部分可能有一個單一的客戶端請求 ID,用于多次呼叫 ARM(例如,負載虛擬機 負載指標定義 負載指標)
您可以參考x-ms-request-id 標頭、跨服務檢測和跟蹤、客戶端請求標頭、Azure Corelation Id 和請求 ID1以及Azure Corelation Id 和請求 ID2
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/381686.html
標籤:天蓝色
下一篇:在Azure中授予管理員同意
