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 1 of 89 (20 questions out of 1767)
1
replies

Hi Support,

So, Proget is actually running on address "http://<oursite>:81/" and the proxy runs on "https://<oursite>". Proget still shows that it is running on Port 81 everywhere in the interface.

Is there a way to tell ProGet on what address it runs?

Thanks.

Jason

Product: ProGet
Version: 4.7.6

1
replies

Apologies for the vagueness of this but we, seemingly randomly, get the following error during our Build step across at least two of our plans:

DEBUG: Inheriting deployable (ID=0) from context.
DEBUG: Artifact "Project.SmokeTests" found (ApplicationId=80, ReleaseNumber=0.5, BuildNumber=51, DeployableId=0).
ERROR: Artifact file not found at expected path (D:\BuildMaster\Artifacts\A80\R525\B7615\Project.SmokeTests.zip). It may have been purged as part of a retention policy.

If we kick the build off again, it succeeds with no issues.

Incidence is pretty low (~1 in maybe 50 builds).

Any ideas what could cause this?

Product: BuildMaster
Version: 5.6.8

1
replies

Buenas tardes,

Actualmente tengo un problema en donde muestra el siguiente mensaje cada vez que intento cargar un paquete:

URL: http://localhost:81/packages/add-package/upload?feedId=1
Referrer: http://localhost:81/packages/add-package/upload?feedId=1
User: Admin
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36
Stack trace: en System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
en System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
en System.IO.Compression.ZipArchive..ctor(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
en Inedo.ProGet.Feeds.NuGet.NuGetFeed.<InstallOrUpdatePackageAsync>d__40.MoveNext()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
en Inedo.TaskExtensions.WaitAndUnwrapExceptions(Task task)
en Inedo.ProGet.WebApplication.Pages.NuGet.Packages.UploadPackagePage.<>c__DisplayClass9_0.<CreateChildControls>b__0()
en Inedo.Web.Controls.ButtonLinks.PostBackButtonLink.Inedo.Web.Controls.ISimplePostControl.ProcessValidPost()
en Inedo.Web.PageFree.SimplePageBase.ProcessPost(IEnumerable1 controls, Boolean isValid, IList1 validationResults, ISimplePostControl postbackTrigger, String eventName)
en Inedo.Web.PageFree.SimplePageBase.ProcessPost(IEnumerable1 controls, Boolean isValid, IList1 validationResults, ISimplePostControl postbackTrigger, String eventName)
en Inedo.Web.PageFree.SimplePageBase.ProcessPostBack()
en Inedo.Web.PageFree.SimplePageBase.<ProcessRequestAsync>d__48.MoveNext()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
en System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Product: ProGet
Version: 4.7.8

1
replies

I'm having trouble getting npm to login to a Docker-hosted ProGet (4.7.8 on c1858e8f1d8bdb46ed493a937e61bf951d7c730549abb54cd579e09332169510)

npm client is on macOS, I'm using npm adduser --verbose

login to Docker-hosted ProGet 4.7.8:

npm info it worked if it ends with ok
npm verb cli [ '/usr/local/Cellar/node/6.7.0/bin/node',
npm verb cli   '/usr/local/bin/npm',
npm verb cli   'adduser',
npm verb cli   '--verbose' ]
npm info using npm@3.10.7
npm info using node@v6.7.0
npm verb config Skipping project config: /Users/msmiley/.npmrc. (matches userconfig)
Username: mike.smiley
Password: 
Email: (this IS public) mike.smiley@a2ius.com
npm verb adduser before first PUT { _id: 'org.couchdb.user:mike.smiley',
npm verb adduser   name: 'mike.smiley',
npm verb adduser   password: 'XXXXX',
npm verb adduser   email: 'mike.smiley@a2ius.com',
npm verb adduser   type: 'user',
npm verb adduser   roles: [],
npm verb adduser   date: '2017-03-28T18:07:06.431Z' }
npm verb request uri http://ambrose.a2ius.com/npm/npm/-/user/org.couchdb.user:mike.smiley
npm verb request new user, so can't send auth
npm info attempt registry request try #1 at 2:07:06 PM
npm verb request id a8741d4396644053
npm http request PUT http://ambrose.a2ius.com/npm/npm/-/user/org.couchdb.user:mike.smiley

same login to 4.7.8 on Windows yields the following (as expected):

npm info it worked if it ends with ok
npm verb cli [ '/usr/local/Cellar/node/6.7.0/bin/node',
npm verb cli   '/usr/local/bin/npm',
npm verb cli   'adduser',
npm verb cli   '--verbose' ]
npm info using npm@3.10.7
npm info using node@v6.7.0
npm verb config Skipping project config: /Users/msmiley/.npmrc. (matches userconfig)
Username: (mike.smiley) 
Password: (or leave unchanged) 
Email: (this IS public) (mike.smiley@a2ius.com) 
npm verb adduser before first PUT { _id: 'org.couchdb.user:mike.smiley',
npm verb adduser   name: 'mike.smiley',
npm verb adduser   password: 'XXXXX',
npm verb adduser   email: 'mike.smiley@a2ius.com',
npm verb adduser   type: 'user',
npm verb adduser   roles: [],
npm verb adduser   date: '2017-03-28T18:02:20.183Z' }
npm verb request uri http://ignatius/npm/npm/-/user/org.couchdb.user:mike.smiley
npm verb request new user, so can't send auth
npm info attempt registry request try #1 at 2:02:20 PM
npm verb request id 662c0fb6d51a661f
npm http request PUT http://ignatius/npm/npm/-/user/org.couchdb.user:mike.smiley
npm http 201 http://ignatius/npm/npm/-/user/org.couchdb.user:mike.smiley
npm verb headers { 'cache-control': 'private',
npm verb headers   'content-length': '13',
npm verb headers   'content-type': 'application/json; charset=utf-8',
npm verb headers   server: 'Microsoft-HTTPAPI/2.0',
npm verb headers   'x-aspnet-version': '4.0.30319',
npm verb headers   'x-ua-compatible': 'IE=edge',
npm verb headers   'x-proget-version': '4.7.8.4',
npm verb headers   date: 'Tue, 28 Mar 2017 18:02:22 GMT' }
npm verb request invalidating /Users/msmiley/.npm/ignatius/npm/npm/-/user/org.couchdb.user_3Amike.smiley on PUT
npm info adduser Authorized user mike.smiley
Logged in as mike.smiley on http://ignatius/npm/npm/.
npm verb exit [ 0, true ]
npm info ok 

I've tried different npm feed names as well as different user names. HTTP PUT reply never arrives, but connection remains open.

Product: ProGet
Version: 4.7.8

2
replies

I understand that PSCall has the ability to access output parameters from the script asset being called. What I don't understand is is how to define the script so that it has output parameters that will be accessible to PSCall.

I'm very familiar with powershell. I've tried creating a script asset parameter with a [ref] parameter but that didn't work the way I did it.

By the way, the docs for PSCall include a reference to an hdars script. It would be nice if the content of the hdars script was included in the docs for PSCall as well.

Product: BuildMaster
Version: 5.6.9

2
replies

I have Proget set up with a user called "Jenkins" which is in the group "Pushers" which has permissions for the default tasks of Publish Packages and Promote Packages. This succeeded once (at least I think so, I'm not 100% sure if it succeeded while it was just under password control), but then I wanted to change the password so I deleted and recreated the user and made sure everything was OK again. However, now all pushes fail with:

Upload http://172.23.121.218:8080/maven2/internalmaven/com/couchbase/lite/couchbase-lite-android/2.0.0-SNAPSHOT/couchbase-lite-android-2.0.0-20170328.002044-1-javadoc.jar
Could not transfer artifact com.couchbase.lite:couchbase-lite-android:jar:javadoc:2.0.0-20170328.002044-1 from/to remote (http://<user>:<pass>@172.23.121.218:8080/maven2/internalmaven): Could not write to resource 'com/couchbase/lite/couchbase-lite-android/2.0.0-SNAPSHOT/couchbase-lite-android-2.0.0-20170328.002044-1-javadoc.jar'

I have recreated the group and user numerous times, as well as giving permission explicitly to the user. None of these has solved the problem. If I add anonymous access, then both the password URL and the non-password URL work for pushing. Is there a way to find more information about what went wrong? Is HTTP Basic Auth the incorrect way to do this?

Product: ProGet
Version: 4.7.4

2
replies

I noticed that dependent roles are now available on roles (which is great!). I am struggling to figure out how to get that to actually influence the order in which roles are executed. Not matter what I do, that order is always the same (the order as the roles appear in the "Servers" tab).

I created a simple test scenario, where I have 3 roles, where RoleA (Dependent on RoleB), RoleB (Dependent on RoleC), and RoleC (no dependencies). Would expect the order to be RoleC executes 1st, RoleB executes second, and RoleA last. But I was unable to influence the order of the execution.

Product: Otter
Version: 1.5.5

1
replies

Hello,

I'm trying to get combination of Proget, Docker and OctopusDeploy running.
It works almost perfectly except I've to guess a lot of things in my configuration because api supplied to docker register is not enough, and octopus can't query my proget properly.

According to:
https://octopus.com/docs/deploying-applications/docker-containers/registries

Octopus supports docker registry without problem but there is a note:

"Note that as of the current version of ProGet (version 4.6.7 (Build 2)), their Docker Registry Feed does not expose the full Docker API and is missing the _catalog endpoint which is required to list the available packages for release selection. It has been indicated that this may change in a future release."

My question is when are you going to implement _catalog endpoint and other things required for OctopusDeploy to query docker registry?

Product: ProGet
Version: 4.7.8

1
replies

I have a proget site which need to upload the maven package . I need to keep the maven package as source. kindly let me know the details

Product: ProGet
Version: 4.7.8

1
replies

I'm trying to access the full HTTP response resulting from an HTTP post operation but I only get the first 100 characters.

It looks like HttpPostOperation inherits from HttpOperationBase which has a MaxResponseLength as seen below.

[Category("Options")]
[DefaultValue(1000)]
[DisplayName("Max response length")]
public int MaxResponseLength { get; set; } = 1000;

The definition of this property seems to explain why I only see the first 1000 characters of the response. This also leads me to believe that the HTTP post operation editor in the plan should allow me to edit a "Max response length" field under the options category but no such field exists in the editor under the Options category. I also tried to add the field in the text only mode but it has no effect on plan execution and it freaks out the editor.

I was running 5.6.8 so I went ahead and updated to 5.6.9 just in case that could fix something but it had no effect.

Product: BuildMaster
Version: 5.6.9

1
replies

Intuitively (and maybe wrongly), I expect all of the statements in a plan to execute on the effective servers.

I got stuck for an hour today because the HTTP POST statement seems to execute locally rather than on the effective server(s). I came to this conclusion based on the following...

  • Execute plan
  • Plan adds host file entry to target server
  • Plan posts to a URL and post produces a host name not found error
  • Manually added host file entry to the server BuildMaster runs on
  • Re-execute plan and now post to URL finds the host name

Should the HTTP POST statement work execute on the target server or am I thinking about this wrong.

Product: BuildMaster
Version: 5.6.8

1
replies

I get a System.Runtime.Serialization.SerializationException when I try to push a *.upack package that has a dependency package specified.

Using this upack.json, the package is pushed successfully:

{
 "name": "app",
 "version": "1.0.0",
 "description": "Dummy application"
}

But using this upack.json, I get the error:

{
 "name": "app",
 "version": "1.0.0",
 "description": "Dummy application",
 "dependencies": [ "base:1.0.0" ]
}

Note that a package called base with version 1.0.0 does already exist in the feed

Error details:

Unhandled exception: System.Runtime.Serialization.SerializationException: The data contract type 'ProGet.Client.PackageDependency' cannot be deserialized because the required data member 'package' was not found.
   at System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson.ThrowMissingRequiredMembers(Object obj, XmlDictionaryString[] memberNames, Byte[] expectedElements, Byte[] requiredElements)
   at ReadPackageDependencyFromJson(XmlReaderDelegator , XmlObjectSerializerReadContextComplexJson , XmlDictionaryString , XmlDictionaryString[] )
   at System.Runtime.Serialization.Json.JsonClassDataContract.ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context)
   at System.Runtime.Serialization.Json.JsonDataContract.ReadJsonValue(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context)
   at System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, String name, String ns)
   at ReadPackageMetadataFromJson(XmlReaderDelegator , XmlObjectSerializerReadContextComplexJson , XmlDictionaryString , XmlDictionaryString[] )
   at System.Runtime.Serialization.Json.JsonClassDataContract.ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context)
   at System.Runtime.Serialization.Json.JsonDataContract.ReadJsonValue(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context)
   at System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)
   at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName)
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(XmlDictionaryReader reader)
   at ProGet.Client.Program.push(String package, String target, String user)

