sách gpt4 ai đã đi

Ngoại lệ Azure chỉ khi triển khai trên máy chủ chứ không phải trên máy chủ cục bộ

In lại 作者:行者123 更新时间:2023-12-04 22:00:03 34 4
mua khóa gpt4 Nike

我尝试连接到 azure 表存储并添加一个对象。它在本地主机上工作得很好,但是在我使用的服务器上我得到以下异常及其内部异常:

    Exception of type 'Microsoft.WindowsAzure.StorageClient.StorageClientException' was thrown.
System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request.
---> System.Data.Services.Client.DataServiceClientException:


AuthenticationFailed
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:17..127 Time:2011-12-16T15:47:50.7505473Z

at System.Data.Services.Client.BaseAsyncResult.EndExecute[T](Object source, String method, IAsyncResult asyncResult)
at System.Data.Services.Client.QueryResult.EndExecute[TElement](Object source, IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at Microsoft.WindowsAzure.StorageClient.Tasks.Task`1.get_Result()
at Microsoft.WindowsAzure.StorageClient.CloudTableClient.GetResultOrDefault[T](Task`1 task, T& result)

我的连接字符串:

DefaultEndpointsProtocol=http;AccountName=nameoftable;AccountKey=accountkey...

1 Câu trả lời

这有点遥远,但请检查托管您网站的服务器上的时钟。部分authentication header对于所有 Azure 存储 REST 调用,都是当前 UTC。如果这与 Azure 服务器所说的 UTC 时间相差太远,您将收到该错误。

关于仅当部署在服务器上而非本地主机上时出现 Azure 异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8536801/

34 4 0
Bài viết được đề xuất: icons - Sitecore IconCache 图像不显示,路径不正确
Bài viết được đề xuất: java - 使用 Scanner 读取 UTF-8 字符
Bài viết được đề xuất: java - 模拟 ObjectInputStream
Bài viết được đề xuất: scrollbar - jScrollPane - 鼠标滚轮不工作
行者123
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com