Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-21277

NPM registry affected by global npm failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 6.16.0
    • Fix Version/s: None
    • Component/s: NPM
    • Labels:
      None
    • Severity:
      High
    • Requirement Status:

      UNCOVERED

      Description

      Hello.

      During today's NPM failure (https://github.com/npm/cli/issues/836) we experienced the same problem with our hosted Artifactory.

      We use npm ci for npm packages installation and saw the following errors:

      Example 1:
      59 verbose type Error
      60 verbose stack Error: 403 Forbidden: node-xmldom@0.1.28
      60 verbose stack     at fetch.then.res (C:\Program Files\nodejs\node_modules\npm\node_modules\pacote\lib\fetchers\registry\fetch.js:42:19)
      60 verbose stack     at tryCatcher (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23)
      60 verbose stack     at Promise._settlePromiseFromHandler (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:512:31)
      60 verbose stack     at Promise._settlePromise (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:569:18)
      60 verbose stack     at Promise._settlePromise0 (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:614:10)
      60 verbose stack     at Promise._settlePromises (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:693:18)
      60 verbose stack     at Async._drainQueue (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:133:16)
      60 verbose stack     at Async._drainQueues (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:143:10)
      60 verbose stack     at Immediate.Async.drainQueues [as _onImmediate] (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:17:14)
      60 verbose stack     at runCallback (timers.js:705:18)
      60 verbose stack     at tryOnImmediate (timers.js:676:5)
      60 verbose stack     at processImmediate (timers.js:658:5)
       
      Example 2:
      npm ERR! 429 Too Many Requests: diff@3.3.1
       
      In npm logs we see that npm was sending requests to Artifactory
       
      10 silly tree      'node-xmldom' => LogicalTree {
      10 silly tree        name: 'node-xmldom',
      10 silly tree        version: '0.1.28',
      10 silly tree        address: 'node-xmldom',
      10 silly tree        optional: false,
      10 silly tree        dev: false,
      10 silly tree        bundled: false,
      10 silly tree        resolved:
      10 silly tree         'https://artifacts.aras.com:443/artifactory/api/npm/ENG-npm-All/node-xmldom/-/node-xmldom-0.1.28.tgz',
      10 silly tree        integrity: 'sha1-VqkkrObLxo1lCVbQGqM8wgQeBVA=',
      10 silly tree        dependencies: Map {},
      10 silly tree        requiredBy: [Set] },
       
      But for some reason it was affected by this global npm outage.
       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            asavanchuk Aliaksei Savanchuk
            Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: