[Bug] 非 loopback 访问时 Settings 面板报错 "settings are unavailable in this browser" #4695
Replies: 4 comments
|
从 rc.2 源码看,这个现象是当前 Settings scope 的明确设计边界,不是 provider catalog、nginx 或 HTTPS 自身加载失败。
目前比较安全的三种选择:
完整英文诊断与架构图: https://sandbaseai.github.io/deepseek-harness-handbook/remote-settings-loopback.html Disclosure: I maintain the SandBase community handbook. |
|
The rc.2 source boundary makes this easier to classify: a non-loopback browser with no Settings RPC is outside the Web client configuration scope; an HTTP 403 is instead the Host/Origin or privileged-method trust fence; and a successful RPC followed by a write error points to provider schema, revision, or credential handling. --trusted-host changes request trust, not loopback capability or authentication. Safe topologies are an SSH loopback tunnel, a remote observer with settings managed out of band, or a separately authenticated configuration service. We documented the decision tree and threat boundary here: https://sandbaseai.github.io/deepseek-harness-handbook/remote-settings-loopback.html Disclosure: I contribute to this independent community handbook. |
|
@denial123789 那份分析把边界说清楚了(非 loopback 浏览器从初始化起就是 直接改
|
|
如果自己部署了登录和验证, 应该允许域名访问。 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
正文
Describe the bug
通过非本地回环地址(如局域网 IP 或域名)访问 dsh Web UI 时,点击“设置”或“Models”菜单,页面报错“加载提供方目录失败: settings are unavailable in this browser”,无法配置模型和 API Key。
To Reproduce
在服务器上启动 dsh:
bash
dsh web --port 3081 --trusted-host
在另一台设备的浏览器中通过局域网 IP 访问:https://:
点击左侧菜单“设置”或“Models”
页面报错:加载提供方目录失败: settings are unavailable in this browser
Expected behavior
通过非 loopback 地址访问时,Settings 面板应能正常加载并配置模型/API Key,或提供官方的远程访问认证方案。
Environment
@deepseek-ai/dsh 版本:0.1.1-rc.2(npm list -g @deepseek-ai/dsh)
Node.js 版本:v22.23.2
操作系统:Debian 12 (FNOS)
浏览器:Microsoft Edge 151 / Chrome 151
部署方式:nginx 反向代理 + HTTPS 自签名证书
Additional context
后端 API 正常(curl 测试返回非 403/502 响应)
通过 127.0.0.1:3080 本地访问时 Settings 面板可正常加载
社区已有类似反馈,且存在第三方补丁方案(如 dsh-remote和 patch_settings_memory.py),说明该问题是官方设计限制。
All reactions