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 18 of 105 (20 questions out of 2092)
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

1
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

3
replies

Is it possible to somehow call an operation with optional parameters without specifying the optional parameter names explicitly? Ideally I would like to be able to call an operation and pass in a map that contains the parameters. This would allow me to do something like the following where in reality %configuration is read in from an application variable that the user has access to change.

set %configuration = %{To: somebody, Subject: something important, Text: some text};
call Send-Email(%configuration);

Instead I have to know all optional parameters that might be set ahead of time resulting in something like

set set %configuration = %{To: somebody, Subject: something important, Text: some text};
call Send-Email(
To: $MapItem(%configuration, To),
Subject: $MapItem(%configuration, Subject),
Text: $MapItem(%configuration, Text)
);

This is fine for simple operations but when dealing with something like IIS::Ensure-AppPool that has over 40 parameters it quickly gets out of hand when different users need to specify a different subset of parameters. Currently all users need to specify all parameters with defaults even if they specifically only care about a couple.

Product: BuildMaster
Version: 5.6.8

1
replies

Hi,

Looking for web api to list all unique packages. Just the name and a few other attributes are of interest (e.g. version, repository).

Currently http://dr-tj-pkgsvr01/npm/npm only returns:
{
"db_name": "registry",
"doc_count": 418798,
"doc_del_count": 0
}

Is it possible to see the full list of all packages.

Product: ProGet
Version: 4.7.6

6
replies

I assume I am doing something wrong with my docker setup as this appeared after restarting a previously working instance. But I am at a loss as nothing changed in my config and the error is a bind error which only makes sense of the socket is being sent bad info.

Docker Command:
/usr/bin/docker run -v /etc/localtime:/etc/localtime:ro -v /home/proget/packages:/var/proget/packages -v /home/proget/extensions:/var/proget/extensions -p 8081:80 --name=proget --net=bridge -e PROGET_DATABASE="Server=172.17.0.1;Database=proget;User Id=;Password=;" inedo/proget:latest

Stack Trace:

Starting DockerUploadCleanupExecuter...

Unhandled Exception:
System.Net.Sockets.SocketException (0x80004005): The requested address is not valid in this context

Server stack trace:
at System.Net.Sockets.Socket.Bind (System.Net.EndPoint localEP) [0x0004c] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.EndPointListener..ctor (System.Net.HttpListener listener, System.Net.IPAddress addr, System.Int32 port, System.Boolean secure) [0x0004a] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.EndPointManager.GetEPListener (System.String host, System.Int32 port, System.Net.HttpListener listener, System.Boolean secure) [0x000be] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.EndPointManager.AddPrefixInternal (System.String p, System.Net.HttpListener listener) [0x00064] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.EndPointManager.AddListener (System.Net.HttpListener listener) [0x00030] in <5641e4edad4f4464ba58c620a7b8ea48>:0

Exception rethrown at [0]:
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr)
at (wrapper remoting-invoke) Inedo.Web.Server.HttpListenerHost:Start (Inedo.Web.Server.WebServerConfiguration)
at (wrapper xdomain-invoke) Inedo.Web.Server.HttpListenerHost:Start (Inedo.Web.Server.WebServerConfiguration)
at (wrapper remoting-invoke-with-check) Inedo.Web.Server.HttpListenerHost:Start (Inedo.Web.Server.WebServerConfiguration)
at Inedo.Web.Server.IntegratedServer.ProcessRequests () [0x00042] in <a916a109296c4f6da15cf8a9df666821>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <f712f98eb8e445c8918edaf595bbe465>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Net.Sockets.SocketException (0x80004005): The requested address is not valid in this context

Server stack trace:
at System.Net.Sockets.Socket.Bind (System.Net.EndPoint localEP) [0x0004c] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.EndPointListener..ctor (System.Net.HttpListener listener, System.Net.IPAddress addr, System.Int32 port, System.Boolean secure) [0x0004a] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.EndPointManager.GetEPListener (System.String host, System.Int32 port, System.Net.HttpListener listener, System.Boolean secure) [0x000be] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.EndPointManager.AddPrefixInternal (System.String p, System.Net.HttpListener listener) [0x00064] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.EndPointManager.AddListener (System.Net.HttpListener listener) [0x00030] in <5641e4edad4f4464ba58c620a7b8ea48>:0

