Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. 4391728_4499
    3. Posts

    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!

    4 Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: ProGet push and install package 403 forbidden

      @atripp
      Thanks for your reply , following your instructions, the problem has been resolved in vs2022 , cmd like this:

      dotnet nuget add source https://someServer/myTeam -n myTeam -u myUsername -p myPassword --store-password-in-clear-text
      

      And, another way to solve (tested in VS2017 and VS2022) can add a nuget.config in solution root directory:

      <configuration>
          <packageSources>
              <add key="mynuget" value="my source url"  protocolVersion="3"/>
          </packageSources>
      	<packageSourceCredentials>
      		<mynuget>
      			<add key="Username" value="myuser" />
      			<add key="ClearTextPassword" value="mypwd" />
      		</mynuget>
      	</packageSourceCredentials>
      </configuration>
      

      So kind of you,thanks again.

      posted in Support
      4
      4391728_4499
    • ProGet push and install package 403 forbidden

      ProGet server is running in my docker with version V23.0.9!
      Successfully uploaded the package using the web server
      pkg.png

      Also, I can use my api key:

      dotnet nuget push MyAddLib.1.0.0.nupkg --api-key 4a4f07a709a28855011a2xxxxxxxx --source https://bugfixed.cn:20080/nuget/wuhensoft/v3/index.json

      but i failed with the 403 response:
      error: 无法加载源 https://bugfixed.cn:20080/nuget/wuhensoft/v3/index.json 的服务索引。
      error: Response status code does not indicate success: 403 (Forbidden).

      Similarly, I also failed to install using VS:
      nuget install MyAddLib -Version 1.0.0 -Source https://bugfixed.cn:20080/nuget/wuhensoft/v3/index.json
      [wuhensoft] 无法加载源 https://bugfixed.cn:20080/nuget/wuhensoft/v3/index.json 的服务索引。
      响应状态代码不指示成功: 403 (Forbidden)。

      The user name and password are both correct,and the api key is also valid。
      apikey.png
      permi.png

      How to solve it ? Thanks very much!

      posted in Support
      4
      4391728_4499
    • 1 / 1