Wanted to share the output from a client trying to install a package:
25 silly packumentCache corgi:http://localhost/npm/Chainguard/lodash cache-miss
26 http fetch GET 200 http://localhost/npm/Chainguard/lodash 765ms (cache miss)
27 silly packumentCache corgi:http://localhost/npm/Chainguard/lodash set size:6616 disposed:false
28 http fetch GET http://localhost/npm/Chainguard/lodash/-/lodash-4.17.20.tgz attempt 1 failed with 500
29 http fetch GET http://localhost/npm/Chainguard/lodash/-/lodash-4.17.20.tgz attempt 2 failed with 500
30 http fetch GET http://localhost/npm/Chainguard/lodash/-/lodash-4.17.20.tgz attempt 3 failed with 500
31 http fetch GET 500 http://localhost/npm/Chainguard/lodash/-/lodash-4.17.20.tgz 73187ms attempt #3 (cache skip)
32 verbose stack HttpErrorGeneral: 500 Internal Server Error - GET http://localhost/npm/Chainguard/lodash/-/lodash-4.17.20.tgz - WebException
32 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-fetch\lib\check-response.js:103:15
32 verbose stack at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
33 verbose statusCode 500
34 verbose pkgid lodash@http://localhost/npm/Chainguard/lodash/-/lodash-4.17.20.tgz
35 error code E500
36 error 500 Internal Server Error - GET http://localhost/npm/Chainguard/lodash/-/lodash-4.17.20.tgz - WebException
37 silly unfinished npm timer reify 1768329298512
38 silly unfinished npm timer reify:unpack 1768329299498
39 silly unfinished npm timer reifyNode:node_modules/lodash 1768329299498
We have this same behavior for both NPM and Python. This presents as a 401 in the WebUI but a 500 from a client.
Metadata requests: HTTP 200 (credentials forwarded successfully)
File downloads: HTTP 500 "WebException" (credentials NOT forwarded, underlying 401 from upstream)