Exception rethrown at [0]:
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr)
at (wrapper remoting-invoke) Inedo.Web.Server.HttpListenerHost:Start (Inedo.Web.Server.WebServerConfiguration)
at (wrapper xdomain-invoke) Inedo.Web.Server.HttpListenerHost:Start (Inedo.Web.Server.WebServerConfiguration)
at (wrapper remoting-invoke-with-check) Inedo.Web.Server.HttpListenerHost:Start (Inedo.Web.Server.WebServerConfiguration)
at Inedo.Web.Server.IntegratedServer.ProcessRequests () [0x00042] in <a916a109296c4f6da15cf8a9df666821>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <f712f98eb8e445c8918edaf595bbe465>:0

Product: ProGet
Version: 4.7.6

1
replies

After updating Otter to 1.5.4 it appears that my existing plans cannot access the powershell script assets. I have the default raft setup along with an additional file system raft and am unable to call powershell scripts from either raft.

Scripts still appear in the visual editor for adding, but when added give the "Cannot edit this statement; script metadata could not be parsed" error.

Product: Otter
Version: 1.5.4

7
replies

We have an issue with a (popular) non-url-friendly package name:

@angular/common

When requesting this package at NPM.org the following url (as generated by NPM install) works:
https://registry.npmjs.org/@angular%2fcommon

And this doesn't:
https://registry.npmjs.org/@angular/fcommon

When requesting the package in our (IIS hosted) ProGet server (names pacman) this doesn't work,
http://pacman/npm/npm/@angular%2fcommon

but this does:
http://pacman/npm/npm/@angular/common

We fixed this by using an IIS rewrite rule:

<rewrite>
    <rules>
        <rule name="Proget npm Resolve UrlEncode">
            <match url="^npm/(.+)/(.+)$" />
            <action type="Rewrite" url="/npm/{R:1}/{UrlDecode:{R:2}}" />
        </rule>
    </rules>
</rewrite>

Is smelling like either incorrect encoding/decoding at ProGets' part, do you agree?
Please note: we are not using the integrated ProGet server.

Product: ProGet
Version: 4.7.6

3
replies

In our CI-system, we use the Proget native API to retrieve information about out NuGet packages, like the latest available version. This mostly works as expected, but we have trouble with NuGet packages whose ID contains underscores ( _ ).

Given the following query, a json structure containing information about the package is returned as expected:

http://<url>/api/json/NuGetPackages_GetLatestStable?Feed_Id=10&PackageIds_Psv=some-package-id&API_Key=<key>

But if the pacakge ID contains an underscore, like the following query, the returned json structure is just an empty list:

http://<url>/api/json/NuGetPackages_GetLatestStable?Feed_Id=10&PackageIds_Psv=some_package_id&API_Key=<key>

We get the same result also for NuGetPackages_GetLatest, so it does not matter if the package exists only in prerelease versions. The result is also the same across different feeds.

Is this a bug in the native API? Are there any possible workarounds for fetching version information for packages whose ID contains an underscore?

Product: ProGet
Version: 4.6.7

23
replies

Hello,

I am having an issue trying to create a feed to https://registry.npm.telerik.com/

Once the feed is set up and i provide credentials in the connector url, I have no available packages.

Product: ProGet
Version: 4.7.6

1
replies

Hello,

