Support Q & A Home

Ask A Question

Anyone can ask or answer a question here, but our support engineers actively monitor your questions; we typically answer within a day or two.

Filter
Viewing Page 2 of 99 (20 questions out of 1979)
1
replies

I setup a nuget feed with an apikey and I get a 403 forbidden any time that I try to push a package.
OS: Windows 10 Enterprise
Version: 10.0.14393 Build 14393
Proget was installed with a new instance of sql express, integrated web server, and is running as a network service.

image

c:\proget-test>nuget push test.package.1.0.0.nupkg -Source http://localhost:81/nuget/TestFeed -ApiKey 01168dd1-99ce-4a0e-8d82-d662d35b3474
Pushing test.package.1.0.0.nupkg to 'http://localhost:81/nuget/TestFeed'...
  PUT http://localhost:81/nuget/TestFeed/
  Forbidden http://localhost:81/nuget/TestFeed/ 39ms
Response status code does not indicate success: 403 (Forbidden).

Product: ProGet
Version: 4.7.14

1
replies

How do I target MSBuild 15.0 on my server? I have 15.0 installed but my project is still building with 14.0. I know that Microsoft has made some changes to the directory locations and no longer uses the registry values with 15.0.

I found 15.0 installed in the following locations:
C:\Program Files (x86)\MSBuild\15.0
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild

And I have the .Net framework 4.6.2 installed here:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319

Thanks!

Product: BuildMaster
Version: 5.7.2

2
replies

I would like my Nuget feed to reject pushes where the version already exists.

I've tried searching and find a lot of references to permission "Feeds_OverwritePackage" but, in v4.7 I don't see this as a task, or any other permissions area.

Can anyone help me figure this out?

Product: ProGet
Version: 4.7.13

12
replies

I'm trying to push a nuget package to ProGet, but keep getting a 403 error.

.\tools\nuget.exe push .\Hum.3.5.4.nupkg -ApiKey b079f1f5-a4d7-4ef9-8af3-0b456779ba88 -Source http://packages.nisportal.com/nuget/nis/

Result in

    Pushing Hum.3.5.4.nupkg to 'http://packages.nisportal.com/nuget/nis/'...
      PUT http://packages.nisportal.com/nuget/nis/
      Forbidden http://packages.nisportal.com/nuget/nis/ 38ms
    Response status code does not indicate success: 403 (Forbidden).

The ApiKey is configured on the feed. I've also tried without ApiKey.

I've tried assigning the anonymous user pushing priviliges.

Product: ProGet
Version: 4.7.13

1
replies

Hello,

After updating from Proget 4.7.11 to 4.7.13 we've noticed change during package upload to Nuget feed. If you tried to upload package with the same version that was already existing on that feed.

It used to return error:

Failed to process request. 'A package with id 'PackageID' and version '0.16.3-beta03' already exists and cannot be modified.'.
The remote server returned an error: (409) Conflict..

But now it asks for credential to elevate permissions:

nuget-3.4.4.exe push "PackageID.0.16.3-beta03.nupkg" apikey -Source api-endpoint )
Pushing PackageID.0.16.3-beta03.nupkg to 'api-endpoint/
Forbidden api-endpoint 19ms
Please provide credentials for: api-endpoint
UserName: Password: Object reference not set to an instance of an object.

Is this desired effect? Can it be toggle off in options?

Product: ProGet
Version: 4.7.13

1
replies

We want to be able to see our software packages with pre-releases (if enabled) in Visual Studio. But only the pre-releases of our own packages. Not from nuget.org or other externals sources.

Would this be possible with the ProGet Connectors?

Best regards
Timo Stamm

Product: ProGet
Version: 4.7.11

5
replies

I've been trying the community edition, and have been having issues deploying to vsix feeds. I've seen an example with curl, http://inedo.com/support/questions/6059, but that didn't provide much detail given the error I'm receiving:

HTTP Status 500

Details from Proget

An error occurred processing a POST request to http://192.168.1.136:81/vsix/VSIXSample/: Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.
Details: System.IO.InvalidDataException: Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.
at System.IO.Compression.ZipArchive.ReadCentralDirectory()
at System.IO.Compression.ZipArchive.GetEntry(String entryName)
at Inedo.ProGet.Feeds.Vsix.VisualStudioPackageManifest.ReadFromPackage(Stream packageStream)
at Inedo.ProGet.Feeds.Vsix.VsixFeed.<InstallPackageInternalAsync>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.ProGet.WebApplication.FeedEndpoints.Vsix.VsixFeedHandler.<ProcessRequestAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler.FeedRequestHandler.<ProcessRequestAsync>d__8.MoveNext()

I've been using to attempt deploy w/ C# in Linqpad:

HttpClient client = new HttpClient();

client.BaseAddress = new Uri("http://localhost:81/vsix/");
client.DefaultRequestHeaders.Accept.Clear();
var byteArray = Encoding.ASCII.GetBytes("admin:Admin");
client.DefaultRequestHeaders.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Basic", Convert.ToBase64String(byteArray));

using (var content = new MultipartFormDataContent("Upload----" + DateTime.Now.ToString(System.Globalization.CultureInfo.InvariantCulture)))
{
	var sourceFile = File.ReadAllBytes(@"ExtensionsTest.vsix");
	var streamContent = new StreamContent(new MemoryStream(sourceFile));
 	streamContent.Headers.ContentType = new MediaTypeHeaderValue("application/vsix");
                
	content.Add(streamContent, "ExtensionsTest.vsix", "ExtensionsTest.vsix");
	using (var message = await client.PostAsync("VSIXSample/", content))
	{
      var input = await message.Content.ReadAsStringAsync();
	}
}

