Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. mike.mackenna_9922

    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!

    M Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    mike.mackenna_9922

    @mike.mackenna_9922

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

    mike.mackenna_9922 Unfollow Follow

    Latest posts made by mike.mackenna_9922

    • Powershell "Unable to resolve package source" - Proget PSRepository

      Hello. I am new to proget, I inherited it from the former net admin. It is largely used by the syasadmins to run powershell scripts to stage new computers. They came to me with this problem. I am not sure when this problem, but maybe within the year.

      Proget version 5.1.7 (Build 2)

      there are various commands that will cause the error, but for example, when running a find-module -name XYZ, powershell returns
      "
      WARNING: Unable to resolve package source https://www.powershellgallery.com/api/v2'.
      WARNING: Unable to resolve package source 'http://proget.domain.org/nuget/ps'
      "

      I looked into the unable to resolve package error and I found plenty about the powershellgallery.com. In fact, if I run this command, the powerhsellgallery.com error goes away and I am left with only the local proget/nuget repository error.
      "[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12"

      This leads me to believe that the error with the local repository has something to do with TLS or another type of encryption. The issue is that I have added all the reg keys that I found referenced to force the strong encryption to no change.

      I am not sure how to go about identifying what proget is requesting be used. Any insight would be appreciated.

      This is happening on any computer/server I have tested with. I am able to register-psrepository successfully, but cannot make a connection to it after that.

      posted in Support
      M
      mike.mackenna_9922