Product: ProGet
Version: 4.7.7

1
replies

Hi,

Is it possible to disable requiring api key or username pwd to push packages to proget server ?

Product: ProGet
Version: 4.7.7

1
replies

I'm having to trial-and-error, and have found this:

if I execute uploadProgetPackage with single file (xxx.exe), it all uploads fine.
If I execute with folder containing that EXE (binDir/), or (binDir/**/), it fails with
java.io.IOException: Remote call on Channel to /10.5.50.53 failed

Is there a limit to the package size being transferred from slave to master to ProGet server to ProGet DB?? Also, I cannot find any logs on the slave... where are the logs?? I've looked in the server (via web) and also do not see logs.

Environment:

  • Jenkins Server: 2.32.3 (on Win10), Inedo Plugin 0.7<br>
  • ProGet Server: 4.7.6 build5 running on same system as Jenkins Server
    using ProGet provided MySQL DB
  • Jenkins Slave: Win10

example success


13:31:16 [x64dbg] [ProGet] Sending POST as user 'build-auto' to http://XXXMYSERVERXXX.com:81/upack/Experiment/upload
13:31:16 [x64dbg] [ProGet] With application/zip content:
13:31:16 [x64dbg] 	... Content of file C:\Baseline_x64dbg.unpack ...
13:31:16 [x64dbg] 

