You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
官网 www.deepseek.com/harness/ 在浏览器禁止该站点 Cookie/网站数据时整页崩溃:Application error: a client-side exception occurred
#8300
{
"localStorage": "SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.",
"sessionStorage": "SecurityError: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.",
"cookie": "ok",
"appErr": true,
"title": "",
"snippet": "Application error: a client-side exception has occurred (see the browser console for more information)."
}
控制台运行时异常(sessionStorage 一个接一个把 3 个模块带崩):
SecurityError: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.
at ... /_next/static/chunks/app/%5Blocale%5D/harness/page-64b7fc38c3c75a99.js // useRegion 读地区缓存
at ... /_next/static/chunks/6872-0ba11e0d1d1532e1.js // app-kit tracker
at ... /_next/static/chunks/app/%5Blocale%5D/layout-785e8a559058e2b3.js // NextPageVisitSetup
→ Error: Minified React error #423 (client-side exception)
→ 整页被替换为 "Application error: a client-side exception has occurred"
服务端与静态资源正常(已排除网络/CDN/部署问题):
GET https://www.deepseek.com/en/harness/ → HTTP 200,204,155 字节,server: tencent-cos;
HTML 中引用的 25 个 /_next/static/* JS/CSS 全部 200 OK,无 404、无构建哈希失效。
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Summary
浏览器若禁止 www.deepseek.com 使用 Cookie / 网站数据(storage),打开 https://www.deepseek.com/en/harness/(中文版 https://www.deepseek.com/harness/ 同样)会整页白屏,只显示:
原因:官网前端在客户端首屏渲染阶段未做异常保护就访问
sessionStorage,浏览器抛出的SecurityError未被捕获,冒泡到 Next.js 错误边界后导致整棵树被卸载 → 整页替换为上面这句话。Reproduction
在 Chrome 中阻止该站点的 Cookie / 网站数据后打开页面即可 100% 复现:
deepseek.com加入"不允许"列表);Application error: a client-side exception has occurred。对照(同一台机器、同一浏览器,仅切换存储权限):
indexedDB访问抛错caches访问抛错Current behavior
复现环境(Windows 11 + Chrome 154.0.8037.58
--headless=new,用真实的用户配置Default/Preferences写入profile.content_settings.exceptions.cookies = block复现,非靠脚本伪造):{ "localStorage": "SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.", "sessionStorage": "SecurityError: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.", "cookie": "ok", "appErr": true, "title": "", "snippet": "Application error: a client-side exception has occurred (see the browser console for more information)." }控制台运行时异常(
sessionStorage一个接一个把 3 个模块带崩):服务端与静态资源正常(已排除网络/CDN/部署问题):
GET https://www.deepseek.com/en/harness/→HTTP 200,204,155 字节,server: tencent-cos;/_next/static/*JS/CSS 全部200 OK,无 404、无构建哈希失效。可疑代码位置
/_next/static/chunks/6872-0ba11e0d1d1532e1.js的 app-kit 运行时模块90182,在模块顶层裸调用(无 try/catch):同一模块里
class R { deprecate(e){ localStorage.removeItem(e) } ... }同样没有保护。而该模块其他位置的存储访问是包了try{...}catch的(例如日志上报路径),说明这两处属遗漏而非有意设计:另外
HarnessContent的useRegion、NextPageVisitSetup、RememberLocale、CookieBanner也都在渲染期直接读写存储,建议一并排查。Expected behavior
messages/IP 接口结果、追踪不写缓存),并照常渲染页面;Application error。顺带建议:官网是否可以在
<head>里加一段存储可用性探测,为用户显示一句可操作的提示("请允许本站使用 Cookie 与网站数据"),而不是暴露 React 的通用错误文案。Environment
https://www.deepseek.com/en/harness/、https://www.deepseek.com/harness/(同一套 layout,均受影响),构建 buildIdfDMB1ylcmYWZcnmfQDZrt,页面Last-Modified: Tue, 29 Sep 2026 11:56:01 GMTSecurityError的浏览器/设置均可触发Access is denied for this document.)如果方便的话,也可以直接在 Chrome 里把该站点设为"允许 Cookie 和网站数据"验证:页面立刻恢复正常。
All reactions