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

Aperta
#81 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend, desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)

Lingua principale
TypeScript
Stelle
277
Fork
27
Merge medio
2h 47m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DuskBotAI/duskbot

Tutte le issue di DuskBotAI/duskbot

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.