I've also compare the contents of the generated body against the what proget is sending when manually uploading from the page, I know this doesn't doesn't post to the same endpoint but I thought I've at least compare, and semantically they looked similar.

If someone can point me to, what I assume is, my obvious bug I've overlooking, I'd appreciate it.

Product: ProGet
Version: 4.7.13

11
replies

Hi,

Is there a way to filter the results from a request to NuGetPackages_GetLatest based on a tag value?

Thanks,
Joel

Product: ProGet
Version: 4.7.13

1
replies

We have a maven feed configured, when maven searched for dependicies it calls http://.../parent-pom/1.0.0-SNAPSHOT/parent-pom-1.0.0-20170329.175737-1.pom

This url causes the ProGet app pool to crash and stop with a WAS communication error

Product: ProGet
Version: 4.7.11

1
replies

Hi

I am trying to call release and package deployment api endpoints through Powershell script but getting below error while trying to call create release and create package api:

$response = Invoke-RestMethod 'http://<<BuildMasterServer>>/api/releases/packages/create?releaseNumber=1.0.2&applicationName=DeployWWMapping&key=5WRTeJcctiY32u2bEqTb4Q=='
Error: Method Not Supported.

Though Get Release endpoint is returning the correct JSON object. Problem is with create release and package endpoint.

Product: BuildMaster
Version: 5.6.11

2
replies

Hi,

I am working on installation of multiple agents on same service box task.
In order to make the agent box use port ‘6468’, I changed the port against the agent server in build master to 6468. It gave error status. When I ran the concerned application using:
'for server <agent box name>
{ }'
I got the error:
'System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 137.201.129.250:6468'

I am using the Manually Installed Agent for port 6468.
Please suggest what needs to be done in order that the target machine should not refuse the connection.

Product: BuildMaster
Version: 5.7.2

1
replies

Hi Guys,

Is it possible to pull docker images without login in via docker console if the "Anonymous" "user" is set to download and view packages in the settings?

Thanks in Advance!

Product: ProGet
Version: 4.7.13

1
replies

I tried to push a nuget that uses SemVer 2.0.0

nuget push Services.0.2.0-pre.1.nupkg

ProGet rejects this (500):
An error occurred processing a PUT request to http://dev1:81/nuget/shared/: Invalid version number.

Is SemVer 2.0.0 supported?

Product: ProGet
Version: 4.7.13

5
replies

Hi,

I am working upon Artifactory extension Promote Build operation. When I try to run the concerned application, I get the below error:
"ERROR: 404 Cannot find target repository by the key '<Some target repository name>'."

I tried with using "" before/after the repository name thinking that it might be asking for the path, but nothing was of any help. Please help me get through this error.

Product: BuildMaster
Version: 5.7.2

2
replies

Hi
I want to update my existing ProGet servers from 3.8.0 Basic to 4.7.13 Enterprise. Is it a straight upgrade to change to a different edition?

Thanks,
Joel

Product: ProGet
Version: 4.7.13

3
replies

Is NuGet v3 supported now? Some packages are requiring NuGet v3 to restore, e.g.: Newtonsonft v10, aka, the most used nuget package in .NET ecosystem.

This is a dealbreaker for builds running on ProGet.

Product: ProGet
Version: 4.7.13

3
replies

Hi,

We have been trying to implement docker image publish to our ProGet installation but the process fails with the following error:

error parsing HTTP 400 response body: invalid character 'B' looking for beginning of value: "Bad Request"

It authenticates with success, then tries to push the image and fails with that error. Don't have any sort of similar error with NuGet, Maven, NPM.

Any thoughts?

Thanks!

Product: ProGet
Version: 4.7.13

3
replies

Hi
I have created deployment plan in BuildMaster and need to trigger the create release and deployment activity through TFS (if possible) or web api. I am trying to use api endpoints for release and deployment api like below but no use:
http://buildmaster/post/api/releases/create?applicationName=DeployWWMapping&releaseNumber=1.1.3&pipelineName=TriggerTFSBuildDeploy&key=5WRTeJcctiY32u2bEqTb4Q==
Can you please help how we can use the api to trigger release and deployment from api. Also is there a way to do same using TFS?

Product: BuildMaster
Version: 5.6.11

1
replies

Hi,

I am working upon Retrieve All Build Artifacts operation. When I run the concerned application, I get the below error:
"ERROR: 404 Could not find any build artifacts for build 'builds.json' number '1.2.4'."

builds.json is the build file I have uploaded to the jFrog Artifactory and 1.2.4 is the build number.
Now, in the Artifact library of jFrog, there is an artifact file named "Artifact4.txt" in which I have added properties as - build: builds.json and number: 1.2.4, but I am still getting the error.

Please suggest why is it not able to find any artifact against the builds.json.

Product: BuildMaster
Version: 5.7.2

1
replies

I downloaded the Free Version of ProGet and activated it.

According to this the Free Version doesn't have Package Promition and Vulnerability Scanning.

But I can use both of these Features in my Free Version. Not that I'm complaining, but... is that in purpose?

Product: ProGet
Version: 4.7.13

Ask A Question
Page: 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99