question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

authorization required to access packag 4.2.2

See original GitHub issue
 warn --- http address - http://localhost:4873/ - verdaccio/4.2.2
 http <-- 304, user: zan(192.168.0.196 via 127.0.0.1), req: 'GET /@zan/panda', bytes: 0/0
 http <-- 401, user: null(192.168.0.196 via 127.0.0.1), req: 'GET /@zan/panda/-/panda-0.0.142.tgz', error: authorization required to access package @zan/panda

config

packages:
  '@zan/*':
    # scoped packages
    access: $authenticated
    publish: $authenticated
    unpublish: $authenticated
    
  '@*/*':
    # scoped packages
    access: $all
    publish: $authenticated
    unpublish: $authenticated
    proxy: npmjs

  '**':
    # allow all users (including non-authenticated users) to read and
    # publish all packages
    #
    # you can specify usernames/groupnames (depending on your auth plugin)
    # and three keywords: "$all", "$anonymous", "$authenticated"
    # access: $all
    access: $authenticated
    # allow all known users to publish/publish packages
    # (anyone can register by default, remember?)
    publish: $authenticated
    unpublish: $authenticated

    # if package is not available locally, proxy requests to 'npmjs' registry
    proxy: npmjs

# You can specify HTTP/1.1 server keep alive timeout in seconds for incomming connections.
# A value of 0 makes the http server behave similarly to Node.js versions prior to 8.0.0, which did not have a keep-alive timeout.
# WORKAROUND: Through given configuration you can workaround following issue https://github.com/verdaccio/verdaccio/issues/301. Set to 0 in case 60 is not enought.
server:
  keepAliveTimeout: 160

middlewares:
  audit:
    enabled: true

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
juanpicadocommented, Sep 10, 2019

Try with always-auth = true in your npmrc file

1reaction
zanjscommented, Sep 10, 2019

@juanpicado ok ! Thank you! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Safeguard Authentication Services 4.2.2 - Upgrade Guide
Achieve unified access control, authentication, authorization, and identity administration for Unix, Linux, and macOS systems by extending them into Active ...
Read more >
The Comprehensive Table of Contents Headings and Hierarchy
1.4.3 List of authorized persons to incorporate by reference ... 2, 3, 4, or 5 As needed Use appropriate sections. 312.23(a)(10)(ii).
Read more >
NISP eMASS Industry Operation Guide Version 1.pdf
4.2.2 OVERLAYS . ... The DISA eMASS User Guide can be accessed by selecting the “Help” ... All system security authorization packages.
Read more >
eRPT Plan User Manual (PDF) - CMS
Accessing eRPT Application from Within CMS Enterprise Portal .... 26 ... 4.2.2. Search for Packages and Documents . ... Approval – Step 1...
Read more >
Microsoft.Owin.Security 4.2.2 - NuGet
Common types which are shared by the various authentication middleware ... The ID prefix of this package has been reserved for one of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found