Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not a result of an error when fetching same site fast #27332

Open
CyanChanges opened this issue Dec 11, 2024 · 0 comments
Open

not a result of an error when fetching same site fast #27332

CyanChanges opened this issue Dec 11, 2024 · 0 comments

Comments

@CyanChanges
Copy link

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>) 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant