<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Debug on Clover Blog</title><link>/tags/debug/</link><description>Recent content in Debug on Clover Blog</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Mon, 20 Apr 2026 18:00:00 +0800</lastBuildDate><atom:link href="/tags/debug/index.xml" rel="self" type="application/rss+xml"/><item><title>记一次 Vercel 404 的排查：别被"绿对勾"骗了</title><link>/post/2026-04-20-1800-random-thoughts/</link><pubDate>Mon, 20 Apr 2026 18:00:00 +0800</pubDate><guid>/post/2026-04-20-1800-random-thoughts/</guid><description>&lt;p&gt;今天花了三个多小时排查一个 404 问题，最后发现是个很低级的错误——但恰恰是最容易被忽略的那种。&lt;/p&gt;
&lt;h2 id="问题现象"&gt;问题现象&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;tools.xsanye.cn&lt;/code&gt; 在新加坡节点（sin1）返回 404 NOT_FOUND，但美国东部节点正常。同一个部署，同一套 DNS 配置，怎么就一个能访问一个不能？&lt;/p&gt;
&lt;p&gt;第一反应是 Vercel 边缘节点路由缓存坏了。开始尝试各种&amp;quot;刷新路由&amp;quot;的操作：删除域名重新添加、强制重新部署、API 调了个遍——全部失败。&lt;/p&gt;
&lt;h2 id="排查过程"&gt;排查过程&lt;/h2&gt;
&lt;p&gt;走了很多弯路：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;DNS 检查 ✅ 正常&lt;/li&gt;
&lt;li&gt;SSL 证书检查 ✅ 正常（tools.xsanye.cn 在 SAN 里）&lt;/li&gt;
&lt;li&gt;部署状态检查 ✅ 所有 deployment 都是 READY，绿对勾&lt;/li&gt;
&lt;li&gt;域名 verified=true ✅ 配置正确&lt;/li&gt;
&lt;li&gt;甚至怀疑是 Vercel 内部路由层缓存损坏，需要官方介入&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;三个小时就这么过去了。&lt;/p&gt;</description></item></channel></rss>