[Pipeline] [x64dbg] echo
13:31:19 [x64dbg] upload succeeded

example failure


13:39:25 [x64dbg] [ProGet] Sending POST as user 'build-auto' to http://XXXMYSERVERXXX.com:81/upack/Experiment/upload
[Pipeline] [x64dbg] error
[Pipeline] [x64dbg] }
[Pipeline] [x64dbg] // dir
[Pipeline] [x64dbg] }
[Pipeline] [x64dbg] // node
[Pipeline] [x64dbg] }
[Pipeline] [x64dbg] // timestamps
[Pipeline] [x64dbg] }
[x64dbg] Failed in branch x64dbg
[Pipeline] // parallel
[Pipeline] echo
>>>>>>>>> ERROR:hudson.AbortException: java.io.IOException: Remote call on Channel to /10.5.50.53 failed

I'm not sure where the IP address 10.5.50.53 is coming from - the system running both Jenkins and Proget servers is 10.1.1.180. I will be checking that with my IT department.
In case its important, I've surrounded the Proget uploadProgetPackage with try{...} catch () {...}

Meanwhile, can you direct me to any documentation on the plugin and the upload (examples, restrictions, etc)??
thank you!

Product: ProGet
Version: 4.7.6

2
replies

What I'm attempting to do is to download a nuget package via the API because I want to integrate it with a JIRA plugin I'm writing. If I log into the page, on the left there's a button for "download" and if I click that in the browser, I get the package. I've tried various things and I can't seem to get it to download via connection to the API because it wants the user to be authenticated.

