Replies: 1 comment
-
Why was this question moved to discussion? Isn't this a bug? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Your Environment
Describe the bug
I've set up a private npm registry using Verdaccio (version 5.5.0) and attempted to change the default uplink source. According to the official documentation, Verdaccio should prioritize fetching packages from the local repository and then check the upstream source if needed. However, I've encountered an issue: despite updating the configuration of the uplink source, Verdaccio seems to continue fetching packages primarily from the old uplink source instead of the new one.
https://registry.npmmirror.com is the old uplink source
https://mirrors.huaweicloud.com/repository/npmi is a new uplink source
To Reproduce
Screenshots, server logs, package manager log
http --- 172.18.43.198 requested 'GET /cliui'
info --- auth/allow_action: access granted to: �[90mundefined�[39m
info --- allowed access for cliui
info --- making request: 'GET https://mirrors.huaweicloud.com/repository/npm/cliui'
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/cliui' (streaming)
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/cliui', bytes: �[33m0�[39m/�[33m67756�[39m
http --- �[33m200�[39m, user: �[1mnull�[22m(172.18.43.198), req: 'GET /cliui', bytes: �[33m0�[39m/�[33m11634�[39m
http --- 172.18.43.198 requested 'GET /center-align'
info --- auth/allow_action: access granted to: �[90mundefined�[39m
info --- allowed access for center-align
info --- making request: 'GET https://mirrors.huaweicloud.com/repository/npm/center-align'
http --- 172.18.43.198 requested 'GET /wordwrap'
info --- auth/allow_action: access granted to: �[90mundefined�[39m
info --- allowed access for wordwrap
info --- making request: 'GET https://mirrors.huaweicloud.com/repository/npm/wordwrap'
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/center-align' (streaming)
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/center-align', bytes: �[33m0�[39m/�[33m15899�[39m
http --- �[33m200�[39m, user: �[1mnull�[22m(172.18.43.198), req: 'GET /center-align', bytes: �[33m0�[39m/�[33m3861�[39m
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/wordwrap' (streaming)
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/wordwrap', bytes: �[33m0�[39m/�[33m9501�[39m
http --- �[33m200�[39m, user: �[1mnull�[22m(172.18.43.198), req: 'GET /wordwrap', bytes: �[33m0�[39m/�[33m3255�[39m
http --- 172.18.43.198 requested 'GET /align-text'
info --- auth/allow_action: access granted to: �[90mundefined�[39m
info --- allowed access for align-text
http --- 172.18.43.198 requested 'GET /lazy-cache'
info --- auth/allow_action: access granted to: �[90mundefined�[39m
info --- allowed access for lazy-cache
info --- making request: 'GET https://mirrors.huaweicloud.com/repository/npm/align-text'
info --- making request: 'GET https://mirrors.huaweicloud.com/repository/npm/lazy-cache'
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/lazy-cache' (streaming)
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/lazy-cache', bytes: �[33m0�[39m/�[33m38318�[39m
http --- �[33m200�[39m, user: �[1mnull�[22m(172.18.43.198), req: 'GET /lazy-cache', bytes: �[33m0�[39m/�[33m7642�[39m
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/align-text' (streaming)
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/align-text', bytes: �[33m0�[39m/�[33m22464�[39m
http --- �[33m200�[39m, user: �[1mnull�[22m(172.18.43.198), req: 'GET /align-text', bytes: �[33m0�[39m/�[33m5186�[39m
http --- 172.18.43.198 requested 'GET /longest'
info --- auth/allow_action: access granted to: �[90mundefined�[39m
info --- allowed access for longest
http --- 172.18.43.198 requested 'GET /repeat-string'
info --- auth/allow_action: access granted to: �[90mundefined�[39m
info --- allowed access for repeat-string
info --- making request: 'GET https://mirrors.huaweicloud.com/repository/npm/longest'
info --- making request: 'GET https://mirrors.huaweicloud.com/repository/npm/repeat-string'
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/longest' (streaming)
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/longest', bytes: �[33m0�[39m/�[33m19805�[39m
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/repeat-string' (streaming)
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/repeat-string', bytes: �[33m0�[39m/�[33m38571�[39m
http --- �[33m200�[39m, user: �[1mnull�[22m(172.18.43.198), req: 'GET /longest', bytes: �[33m0�[39m/�[33m4237�[39m
http --- �[33m200�[39m, user: �[1mnull�[22m(172.18.43.198), req: 'GET /repeat-string', bytes: �[33m0�[39m/�[33m6546�[39m
http --- 172.18.43.198 requested 'GET /is-buffer'
info --- auth/allow_action: access granted to: �[90mundefined�[39m
info --- allowed access for is-buffer
info --- making request: 'GET https://mirrors.huaweicloud.com/repository/npm/is-buffer'
http --- 172.16.0.198 requested 'GET /-/ping'
http --- �[33m200�[39m, user: �[1mnull�[22m(172.16.0.198), req: 'GET /-/ping', bytes: �[33m0�[39m/�[33m3�[39m
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/is-buffer' (streaming)
http --- �[33m200�[39m, req: 'GET https://mirrors.huaweicloud.com/repository/npm/is-buffer', bytes: �[33m0�[39m/�[33m36930�[39m
http --- �[33m200�[39m, user: �[1mnull�[22m(172.18.43.198), req: 'GET /is-buffer', bytes: �[33m0�[39m/�[33m5818�[39m
http --- 172.18.43.198 requested 'POST /-/npm/v1/security/audits/quick'
http --- 172.18.42.147 requested 'GET /cliui/-/cliui-1.1.0.tgz'
info --- auth/allow_action: access granted to: �[90mundefined�[39m
info --- allowed access for cliui
info --- making request: 'GET https://registry.npmmirror.com/cliui/-/cliui-1.1.0.tgz'
http --- �[33m200�[39m, user: �[1mnull�[22m(172.16.0.241 via 172.18.42.147), req: 'GET /cliui/-/cliui-1.1.0.tgz', bytes: �[33m0�[39m/�[33m3608�[39m
http --- 172.16.0.198 requested 'GET /-/ping'
http --- �[33m200�[39m, user: �[1mnull�[22m(172.16.0.198), req: 'GET /-/ping', bytes: �[33m0�[39m/�[33m3�[39m
http --- 172.16.0.198 requested 'GET /-/ping'
Beta Was this translation helpful? Give feedback.
All reactions