Detect lack of internet
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- cli, networking
Direzione di ricerca
The issue names no files or tests. Start by reproducing tea -S without an internet connection and trace the current network-error path; done means users see a clear offline message and retry guidance instead of the generic panic screen and issue-report prompt.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
ATM if you try to do any internet bound command line tea -S and there's no internet connection tea will report its usual error screen:
panic: spilt tea. we’re sorry and we’ll fix it… but you have to report the bug!
https://github.com/teaxyz/cli/issues/new?title=panic%3Aerror+sending+request+for+url+(https%3A%2F%2Fgithub.com%2Fteaxyz%2Fpantry%2Farchive%2Frefs%2Fheads%2Fmain.tar.gz)%3A+error+trying+to+connect%3A+dns+error%3A+failed+to+lookup+address+information%3A+nodename+nor+servname+provided%2C+or+not+known
TypeError: error sending request for url (https://github.com/teaxyz/pantry/archive/refs/heads/main.tar.gz): error trying to connect: dns error: failed to lookup address information: nodename nor servname provided, or not known
at async mainFetch (ext:deno_fetch/26_fetch.js:266:12)
at async fetch (ext:deno_fetch/26_fetch.js:490:7)
...
While any dev parsing this might easily realize what the issue is, it does invite the user to create an issue on Github. For a regular user it would save them and the tea team time by letting the user know the network is down and they should try again later.
- Lingua principale
- Rust
- Stelle
- 9.9k
- Fork
- 1.4k
- Merge medio
- 1g 17h
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pkgxdev/pkgx
-
`--query` flag gone Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
`pkgx --update` Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di pkgxdev/pkgx
Issue simili
-
Browser (wasm) relay client cannot connect to relays whose URL has a trailing-dot FQDN hostname Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
n0-computer/iroh#4550 ·
-
impl detach for native Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
paritytech/zombienet-sdk#591 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
farion1231/cc-switch#7638 · 1 commento ·
-
onnx-ir re-exports ModelProto and GraphProto but not NodeProto, AttributeProto and AttributeType Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100