With Proget 3.8.1 we get the following error when pulling the package: Serilog 2.4.0 with dependencies:

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Target framework dependency mismatch: Latest Version (net45) and Latest Version (net46) 
at Inedo.NuGet.Packages.Dependencies.PackageDependencyResolver.Combine(PackageDependency a, PackageDependency b) 
at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func) 
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() 
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) 
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) 
at Inedo.NuGet.Packages.Dependencies.PackageDependencyResolver.GetAllDependencyCandidates(IPackageDependencyQueryable feed, IEnumerable`1 packages, Dictionary`2 data, DependencyResolutionOptions options) 
at Inedo.NuGet.Packages.Dependencies.PackageDependencyResolver.ResolveDependencies(IPackageDependencyQueryable feed, IEnumerable`1 packages, DependencyResolutionOptions options) 
at Inedo.NuGet.Packages.NuGetFeed.GetAllRequiredPackages(IEnumerable`1 imports, DependencyResolutionOptions options) 
at Inedo.ProGet.WebApplication.Pages.NuGet.Packages.PullFromRepositoryPage.<>c__DisplayClass14_0.<CreateChildControls>b__0(Object s, EventArgs e) 
at Inedo.Web.Controls.ButtonLinks.PostBackButtonLink.OnClick(EventArgs e) 
at Inedo.Web.Controls.ButtonLinks.PostBackButtonLink.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) 
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
at System.Web.UI.Page.HandleError(Exception e) 
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
at System.Web.UI.Page.ProcessRequest() 
at System.Web.UI.Page.ProcessRequest(HttpContext context) 
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Can you confirm this issue can be solved by upgrading to the latest version of Proget? Are there other solutions to fix this?

Product: ProGet
Version: 3.8.1

3
replies

Hi
Is there the equivalent of the upack command line tool for windows avaliable for linux platforms.

I am looking for a package manager that will act as repository's for both windows and linux and the universal package repository seems to do just that

Product: ProGet
Version: 4.7.6

4
replies

Is it possible to use the value of a variable as a lock tocken? Based on the grammar it looks like the lock tocken needs to be hardcoded so it is known during execution. If it is possible can someone provide an example? Simply doing something like

with lock = $LockToken
{

}

gives a processing error when attempting to save the plan.

There were one or more errors processing your script:
[Error] Line 2: Expected {

Product: BuildMaster
Version: 5.6.8

3
replies

As in title - when I try to do nuget push, I am getting error 405 (methid not allowed) - any idea how to quickly solve it?

Product: ProGet
Version: 4.7.6

1
replies

There are a few fixes I'm expecting in the next update so I was wondering if there is an ETA on that being released?

Thanks.

Product: BuildMaster
Version: 5.6.8

3
replies

We're running ProGet on IIS with no permissions for Anonymous users and have a NuGetDefaults.config file configured with packageSourceCredentials (https://docs.microsoft.com/en-us/nuget/consume-packages/configuring-nuget-behavior).
Yet we get a prompt for filling in credentials in Visual Studio all the time (both in Visual Studio 2015 and 2017) instead of reading them from the config file.
As I read in other support questions, the problem is that at first there's a GET request without credentials.

Do you have any real solution for this?
If not, perhaps a ProGet CredentialProvider exists somewhere?

Product: ProGet
Version: 4.7.6

1
replies

Hi,

I would like to install the FREE edition of Proget on a server that has no internet connection.

Please can you provide a key that will enable this?

Thanks,

Product: ProGet
Version: 4.7.6

1
replies

We have NGINX in front of our ProGet installation with SSL offloading.
So the traffic to the NGINX proxy is on HTTPS and the traffic between the proxy and the ProGet server is on HTTP.

This is causing issues with the URL's in the Installation Instruction section for package details.
For NuGet feeds, the URL's are on HTTP, without port: http://***.be/nuget/feedname/
For Docker feeds, the URL's are without HTTP scheme, on port 80: docker pull ***.be:80/feedname/

How are these URL's constructed? The strange thing is, when browsing to ProGet on the web server locally, the URL's are HTTPS and 443.

Is there a solution for this? The documentation says "ProGet was built to be compatible with any load-balancing platform, whether software-based (such as HAProxy, NLP, or nginx) " https://inedo.com/support/documentation/proget/installation/load-balancing-and-automatic-failover

Should we configure a Web Proxy in the Advanced Settings to solve this?

Product: ProGet
Version: 4.7.6

Ask A Question
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 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 100 101 102 103 104 105