Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. ygeelen-tb
    3. Posts
    Y
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by ygeelen-tb

    • RE: ProGet 5.1.x upgrade broke ProGet (SQL timeout)

      I'm directly executing the DashboardFeeds view, so I'm not using the parameter.

      It seems that the SUM([Package_Size] for [Feed_Size] and [Cache_Size] are the culprit.
      When I replace the query with [Feed_Size] = 0, [Cache_Size] = 0 then the timeouts are gone! They are just missing from the feed disk usage graph. Adding an index to NuGetPackageVersionsV2.Package_Size didn't help.

      The strange thing is that some pages that are not using the graph are also executing the DashboardInfo stored procedure.

      posted in Support
      Y
      ygeelen-tb
    • RE: ProGet 5.1.x upgrade broke ProGet (SQL timeout)

      I did some database cleanup (deleted old packages) and ran the Feed Cleanup tasks:
      NuGetPackageVersionsV2 2477
      NuGetPackagesV2 1266

      But the first query in view dbo.DashboardFeeds is still very slow (1 minute and 38 seconds), particularly the subqueries Feed_Size and Cache_Size:

      Feed_Id Feed_Name FeedType_Name Package_Download_Count Package_Count Feed_Size Cache_Size Active_Indicator
      1 nuget.org-proxy NuGet 3581 628 1371022356 1370053686 Y
      2 tobania NuGet 555 36 364376870 3685794 Y
      3 chocolatey-proxy Chocolatey 0 0 0 0 Y
      5 nuget.org-microsoft.net-proxy NuGet 3130 577 1053810421 1053810421 Y
      7 anton2 NuGet 4 7 102825284 0 Y
      9 powershell-tobania PowerShell 0 0 0 0 Y
      22 digipolis NuGet 186 16 8250831 0 Y
      23 febelfin-academy NuGet 69 2 238575 0 Y
      25 zorgplan-devexpress NuGet 0 0 0 0 Y

      Are those sizes exceptionally large?

      posted in Support
      Y
      ygeelen-tb
    • RE: ProGet 5.1.x upgrade broke ProGet (SQL timeout)

      Could you please improve the performance of the stored procedure and provide a new ProGet release to include this?

      posted in Support
      Y
      ygeelen-tb
    • RE: ProGet 5.1.x upgrade broke ProGet (SQL timeout)

      Hi Alana,

      After defragmenting the indexes and updating the statistics, we are still getting the timeout...

      Running the stored proc like this takes 1'45":

      EXEC @return_value = [dbo].[Dashboards_GetDashboardInfo]
      @Packages_Count = 10,
      @IncludeInactive_Indicator = Y

      Our database is really not spectacular looking at the row counts.
      Perhaps the nuget.org connector could be the culprit?

      TableName RowCount

      dbo.EventOccurrences 198648

      dbo.PackageDownloads 16878

      dbo.ScopedExecutionLogEntries 7100

      dbo.NuGetPackageVersionsV2 4950

      dbo.NuGetPackagesV2 2530

      dbo.LogMessages 2004

      dbo.DockerBlobs 1706

      dbo.LicenseUrls 1394

      dbo.Executions 1228

      dbo.NuGetPackageSymbolsV2 690

      dbo.Licenses 654

      dbo.ScopedExecutionLogs 614

      dbo.DockerImages 512

      dbo.__BuildMaster_DbSchemaChanges2 406

      dbo.__BuildMaster_DbSchemaChanges 328

      dbo.__StoredProcInfo 254

      dbo.DockerImageTags 143

      dbo.RoleTasks 38

      dbo.Tasks 32

      dbo.Feeds 32

      dbo.Privileges 27

      dbo.Configuration 27

      dbo.EventTypes 23

      dbo.ScheduledTasks 21

      dbo.Roles 18

      dbo.FeedConnectors 12

      dbo.Users 8

      dbo.UserGroups 7

      dbo.Connectors 6

      dbo.UserDirectories 4

      dbo.Groups 3

      dbo.AssessmentTypes 3

      dbo.VsixPackages 2

      dbo.Webhooks 1

      posted in Support
      Y
      ygeelen-tb
    • RE: ProGet 5.1.x upgrade broke ProGet (SQL timeout)

      I've narrowed down the issue a bit: the database connection is working on most pages of ProGet, except for the pages that make a call to the stored procedure dbo.Dashboards_GetDashboardInfo which causes the SQL timeout:

      • www.example.com/ (root url)
      • www.example.com/feeds (all feeds)
      • www.example.com/feeds/<containerregistryname> (Docker container registry)

      Increasing the command timeout of SQL Server didn't help.
      When I execute the stored procedure dbo.Dashboards_GetDashboardInfo manually then it gets really slow depending on how high value I pass to parameter @Packages_Count (I don't know which values is actually being passed by ProGet). When I pass for example 5000 then the query takes 2 minutes and 35 seconds to complete.

      posted in Support
      Y
      ygeelen-tb
    • RE: ProGet 5.1.x upgrade broke ProGet (SQL timeout)

      I already tried restarting SQL Server and also uninstalling ProGet and even with a clean installation (which checks the database connection) we're getting the timeout error.
      Other applications using other databases on the same SQL Server instance are still working fine.

      posted in Support
      Y
      ygeelen-tb
    • ProGet 5.1.x upgrade broke ProGet (SQL timeout)

      Suddenly our ProGet installation is getting SQL timeouts. I've seen that the configuration has been moved to a central configuration file: https://inedo.com/support/documentation/proget/reference/config-files

      The SQL connectionstring is still valid, but it seems the application is not reading the connectionstring from the shared config file?
      I tried putting ConnectionString and EncryptionKey inside Web_appSettings.config and App_appSettings.config but still get the same error.

      Don't I need a customconfiguration section declaration for "InedoAppConfig" inside Web.config and Proget.Service.exe.config ?

      Is anyone else experiencing this issue?

      Server Error in '/' Application.
      The wait operation timed out
      Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
      Exception Details: System.ComponentModel.Win32Exception: The wait operation timed out
      Source Error:
      An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
      Stack Trace:
      [Win32Exception (0x80004005): The wait operation timed out]
      [SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.]
      System.Data.SqlClient.<>c.<ExecuteDbDataReaderAsync>b__174_0(Task1 result) +1161090 System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke() +108
      System.Threading.Tasks.Task.Execute() +71
      System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +14139120
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
      Inedo.Data.<CreateAsync>d__10.MoveNext() +341
      System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +14139120
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
      Inedo.Data.<ExecuteInternalAsync>d__33.MoveNext() +1239
      System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +14139120
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
      Inedo.ProGet.Data.<Dashboards_GetDashboardInfoAsync>d__91.MoveNext() +731
      System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +14139120
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
      System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) +14139265
      Inedo.ProGet.WebApplication.Pages.<CreateChildControlsAsync>d__2.MoveNext() +411
      System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +14139120
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
      Inedo.ProGet.WebApplication.Pages.<InitializeAsync>d__1.MoveNext() +348
      System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +14139120
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
      Inedo.Web.PageFree.<ProcessRequestAsync>d__46.MoveNext() +283
      System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +14139120
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
      System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +69
      Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result) +34
      System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +178
      Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1590.0

      Product: ProGet
      Version: 5.1.7

      posted in Support
      Y
      ygeelen-tb
    • Delete feed error

      I had to delete the standard Feed Cleanup scheduled task record before being able to delete a feed, because the following error was thrown during deletion:

      Deleting indexed feed metadata...
      Unhandled exception: System.Data.SqlClient.SqlException (0x80131904): 547160Feeds_DeleteFeed80The DELETE statement conflicted with the REFERENCE constraint "FK__Executions__ScheduledTasks". The conflict occurred in database "ProGet", table "dbo.Executions", column 'ScheduledTask_Id'. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__174_0(Task1 result)
      at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
      at System.Threading.Tasks.Task.Execute()
      --- 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.Data.DatabaseContext.DbResult.<CreateAsync>d__10.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.Data.DatabaseContext.<ExecuteInternalAsync>d__33.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.Data.DatabaseContext.<ExecuteNonQueryAsync>d__31.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.Executions.DeleteFeedExecution.<ExecuteAsync>d__8.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.Service.Executions.ActiveManualExecution.<ExecuteAsync>d__7.MoveNext()
      ClientConnectionId:2985cac8-067e-4032-bc3f-26359cfc0e5e
      Error Number:50000,State:42,Class:16

      Product: ProGet
      Version: 5.0.7

      posted in Support
      Y
      ygeelen-tb
    • RE: Composer/Packagist feeds

      Any news on this? Composer is used a lot in our company as well. It would be nice to share the same tools. :-)

      posted in Support
      Y
      ygeelen-tb
    • RE: Unable to connect to Telerik

      Lucas, no I was told (I think unofficially) in a support ticket. They will announce it when they'd decide to go for it.

      posted in Support
      Y
      ygeelen-tb
    • Docker pull ERROR: filesystem layer verification failed for digest

      Since today we are getting an error when attempting to pull some Docker images:
      ERROR: filesystem layer verification failed for digest

      The strang thing is that after doing many pulls, it succeeds and it also occurs for very old unchanged images. It seems to be random..

      The only thing that changed is that we granted user Anonymous the View & Download permissions. However, undoing this change doesn't solve the issue.

      Product: ProGet
      Version: 4.7.13

      posted in Support
      Y
      ygeelen-tb
    • RE: Unable to connect to Telerik

      Thank you for your effort. Telerik is working on a long-term solution I understood.

      posted in Support
      Y
      ygeelen-tb
    • RE: Unable to connect to Telerik

      I already did and pointed them to this support question. Their reply: "We will log your feedback in our backlog and consider it when planning our future releases."

      We get different errors now (500 instead of 404) during npm install:

      npm ERR! fetch failed https://packages.tobania.be:443/npm/npm-telerik-proxy/@progress/kendo-data-query/-/kendo-data-query-0.5.2.tgz
      npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 500
      npm ERR! fetch failed https://packages.tobania.be:443/npm/npm-telerik-proxy/@progress/kendo-theme-default/-/kendo-theme-default-2.31.3.tgz
      npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 500

      I'll let Telerik know.

      PG-1019 doesn't seem to be solved:

      Getting metadata from https://registry.npm.telerik.com/-/all
      Finished downloading metadata. Indexing packages...
      Error indexing @progress/kendo-angular-buttons: "modified" property on "time" is missing or invalid.

      posted in Support
      Y
      ygeelen-tb
    • RE: Unable to connect to Telerik

      Current situation:

      • connector URL is https://registry.npm.telerik.com/ (before it was https://registry.npm.telerik.com/-/all)
      • connector shows "Error"
      • feed shows no error but no packages (before it was showing a "(404) Not Found" error)
      • npm install shows errors (the paths seem to be invalid (404) or the tgz files are missing):
        npm ERR! fetch failed https://packages.xxx.be:443/npm/npm-telerik-proxy/@progress/kendo-data-query/-/kendo-data-query-0.5.1.tgz
        => the path https://packages.tobania.be/npm/npm-telerik-proxy/@progress/kendo-data-query/ seems to produce some JSON content though that contains relatively built URL's like the tgz file URL above
      posted in Support
      Y
      ygeelen-tb
    • RE: Unable to connect to Telerik

      Thanks, but will that solve the npm fetch error as well?
      The paths seem to be unexisting:
      /@progress/kendo-data-query/-/kendo-data-query-0.5.1.tgz

      posted in Support
      Y
      ygeelen-tb
    • RE: Unable to connect to Telerik

      We got rid of the error above by modifying the connector url by removing the trailing "/-/all". Now the feed indexing task succeeds, and npm install throws this error:

      npm ERR! fetch failed https://packages.xxx.be:443/npm/npm-telerik-proxy/@progress/kendo-data-query/-/kendo-data-query-0.5.1.tgz
      npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404
      npm ERR! fetch failed https://packages.xxx.be:443/npm/npm-telerik-proxy/@progress/kendo-angular-l10n/-/kendo-angular-l10n-0.3.0.tgz
      npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404
      npm ERR! fetch failed https://packages.xxx.be:443/npm/npm-telerik-proxy/@progress/kendo-angular-dialog/-/kendo-angular-dialog-0.19.0.tgz
      npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404
      npm ERR! fetch failed https://packages.xxx.be:443/npm/npm-telerik-proxy/@progress/kendo-angular-popup/-/kendo-angular-popup-0.17.0.tgz
      npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404
      npm ERR! fetch failed https://packages.xxx.be:443/npm/npm-telerik-proxy/@progress/kendo-angular-upload/-/kendo-angular-upload-0.20.0.tgz
      npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404
      npm ERR! fetch failed https://packages.xxx.be:443/npm/npm-telerik-proxy/@progress/kendo-angular-intl/-/kendo-angular-intl-0.12.0.tgz
      npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404
      npm ERR! fetch failed https://packages.xxx.be:443/npm/npm-telerik-proxy/@progress/kendo-angular-buttons/-/kendo-angular-buttons-0.24.0.tgz

      posted in Support
      Y
      ygeelen-tb
    • RE: Unable to connect to Telerik

      The connector is showing " Error (as of 13:10)" now though and npm install throws this error:

      npm ERR! 404 Package not found. Package was not found.: npm
      npm ERR! 404
      npm ERR! 404 'npm' is not in the npm registry.
      npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
      npm ERR! 404 It was specified as a dependency of 'xxx'
      npm ERR! 404
      npm ERR! 404 Note that you can also install from a
      npm ERR! 404 tarball, folder, http url, or git url.

      posted in Support
      Y
      ygeelen-tb
    • RE: Unable to connect to Telerik

      I just upgraded to ProGet 4.7.10 which includes following items:
      PG-1012 - Support for NPM feeds that authenticate via email address
      PG-1013 - Support for NPM connectors that don't provide the search API

      It seems that the error when viewing the feed is gone (so authentication seems to work). The packages are still not listed, although I'm not sure if that's supposed to be the case?
      What exactly does PG-1013 solve?

      posted in Support
      Y
      ygeelen-tb
    • RE: Unable to connect to Telerik

      Thanks a lot! I will report the NPM search API issue to Telerik.

      posted in Support
      Y
      ygeelen-tb
    • RE: Unable to connect to Telerik

      We also tried configuring an NPM connector for https://registry.npm.telerik.com/ including the correct credentials, but when accessing the feed we get the following error:
      The remote server returned an error: (404) Not Found.
      When leaving the credentials empty we get the same error.

      About scoping: I think the connector just requires an input field to define the scope like this: npm login --registry=https://registry.npm.telerik.com/ --scope=@progress

      See also https://docs.npmjs.com/misc/scope "You can associate a scope with a registry at login"

      posted in Support
      Y
      ygeelen-tb
    • RE: Feed credentials in NuGet config not being used, causing Visual Studio prompt window

      We experience this issue very often..

      I implemented a VS2017 credential provider that reads NuGetDefaults.config and passes the credentials. But it's always passing the same credentials as the first feed that is accessed (we have multiple feeds that require credentials).

      So it seems that Visual Studio/default browser/CredentialProvider is caching the credentials for that domain.

      posted in Support
      Y
      ygeelen-tb
    • Feed credentials in NuGet config not being used, causing Visual Studio prompt window

      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

      posted in Support
      Y
      ygeelen-tb
    • RE: Installation Instruction URL's containing incorrect port number

      I solved this by configuring the URL including port number in the Advanced Settings at "Web.BaseUrl"

      posted in Support
      Y
      ygeelen-tb
    • Installation Instruction URL's containing incorrect port number

      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

      posted in Support
      Y
      ygeelen-tb
    • RE: Feeds with a connector to nuget.org are returning errors

      It's working again now, there was an issue with one of our feed URL's. But I would expected an HTTP 404 error instead of an HTTP 500 error then..

      posted in Support
      Y
      ygeelen-tb
    • Feeds with a connector to nuget.org are returning errors

      Feeds with a connector to nuget.org are returning errors (both in Proget 4.7.4 and 4.7.6):

      [nuget.org-microsoft.net-proxy] The V2 feed at 'https://packages.tobania.be/nuget/packages.org-microsoft.net-proxy/Search()?$filter=IsLatestVersion&searchTerm='entity'&targetFramework='net40'&includePrerelease=false&$skip=0&$top=26' returned an unexpected status code '500 Object reference not set to an instance of an object.'.
      [nuget.org-proxy] The V2 feed at 'https://packages.tobania.be/nuget/packages.org-proxy/Search()?$filter=IsLatestVersion&searchTerm='entity'&targetFramework='net40'&includePrerelease=false&$skip=0&$top=26' returned an unexpected status code '500 Object reference not set to an instance of an object.'.

      Searching on nuget.org/packages/ does not return any errors.

      Product: ProGet
      Version: 4.7.6

      posted in Support
      Y
      ygeelen-tb
    • RE: Composer/Packagist feeds

      Thank you! I'm no PHP developer either but the source code of Composer and Packagist is available on GitHub:
      https://github.com/composer/composer
      https://github.com/composer/packagist

      Both make use of the Symfony (PHP) framework.

      posted in Support
      Y
      ygeelen-tb
    • RE: Composer/Packagist feeds

      I've heard some time ago that it's scheduled for Q1 2017.
      Do you have a more concrete timing on this now?

      posted in Support
      Y
      ygeelen-tb
    • RE: ProGet errors: Server cannot set status after HTTP headers have been sent

      It would be nice if you could avoid this error? It's filling up the error log, making it hard to find the actual errors.

      posted in Support
      Y
      ygeelen-tb
    • Package count on dashboard unexpected

      On the dashboard there's a package count per feed, but this seems to count all versions of all packages.
      Could you add the count of the number of unique packages per feed (no matter how many versions exist)?

      Product: ProGet
      Version: 4.5.0

      posted in Support
      Y
      ygeelen-tb
    • Docker package name different from the name used in docker push command

      According to the documenation this name should be the same:
      https://inedo.com/support/tutorials/proget/getting-started-with-proget-private-docker-registries

      However, when doing "docker push nuget.tobania.be:443/linux/php-5.6:1.0.0" the pushed package needs to be pulled with "docker pull nuget.tobania.be:80/linux/library/php-5.6:<tag>".

      Why is the package named "library/php-5.6" instead of simply "php-5.6"?

      Product: ProGet
      Version: 4.5.0

      posted in Support
      Y
      ygeelen-tb
    • RE: NuGet packages older .NET versions not visible

      I've upgraded to the latest version "Version 4.0.10 (Build 1)". The issue seems to be solved for the package Geocoding.net.

      For our feed with inhouse developed packages the issue persists..
      Packages with a "lib/net40" folder structure are visible, while any packages with a "lib/net451" folder structure are not ?

      posted in Support
      Y
      ygeelen-tb
    • NuGet packages older .NET versions not visible

      It seems that NuGet packages that were built for .NET 4.0 for example, are not queryable/visible in the NuGet Package Manager extension of Visual Studio for projects that target a higher .NET version (like 4.6) for ProGet feeds.
      We noticed this issue when trying to install a package from nuget.org and from our ProGet feed connector to nuget.org.

      Product: ProGet
      Version: 3.7.5

      posted in Support
      Y
      ygeelen-tb
    • RE: Support for NuGet v3

      ProGet still doesn't seem to support connectors for https://api.nuget.org/v3/index.json ? When can we expect support for this?

      posted in Support
      Y
      ygeelen-tb
    • RE: BuildMaster TFS integration

      I was able to create the source control provider now and I configured a profile for the extension as well.

      When I try to create an application in BuildMaster using the Deploy TFS Team Build wizard, I get a HTTP 500 error page. In the logs I see this:

      An error occurred in the web application: TF30063: You are not authorized to access https://*.visualstudio.com/DefaultCollection.
       Details: URL: http://*.be:8086/administration/applications/create/recipe?recipeType=Inedo.BuildMasterExtensions.TFS.DeployTeamBuildRecipe,TFS
      Referrer: http://axwinservices01.axmatrix.be:8086/administration/applications/create
      User: Admin
      User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36
      Stack trace: at Inedo.BuildMaster.Extensibility.Agents.Local.LocalAgent.Inedo.BuildMaster.Extensibility.Agents.IRemoteMethodExecuter.InvokeMethod(MethodBase method, Object instance, Object[] parameters)
      at Inedo.BuildMasterExtensions.TFS.TfsConfigurer.GetTeamProjects()
      at Inedo.BuildMasterExtensions.TFS.TeamProjectPicker.OnInit(EventArgs e)
      at System.Web.UI.Control.InitRecursive(Control namingContainer)
      at System.Web.UI.Control.InitRecursive(Control namingContainer)
      at System.Web.UI.Control.InitRecursive(Control namingContainer)
      at System.Web.UI.Control.InitRecursive(Control namingContainer)
      at System.Web.UI.Control.InitRecursive(Control namingContainer)
      at System.Web.UI.Control.AddedControl(Control control, Int32 index)
      at Inedo.Web.Controls.CExtensions.Add(ControlCollection toControl, Control[] controls)
      at System.Web.UI.Control.EnsureChildControls()
      at System.Web.UI.Control.PreRenderRecursiveInternal()
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      posted in Support
      Y
      ygeelen-tb
    • RE: BuildMaster TFS integration

      The VisualStudio.com provider doesn't seem to support VSTS Personal access tokens yet?
      That method is recommended (more secure) than enabling "Alternate authentication credentials", which is Basic HTTP Authentication.

      posted in Support
      Y
      ygeelen-tb
    • RE: BuildMaster TFS integration

      I also tried the VisualStudio.com provider but that seemed to point to the TFS2012 extension upon installation and throws the following error when attempting to connect:

      Provider error. Could not connect to TFS: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
      File name: 'Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
      at Inedo.BuildMasterExtensions.TFS2012.TfsSourceControlProvider.ValidateConnection2()
      at Inedo.BuildMasterExtensions.TFS2012.TfsSourceControlProvider.ValidateConnection()

      WRN: Assembly binding logging is turned OFF.
      To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
      Note: There is some performance penalty associated with assembly bind failure logging.
      To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

      posted in Support
      Y
      ygeelen-tb
    • RE: BuildMaster TFS integration

      Great! But no luck so far:

      Provider error. Could not connect to TFS: Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access https://*****.visualstudio.com/.
      at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.EnsureTokenProvider(HttpWebResponse webResponse)
      at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequest()
      at Microsoft.TeamFoundation.Client.Channels.TfsHttpRequestChannel.Request(TfsMessage message, TimeSpan timeout)
      at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
      at Microsoft.TeamFoundation.Framework.Client.LocationWebService.Connect(Int32 connectOptions, Int32 lastChangeId, Int32 features)
      at Microsoft.TeamFoundation.Framework.Client.FrameworkServerDataProvider.Connect(ConnectOptions connectOptions)
      at Microsoft.TeamFoundation.Client.TfsConnection.EnsureProviderConnected()
      at Microsoft.TeamFoundation.Client.TfsConnection.EnsureAuthenticated()
      at Inedo.BuildMasterExtensions.TFS.TfsSourceControlProvider.GetTeamProjectCollection()
      at Inedo.BuildMasterExtensions.TFS.TfsSourceControlProvider.ValidateConnection2()
      at Inedo.BuildMasterExtensions.TFS.TfsSourceControlProvider.ValidateConnection()

      Name:
      Visual Studio Team Services
      Server:
      TFS URL:
      https://.visualstudio.com/
      Authentication:
      User name:
      yannick.
      @tobania.be
      Password:
      ••••••••••
      Mask
      Domain:
      Workspace path:
      BuildMaster managed
      Workspace name:
      Default
      Options: Log command line arguments

      posted in Support
      Y
      ygeelen-tb
    • BuildMaster TFS integration

      Does this also work with Visual Studio Team Services (builds from TFS/Git/GitHub) ? (This was previously called Visual Studio Online.)

      Product: BuildMaster
      Version: 4.9.7

      posted in Support
      Y
      ygeelen-tb
    • NuGet 3.x support

      I tried adding a connector to the Default feed for the new NuGet 3.x endpoint "https://api.nuget.org/v3/index.json" that is also already used in Visual Studio 2015.
      It was actually released the same day as VS2015.
      This doesn't seem to work in ProGet: no packages are listed in the feed.
      When do you expect to have support for NuGet 3.x ?

      The architecture was redesigned, there's even a new nuget protocol version.
      I'm mainly interested because it would have much better performance.

      Product: ProGet
      Version: 3.8.1

      posted in Support
      Y
      ygeelen-tb
    • Security on download-package (ProGet Extension)

      I have looked at the BeforeDownloadPackageAdapterBase and Users_ValidateLogin classes of the SDK but couldn't find a way to implement the following extension:
      Check the provided username and password when there's an attempt to download a package and return an HTTP error or redirect to an error page.

      Or will it be easier to implement a custom ASP.NET HttpModule and configure that in the ProGet web application's web.config? In that case I need to know when someone attempts to download any package and check the feed name, username and password.

      Product: ProGet
      Version: 3.6.1

      posted in Support
      Y
      ygeelen-tb
    • RE: Initial performance when opening or querying NuGet feed from Visual Studio Package Manager

      I've read that NuGet's architecture is being redesigned for version 3.0, which should also improve the performance.

      http://blog.nuget.org/20150608/nuget-server-status.html
      http://blog.nuget.org/20150601/nuget-3.0-rc2.html

      posted in Support
      Y
      ygeelen-tb
    • Initial performance when opening or querying NuGet feed from Visual Studio Package Manager

      It takes many seconds to browse or search through a ProGet NuGet feed from Visual Studio (both proxy feeds to nuget.org and private feeds).
      Sometimes we even need to cancel the search operation and retry because we get no results.

      I already tried some things which seem to be an improvement:

      •      Configure the IIS application pool StartMode to AlwaysRunning
        
      •      Configure the IIS website to Preload Enabled = True
        
      •      Check the ProGet cleanup interval: for all feeds this is a frequency of 1 day between 2:00 and 7:00. I read that ProGet reindexes feeds whenever cleanup occurs and that this slows down a lot; however nobody works between those hours.
        
      •      Configure the IIS application pool Recycling Regular Time Interval. This has a default value of 1740 minutes or 29 hours. I have set this to 0.
        
      •      Configure the IIS application pool Idle Time-Out: it is set to 10 minutes by default. I have set the Idle Time-Out to 0 (=never let the IIS worker process shut down).
        
      •      Configure the IIS application pool Specific Times: 01:00:00.
        

      Are there any other measurements I should take or do you have more advice?

      I recently upgraded to ProGet 3.6.1 (Build 6) and I'm using IIS hosting and a SQL Server Express database.

      Product: ProGet
      Version: 3.6.1

      posted in Support
      Y
      ygeelen-tb
    • 1 / 1