Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Push to ProGet returning a 403



  • Hi,

    I'm trying to push to ProGet (running on IIS). However, when I push to my repository using Admin:Admin (I will change this soon) I get the error. I have followed the instructions in the documentation.

    F:\TFSOnline\PaginationHelpers\bin\Debug
    >nuget push PaginationHelpers.1.0.1.nupkg -ApiKey Admin:Admin -s http://pro
    get.zibrant.com/nuget/Zibrant
    Pushing PaginationHelpers 1.0.1 to 'http://proget.zibrant.com/nuget/Zibrant'...
    Failed to process request. 'There was an error processing the request: Invalid A
    PI key.'.
    The remote server returned an error: (403) Forbidden..
    

    Does anyone know what I'm doing wrong?

    Matt

    Product: ProGet
    Version: 3.1.0



  • Did you set an API key for the feed? That's the only way that message should appear - otherwise, as long as built-in (i.e. non-LDAP) authentication is used, it will parse the key as the username:password format.



  • I did set an API key and then I blanked it out again. Will this make a difference?

    I tried with the API key set and it still failed.

    Can I just enter a random string as an Api key?

    Matt



  • I can't seem to repro this - if I specify an API key for the feed that requires one, I get this error message:

    Failed to process request. 'There was an error processing the request: You are not authorized to add a package to this feed. By default, ProGet is not configured to allow unauthenticated users to publish packages to a feed. You will need to either authenticate (by using "name:pass" as your API Key) or give the Anonymous User the Feeds_AddPackage privilege.'.

    If I then use Admin:Admin or allow anonymous users to publish, then it works as expected. Did you change the Admin user's password by chance?


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation