Details
-
Type:
Bug
-
Status: New
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.14.15
-
Fix Version/s: None
-
Component/s: NPM
-
Labels:None
-
Notability:4
Description
- Create an npm proxy repository.
- Right click on it and mark it as "out of service".
- Go "administration/logging" and add a DEBUG logger for: remote.storage.outbound
- Make a request for npm metadata through the proxy:
http://localhost:8081/nexus/content/repositories/npm-proxy/lodash
Check the logs, and observe that an outbound request is made.
jvm 1 | 2020-02-19 13:49:14,938-0600 INFO [proxy-3-thread-2] admin org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage - Initializing remote transport for proxy repository "npm-proxy" [id=npm-proxy]...
jvm 1 | 2020-02-19 13:49:49,115-0600 DEBUG [qtp2014765845-81] admin remote.storage.outbound - [npm-proxy] GET https://registry.npmjs.org/lodash
jvm 1 | 2020-02-19 13:49:49,174-0600 DEBUG [qtp2014765845-81] admin remote.storage.outbound - [npm-proxy] GET https://registry.npmjs.org/lodash -> HTTP/1.1 200 OK; 58.98 ms
Expected: Out of service proxy repositories should not make outbound requests.
Attachments
Issue Links
- is related to
-
NEXUS-18705 repository-changelog requests from Nexus 3 upgrade can trigger Nexus 2 outbound requests even though proxy repository is blocked
-
- Closed
-