Custom domain stuck in "Deleting" across multiple Static Web Apps — blocks deletion and re-registration

未关闭
#1,795 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
冷清
技术栈
azure, github-actions, next.js
领域
cloud, devops

调研方向

未识别出任何仓库文件或测试。首先使用报告者提供的 provider、region 和 private resource 详细信息,检查报告的 Azure Static Web Apps custom-domain 删除行为以及列出的 portal 和 az CLI 命令。完成的标准是清除卡住的 binding,并且可以删除或重新注册 hostname 和受影响的应用。

由索引模型根据 Issue 内容生成。

描述

Describe the bug

A custom domain (an apex domain and its www subdomain) is stuck in status
"Deleting" simultaneously on several Static Web Apps in the same subscription.
The portal shows: "An unknown error has occurred while adding your custom domain.
Please try again later."

Because SWA custom domains are globally unique, the hostname is now treated as
in-use: it cannot be added/validated on ANY app, and every app still holding it
fails to delete with Code: ResourceDeletionFailed. This is a deadlock only the
product team can clear.

Region / provider
  • Region: East Asia
  • Provider: Microsoft.Web/staticSites
  • (Subscription ID, exact resource names, and correlation IDs - privately
    on request — happy to share via a secure channel.)
Steps that lead to it
  1. Add a custom domain to a Static Web App before the DNS CNAME had fully propagated.
  2. Validation fails; try to delete the custom domain to re-add it.
  3. The delete hangs indefinitely in "Deleting".
  4. Repeating on new apps spreads the same stuck hostname across multiple apps.
What I've already tried (all fail)
  • Portal "Delete" on the custom domain → hangs in "Deleting" for >1 hour.
  • az staticwebapp hostname delete → "Operation returned an invalid status 'OK'", entry remains.
  • az resource delete --ids <.../customDomains/<host>> → same result, entry remains.
  • az staticwebapp delete on the app → ResourceDeletionFailed (blocked by the stuck child domain).
  • Confirmed there are NO management locks on the resource group.
Request

Please force-clear the stuck custom-domain bindings server-side so the hostname is
released, and/or unblock deletion of the affected apps. I can provide the
subscription ID, resource IDs, and correlation IDs privately.

Environment
  • Deploying a Next.js static export via GitHub Actions to Static Web Apps (Free plan).
  • CLI: latest az.
主要语言
没有语言数据
星标
347
派生
68
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Azure/static-web-apps 的其他 Issue

查看 Azure/static-web-apps 的全部 Issue

相似的 Issue

更多 Cloud Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。