After uninstalling an own server, the desktop app stays on it and shows Cloudflare's Error 1033 page

未关闭
#81 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
65/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
backend, desktop

调研方向

Start by tracing how the desktop app learns that an own server has been unlinked and how it chooses the current environment; the issue does not name files or tests. Reproduce by selecting a Cloudflare-linked server, running the uninstall command from the issue, and checking the app window. Done when unlinking returns the app to this computer or shows a removed-server state with Forget and Connect to a server actions.

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

描述

What happened

I removed an own server with uninstall.sh (it reported "Unlinking from your app... done, the app sees it as unlinked"). The desktop app kept that server selected as the current environment and showed Cloudflare's raw error page for the old quick-tunnel address:

Error 1033 - Cloudflare Tunnel error
... is configured as a Cloudflare Tunnel, and Cloudflare is currently unable to resolve it.

There was no message saying the server was gone and no way back from that page. I had to find Server > This computer / Forget in the menu bar.

Expected: once the server is unlinked, the app switches back to this computer, or shows a "this server was removed" state with Forget and Connect to a server actions, instead of the tunnel provider's error page.

Steps to reproduce
  1. Link an own server with the --cloudflare install line, and keep it selected in the desktop app.
  2. On the server, run curl -fsSL https://link.dusk.bot/uninstall.sh | sh -s -- --yes.
  3. Look at the desktop app window.
Version

desktop 0.2.18

Platform

macOS + Own server (VPS)

主要语言
TypeScript
星标
277
派生
27
平均合并
2 小时 47 分钟
30 天内合并 PR
1

环境准备

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

从这里开始

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

DuskBotAI/duskbot 的其他 Issue

查看 DuskBotAI/duskbot 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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