Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. mike.mackenna_9922
    3. Posts
    M
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    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
    • 1 / 1