Navigation

    Inedo Community Forums

    Forums

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

    4391728_4499

    @4391728_4499

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

    4391728_4499 Follow

    Best posts made by 4391728_4499

    This user hasn't posted anything yet.

    Latest posts made by 4391728_4499

    • 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