The latest thing I've tried is: http://proget-server/api/v2/package/{feedName}/{packageName}/{optional-version}?API_Key= (plus the appropriate API key, no sense in leaking that) - That url basically is coming from: https://inedo.com/support/tutorials/proget/get-the-complete-list-of-connected-feeds-using-the-proget-json-api

When I copy the URL out of my debug and throw it in my authenticated browser, it redirects and downloads. When I do it in incognito, it wants me to authenticate. When I do it programmatically I get a bunch of redirects that eventually it quits following.

What is the best way to configure this to allow for API driven downloads of the files without having to configure nuget on the target environment (since I'm not trying to install anything, just pull the file down)

Product: ProGet
Version: 4.6.2

1
replies

I'm using Otter 1.5.5 and have two environments (Test and Production). Each has an environment variable defined. I'm referencing the variables in an Asset Template. However, I always get an error saying that the variable is not defined when the job runs.

Also, the $EnvironmentName variable is always null/empty. If I put the following in my template:

Log-Debug Environemnt = "$EnvironmentName";
Log-Debug  GetVariableValue "$GetVariableValue(EnvironmentName)";
Log-Debug  IsVariableDefined "$IsVariableDefined(EnvironmentName)";

My output is:

DEGUG: Environemnt = ""
DEGUG: GetVariableValue ""
DEGUG: IsVariableDefined "True"

It appears that the Otter thinks the $EnvirnomentName variable is defined but has no value.

Product: Otter
Version: 1.5.5

4
replies

When trying to push a universal package using upack, we're getting a 500 error from the client:

Package: :helloworld
Version: 1.0.0
Unhandled exception: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
   at System.Net.HttpWebRequest.GetResponse()
   at ProGet.Client.Program.push(String package, String target, String user)

The feed in the ProGet UI is indicating we should use the following command:
upack.exe push http://proget.aws.cloud.apprenda.local/upack/packages

The package that we're trying to use will work fine either through the web UI or through Invoke-WebRequest with PowerShell based on the documentation (http://inedo.com/support/documentation/proget/reference/universal-feed-api-and-package-format)

Product: ProGet
Version: 4.7.6

1
replies

We have some source control providers configured in Buildmaster
but we had to "tighten security" on our Git repo. which requires credentials to be able to get the latest codes now. Where can I configure this in buildmaster?

Product: BuildMaster
Version: 4.9.7

1
replies

Hi!

I've tried to create npm connector, but I couldn't get list of packages

I've started Administration -> Scheduled Tasks -> FullNpmConnectorIndex and get error
http://prntscr.com/en2ddp

I thing it can be associated with http://blog.npmjs.org/post/157615772423/deprecating-the-all-registry-endpoint

Product: ProGet
Version: 4.7.7

0
replies

Hi,

I’m trying to upload the package(.msi) using Jenkins and I’m getting below error can you please help me on this?

[EnvInject] - Loading node environment variables.
Building on master in workspace D:\TextileCare\Branch\Releases\ConduitLocal\Release1.2
[ProGet] Packaging Artifacts
[ProGet] Sending POST as user 'admin' to http://evinhydsd0019:9088/upack/envision/upload
FATAL: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.io.ByteArrayOutputStream.grow(Unknown Source)
at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
at java.io.ByteArrayOutputStream.write(Unknown Source)
at sun.net.www.http.PosterOutputStream.write(Unknown Source)
at com.inedo.http.RawDataWriter.write(RawDataWriter.java:108)
at com.inedo.http.RawDataWriter.write(RawDataWriter.java:79)
at com.inedo.http.HttpEasy.getConnectionMethod(HttpEasy.java:631)
at com.inedo.http.HttpEasy.post(HttpEasy.java:555)
at com.inedo.proget.api.ProGetApi.uploadPackage(ProGetApi.java:171)
at com.inedo.proget.jenkins.UploadPackageBuilder$PutPackage.call(UploadPackageBuilder.java:237)
at com.inedo.proget.jenkins.UploadPackageBuilder$PutPackage.call(UploadPackageBuilder.java:191)
at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
at com.inedo.proget.jenkins.UploadPackageBuilder.perform(UploadPackageBuilder.java:180)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.Build$BuildExecution.build(Build.java:205)
at hudson.model.Build$BuildExecution.doRun(Build.java:162)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1728)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Archiving artifacts
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 8 second
Finished: FAILURE

Product: ProGet
Version: 4.7.6

Ask A Question
Page: 134567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889