WindmillWWindmill
Powered by
invakid404I
Windmill•12mo ago•
72 replies
invakid404

Intermittent 401 errors on private NPM packages

We're seeing some 401 errors in our Bun scripts during bun install of the form:

bun install v1.2.3 (8c4d3ff8)
error: GET https://npm.pkg.github.com/download/x/x0.0.1/xxx - 401
bun install v1.2.3 (8c4d3ff8)
error: GET https://npm.pkg.github.com/download/x/x0.0.1/xxx - 401


These errors only happen occasionally, and I cannot seem to understand on what basis. My assumption would be that specific workers are having trouble installing it, but I am unsure how I would debug this at all.

We have Bunfig install scopes configured at the Instance level in Windmill, so my assumption would be that all workers should be able to install private packages. I've also tried clearing the cache multiple times, which I thought used to fix the issue, but I cannot confirm that, as the errors seem to just come back eventually.

I don't know how the bunfig install scopes are given to the workers, but it may be worth mentioning that we use autoscaling, so in my head it does make some sense that it could be some race condition in the worker initialization itself that is causing this. Again, I am not sure how to confirm or deny this, so I would appreciate any pointers on how to collect more information regarding this issue.
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 5d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Next page

Similar Threads

Typescript types for npm packages
bnasonBbnason / help
2d ago
Private NPM registries not working
VentaVVenta / help
11mo ago
Embedded windmill app new 401 errors
tl_jacobTtl_jacob / help
5mo ago
AWS CodeArtifact Authentication Failing for NPM Packages
alllex229Aalllex229 / help
4mo ago