Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. araxnid_6067
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    araxnid_6067

    @araxnid_6067

    1
    Reputation
    13
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    araxnid_6067 Follow

    Best posts made by araxnid_6067

    • RE: Proget 6.0.4: Unauthorized: Access is denied due to invalid credentials.

      @atripp I updated my code to use Bearer auth and everything worked great. Thanks for the help.

      In my opinion you don't need to return API key authentication, but it would be great to write somewhere that you changed the authorization method.

      posted in Support
      araxnid_6067
      araxnid_6067

    Latest posts made by araxnid_6067

    • RE: Proget 6.0.4: Unauthorized: Access is denied due to invalid credentials.

      @atripp I updated my code to use Bearer auth and everything worked great. Thanks for the help.

      In my opinion you don't need to return API key authentication, but it would be great to write somewhere that you changed the authorization method.

      posted in Support
      araxnid_6067
      araxnid_6067
    • RE: Proget 6.0.4: Unauthorized: Access is denied due to invalid credentials.

      @atripp yes, very similar to my problem. I'll try tomorrow and get back with feedback.

      posted in Support
      araxnid_6067
      araxnid_6067
    • Proget 6.0.4: Unauthorized: Access is denied due to invalid credentials.

      we connected the proget server to our domain authorization. After that, it became impossible to call a DELETE request for docker blobs due to error 401: Unauthorized: Access is denied due to invalid credentials.
      72d61ec2-b856-4106-a9c1-cf2aa4f14606-image.png

      If we enable access for EVERYONE, then deletion is allowed
      If I understand correctly, first I need to get a token (call http://proget/v2/_auth) and use it when connecting to the service, but I did not find it in the documentation, where should I specify it?

      b5833b25-c313-4742-a51b-3771165693ae-image.png

      I tried to specify it in the header as a parameter with name "X-ApiKey" or "token", but still getting error 401. Please help with advice or link to documentation

      posted in Support
      araxnid_6067
      araxnid_6067
    • RE: Proget 6.0.4: can't remove docker image blob via API

      @atripp @Dan_Woolf thank you both so much!

      posted in Support
      araxnid_6067
      araxnid_6067
    • RE: Proget 6.0.4: can't remove docker image blob via API

      @Dan_Woolf thank you.

      so if I don't find a blob in DockerImageLayers_Extended it can be removed from disk manually ?

      posted in Support
      araxnid_6067
      araxnid_6067
    • RE: Proget 6.0.4: can't remove docker image blob via API

      @atripp thanks. yes, it works and clean up some blobs from disk.

      but I found on the disk a very old blobs that were created more than a year ago. Is it possible to see in the database or through the API where this blobs is used?

      posted in Support
      araxnid_6067
      araxnid_6067
    • Proget 6.0.4: can't remove docker image blob via API

      we have a custom retention policy. for this purpose, I wrote a program that calls an api to remove docker images from proget. it works in this way

      1. I get an image digest from heade "Docker-Content-Digest"

      https://proget.server.com/v2/<feed name>/library/<repository name>/manifests/<image tag>

      1. call DELETE request

      https://proget.server.com/v2/<feed name>/library/<repository name>/manifests/<digest>

      and we have a retention Rule customized on a feed
      "cached connector packages prerelease packages not requested for 30 days with all package usage removed for more than 30 days from the feed"

      What am I doing wrong ? Why aren't blobs being removed from disk?

      posted in Support
      araxnid_6067
      araxnid_6067
    • RE: Proget: docker login returns unauthorized

      Guys ?! It's a real blocker.

      posted in Support
      araxnid_6067
      araxnid_6067
    • RE: Proget: docker login returns unauthorized

      @atripp
      Unfortunately update didn't help.

      docker login proget.company.com
      Username: Admin
      Password:
      Error response from daemon: Get https://proget.company.com/v2/: unauthorized: authentication required
      
      posted in Support
      araxnid_6067
      araxnid_6067