Repository navigation
npm安装的版本,不能在局域网打开 #367
fflrichard
started this conversation in
General
Replies: 1 comment 1 reply
|
应该是刻意这样做的,防止小白(也防止 Agent )默认在服务器上运行,默认端口直接留给外界打开。 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
这是ai帮我做的修复:修好了,服务已重启并继续监听 0.0.0.0:3080。
根因:rc.6 的浏览器 bundle 用 crypto.randomUUID() 生成 RPC 请求 ID —— 这个 API 只在 secure context(HTTPS 或 localhost)存在,走 http://192.168.2.10 时浏览器没有它,导致每个 RPC 调用都抛错,工作区/预设就永远卡在"加载中"。仓库在 8 月 7 日已修复(random-uuid.ts shim,改用 getRandomValues),但 8 月 13 日发布的 rc.6 没带上。
已做:就地修补了安装包的两个 bundle(dsh-client-connection、dsh-client-ui-conversation 共 3 处调用),改为 getRandomValues 实现,已重启。注意这是本地热修,重新安装 dsh 会被覆盖,等修复版本发布后升级即可。
请在浏览器硬刷新(Ctrl/Cmd+Shift+R,绕过缓存的旧 bundle)后重试工作区和 agent 预设。
All reactions