gpt4 book ai didi

Azure 插槽交换作业处理器失败 : Cannot swap slots for site because the worker process in slot aborted the warmup request

转载 作者:行者123 更新时间:2023-12-05 02:43:19 26 4
gpt4 key购买 nike

突然开始在所有 Azure App Services 中持续发生使用Deployment Slots .

enter image description here

Error Message: "Failed swapping site. Error: Cannot swap slots for site because the worker process in slot aborted the warmup request. This may happen if site has IP Restriction or URL rewrite rules that block HTTP requests."

找不到有关此问题的任何引用资料,不确定是否有其他人遇到此问题。已尝试这篇文章 https://ruslany.net/2017/11/most-common-deployment-slot-swap-failures-and-how-to-fix-them/ 中所有建议的解决方案但没有解决我的问题。

在 Azure 全局配置范围内没有执行任何操作,当然不可能是任何单个项目引起的问题,因为部署到 Azure App Service 的所有项目都会发生这种情况。使用Deployment Slots


Error Resonse:

{
"caller": "SlotSwapJobProcessor",
"channels": "Operation",
"claims": {
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn": "SlotSwapJobProcessor"
},
"correlationId": "xxx",
"description": "Failed swapping site. Error: Cannot swap slots for site 'xxx' because the worker process in 'staging' slot aborted the warmup request. This may happen if site has IP Restriction or URL rewrite rules that block HTTP requests.",
"eventDataId": "xxx",
"eventName": {
"value": "SwapWebSiteTrace",
"localizedValue": "SwapWebSiteTrace"
},
"category": {
"value": "Administrative",
"localizedValue": "Administrative"
},
"eventTimestamp": "2021-04-01T19:44:55.0130397Z",
"id": "/subscriptions/xxx/resourcegroups/xxx/providers/microsoft.web/sites/xxx/slots/staging/events/xxx/ticks/xxx",
"level": "Error",
"operationId": "xxx",
"operationName": {
"value": "Microsoft.Web/sites/slots/SlotSwap/action",
"localizedValue": "Microsoft.Web/sites/slots/SlotSwap/action"
},
"resourceGroupName": "defaul",
"resourceProviderName": {
"value": "Microsoft.Web",
"localizedValue": "Azure Web Sites"
},
"resourceType": {
"value": "microsoft.web/sites/slots",
"localizedValue": "microsoft.web/sites/slots"
},
"resourceId": "/subscriptions/xxx/resourcegroups/xxx/providers/microsoft.web/sites/xxx/slots/staging",
"status": {
"value": "Failed",
"localizedValue": "Failed"
},
"subStatus": {
"value": "",
"localizedValue": ""
},
"submissionTimestamp": "2021-04-01T19:45:04.7469589Z",
"subscriptionId": "xxx",
"tenantId": "",
"properties": {
"Message": "Failed swapping site. Error: Cannot swap slots for site 'xxx' because the worker process in 'staging' slot aborted the warmup request. This may happen if site has IP Restriction or URL rewrite rules that block HTTP requests."
},
"relatedEvents": []
}

最佳答案

可能有更简单的解决方案 - 暂存槽没有部署任何函数,在这种情况下,Azure 会抛出相同的错误消息。 (只是花了几个小时来弄清楚,希望它能节省其他人的时间。:D)

关于Azure 插槽交换作业处理器失败 : Cannot swap slots for site because the worker process in slot aborted the warmup request,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66957816/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com