ioredis is inoperable in Fresh 2
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 44/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- deno, node.js, typescript, vite
Direzione di ricerca
Start with the linked ioredis reproduction and compare running it through the Vite dev server with deno run -A test_redis.ts, which the report says works in the same environment. Trace how Fresh 2 runs the Vite dev server and identify what causes ioredis to time out there. Done means ioredis works through the dev server without the reported ETIMEDOUT.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I am migrating a large Fresh 1 app to Fresh 2 and I am blocked by a guaranteed ETIMEDOUT in ioredis in the vite dev server. https://github.com/ewired/fresh-redis-experiment/tree/ioredis
Task dev vite
VITE v7.3.1 ready in 261 ms
➜ Local: http://127.0.0.1:5173/
➜ Network: use --host to expose
➜ press h + enter to show help
ioredis v5 does not support plugging third-party Promise library anymore. Native Promise will be used.
GET http://127.0.0.1:5173/
[ioredis] Unhandled error event: Error: connect ETIMEDOUT
at Socket.eval (/home/user/Documents/fresh-redis-experiment/node_modules/.deno/[email protected]/node_modules/ioredis/built/Redis.js:216:27)
at Object.onceWrapper (ext:deno_node/_events.mjs:559:14)
at Socket.emit (ext:deno_node/_events.mjs:436:20)
at Socket._onTimeout (node:net:1007:8)
at cb (ext:deno_node/internal/timers.mjs:85:49)
at callback (ext:deno_web/02_timers.js:42:7)
at eventLoopTick (ext:core/01_core.js:223:13)
[ioredis] Unhandled error event: Error: connect ETIMEDOUT
at Socket.eval (/home/user/Documents/fresh-redis-experiment/node_modules/.deno/[email protected]/node_modules/ioredis/built/Redis.js:216:27)
at Object.onceWrapper (ext:deno_node/_events.mjs:559:14)
at Socket.emit (ext:deno_node/_events.mjs:436:20)
at Socket._onTimeout (node:net:1007:8)
at cb (ext:deno_node/internal/timers.mjs:85:49)
at callback (ext:deno_web/02_timers.js:42:7)
at eventLoopTick (ext:core/01_core.js:223:13)
^C
In the same environment, deno run -A test_redis.ts works fine, and ioredis is used without logging the Promise warning or having ETIMEDOUT.
- Lingua principale
- TypeScript
- Stelle
- 13.8k
- Fork
- 757
- Merge medio
- 3m
- PR unite (30g)
- 2
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
- 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 freshframework/fresh
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
freshframework/fresh#3920 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
freshframework/fresh#3833 ·
-
feat
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
freshframework/fresh#3803 · 1 commento ·
-
Did you stop maintaining it?Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
freshframework/fresh#3918 · 1 commento · 4 reazioni ·
-
Tab title doesn't update to <Head> <title> when navigating to a page with another <title>Forse già presa @1AbdullahButt l’ha presa 8 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
freshframework/fresh#3916 ·
Tutte le issue di freshframework/fresh
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
software-mansion/argent#1946 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
podman-desktop/podman-desktop#20216 ·
I maintainer di solito rispondono entro 1 giorno
-
[Type] Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
WordPress/ai#1386 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
omdsh-dev/DSH-better-sidebar#1205 ·
I maintainer di solito rispondono entro 3 giorni