Custom domain stuck in "Deleting" state — every delete attempt is Accepted (202) then Fails; cannot delete or re-add
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- azure
- 领域
- cloud
调研方向
未指定任何仓库文件或测试。先从 az staticwebapp hostname delete 命令和 issue 中描述的 ARM REST DELETE 路径开始,然后将它们的失败与提供的 activity-log IDs 进行关联。完成的标准是移除卡住的自定义域记录,使 hostname 可以重新添加,或者显示可执行的错误。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
Adding custom domain www.canterrastays.com to Static Web App swa-canterra-prod (resource group rg-canterra-prod) failed at 2026-08-13T02:23 UTC with "An unknown error has occurred while adding your custom domain. Please try again later." Notably, the Validate step SUCCEEDED (HTTP 200) — the Create step itself then Failed ~10 minutes later.
The domain record is now stuck. Every delete attempt — Azure CLI (az staticwebapp hostname delete), direct ARM REST DELETE on Microsoft.Web/staticSites/{site}/customDomains/{domain} (api-version 2023-12-01), and the Azure portal — is Accepted (202), runs for ~6–10 minutes, and then transitions to Failed with no substatus. The portal permanently displays the record as "Deleting."
DNS is verified correct: the CNAME for www.canterrastays.com resolves to brave-sand-01c38990f.7.azurestaticapps.net via public resolvers (checked against 8.8.8.8).
Activity log timeline (UTC, 2026-08-13):
- 02:23:50 Validate Custom Domain — Succeeded (200)
- 02:23:52 Create Custom Domain — Accepted (202)
- 02:33:55 Create Custom Domain — Failed
- 02:39:08 Delete — Accepted (202) → 02:49:16 Failed
- 03:06:41 Delete (ARM REST) — Accepted (202) → 03:16:43 Failed
- 03:10:10 Delete — Accepted (202) → 03:16:44 Failed
Correlation IDs from failed operations:
- Create Failed: 1d37b8f4-d898-4228-a2bb-4223bea8207e
- Delete Failed: 25cbedf0-0c69-43af-bd31-057c709ca26e
- Delete Failed: f459b097-a458-41aa-a7fc-69040d5b0c72
- Delete Failed: c9908161-4c09-4c03-8a75-e9b3557484cb
To Reproduce
az staticwebapp hostname set -n swa-canterra-prod -g rg-canterra-prod --hostname www.canterrastays.com→ fails with unknown error despite successful validationaz staticwebapp hostname delete -n swa-canterra-prod -g rg-canterra-prod --hostname www.canterrastays.com --yes→ Accepted, then Fails- Record remains in "Deleting" state indefinitely; no client-side path can remove it
Expected behavior
Delete should remove the custom domain record, or surface an actionable error.
Request
Backend cleanup of the corrupted custom domain record so the domain can be re-added. Subscription and resource details above; happy to provide anything further.
- 主要语言
- 没有语言数据
- 星标
- 347
- 派生
- 68
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/static-web-apps 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
Azure/static-web-apps#1764 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
Azure/static-web-apps#1827 ·
-
难度 4/5 3-5 天 新手友好度 35/100
Azure/static-web-apps#1826 · 5 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 42/100
Azure/static-web-apps#1825 ·
-
难度 4/5 3-5 天 新手友好度 18/100
Azure/static-web-apps#1824 ·
查看 Azure/static-web-apps 的全部 Issue
相似的 Issue
-
Language: Terraform :globe_with_meridians: Needs: Triage :mag: Type: Bug :bug:
难度 2/5 1-3 小时 新手友好度 76/100
Azure/terraform-azurerm-avm-res-storage-storageaccount#450 · 1 条评论 ·
维护者通常 1 天内回复
-
A quote or backslash in private registry credentials renders invalid JSON可能已有人在做 @blacksoxx 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
kubescape/helm-charts#1057 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
aws-amplify/amplify-backend#3385 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
data-mermaid/mermaid-segmentation#377 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
mieweb/ozwell-computer#84 ·
维护者通常 1 天内回复