You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make create a mirror for about 2000 packages in npm.
For each package, it fetches https://registry.npmjs.org/<package> and the downloads (https://api.npmjs.org/downloads/point/last-month/<package>) with Promise.all()
But there is a few errors while fetching.
Error: connection error received: not a result of an error
at mainFetch (ext:deno_fetch/26_fetch.js:182:43)
at eventLoopTick (ext:core/01_core.js:164:35)
at async fetch (ext:deno_fetch/26_fetch.js:392:7)
TypeError: error sending request from ***.***.***.***:38254 for https://api.npmjs.org/downloads/point/last-month/koishi-plugin-qsign (104.16.0.35:443): client error (SendRequest): http2 error: connection error received: not a result of an error
at mainFetch (ext:deno_fetch/26_fetch.js:182:11)
at eventLoopTick (ext:core/01_core.js:164:35)
at async fetch (ext:deno_fetch/26_fetch.js:392:7)
These errors appears randomly. Unfortunately, I can't provide a stable repro.
The text was updated successfully, but these errors were encountered:
I've seen the same issue in our Deno app which also makes a lot of network requests.
We're currently on Deno 1.30.0, and with that version, we mostly see occasional "conection reset" or "request has been canceled". After updating to Deno 2.1.2, we've started seeing this. (We had to revert the update for unrelated reasons, so I only have a small sample size for now.)
Version: Deno 2.1.2
I'm trying to make create a mirror for about 2000 packages in npm.
For each package, it fetches
https://registry.npmjs.org/<package>
and the downloads (https://api.npmjs.org/downloads/point/last-month/<package>
) withPromise.all()
But there is a few errors while fetching.
These errors appears randomly. Unfortunately, I can't provide a stable repro.
The text was updated successfully, but these errors were encountered: