Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. m.karing_2439
    M
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    m.karing_2439

    @m.karing_2439

    0
    Reputation
    6
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location Germany Age 38

    m.karing_2439 Follow

    Best posts made by m.karing_2439

    This user hasn't posted anything yet.

    Latest posts made by m.karing_2439

    • Nuget cross-feed dependencies in web interface

      Hello,

      I am using two nuget feeds right now in my setup. One is for all our internal packages, the other one is connected to a few public feeds including nuget.org and works as a cache.

      Now we got some packages in our internal feed, that have dependencies that are part of the public feed. They are correctly displayed in the list of dependencies for the specific package, but the link is pointing to the internal feed that does not contain the public packages. This results in the link being invalid. Clicking it results in a HTTP 404 error and records an error in the error log page.

      Is there any way to get those links to work and reference the public repository if required? I don't really want to setup a connector and have the public images pulled over into the internal feed.

      Best regards,
      Martin

      posted in Support
      M
      m.karing_2439
    • ProGet 2025 - Nuget.org connector fails after update

      Hello,

      I updated our ProGet instance to 2025.1. It went more or less smoothly (only the outdated InedoHub caused a failure). After the update I noticed that the connector to nuget.org started showing errors.

      Specifially this exception shows up:

      Unable to GET from connector "nuget.org"; using cached copy.
      
      System.Net.WebException: The SSL connection could not be established, see inner exception.
       ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
       ---> System.Security.Authentication.AuthenticationException: Cannot determine the frame size or a corrupted frame was received.
         at System.Net.Security.SslStream.GetFrameSize(ReadOnlySpan`1 buffer)
         at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)
         at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
         at System.Net.Security.SslStream.ReceiveHandshakeFrameAsync[TIOAdapter](CancellationToken cancellationToken)
         at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
         at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
         at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
         at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)
         at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
         at System.Net.HttpWebRequest.SendRequest(Boolean async)
         at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
         --- End of inner exception stack trace ---
         at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
         at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
      --- End of stack trace from previous location ---
         at System.Net.WebRequest.GetResponseAsync()
         at Inedo.ProGet.GlobalExtensions.GetResponseAsync(HttpWebRequest request, CancellationToken cancellationToken)
         at Inedo.ProGet.Feeds.Connector.GetDirectResponseAsync(String url, CancellationToken cancellationToken)
         at Inedo.ProGet.Feeds.Connector.GetCachedResponseAsync(String url, CancellationToken cancellationToken)
      
      ::Connector Warning on 20.06.2025 16:23:58::
      

      The other connectors, for example to pypi.org are working fine. Only the nuget.org one is failing.

      What could be the reason for this?

      Best regards,
      Martin

      posted in Support
      M
      m.karing_2439
    • RE: Proget Python connector to PyTorch Cuda Index

      Hello @atripp,

      well that is a bummer. Thank you for looking into it anyway.

      Best regards,
      Martin

      posted in Support
      M
      m.karing_2439
    • Proget Python connector to PyTorch Cuda Index

      Hello,

      PyTorch is using some specific index for CUDA-enabled versions of PyTorch. This is detailed here: https://pytorch.org/get-started/locally/

      I'm trying to access the index https://download.pytorch.org/whl/cu118
      Using it directly in pip for installing the package works just fine. Adding this index as a PyPi conenctor to ProGet does not work at all. The health check for a connector to this index always returns the following in the health check:

      Connector PyTorch-cuda118 health check reported error: The remote server returned an error: (403) Forbidden.
      

      I setup the connector the following way:

      • Type: PyPI
      • Name: PyTorch-cuda118
      • Url: https://download.pytorch.org/whl/cu118
      • Timeout: 10sec
      • Authentication: anonymous
      • Advanced option: Allow searching and listing in the PyPi repository

      Metadata caching, as well as package filters are disabled.

      Am I doing anything specifically wrong?

      Best regards,
      Martin

      posted in Support
      M
      m.karing_2439
    • RE: Database Error

      Hello,

      I'm seeing the same issue with ProGet 2023.31 (Build 5). Once the policy preview feature is enabled, every single request to the nuget packages fail with the same error.
      Even accessing the web page of a specific version for any nuget package fails.

      The error report in this case is:
      Message:

      An error occurred in the web application: 547`16`0`FeedPackageVersions_SetAnalysis`26`Die INSERT-Anweisung steht in Konflikt mit der FOREIGN KEY-Einschränkung "FK__FeedPackageAnalyses__FeedPackageVersions". Der Konflikt trat in der ProGet-Datenbank, Tabelle "dbo.FeedPackageVersions" auf.
      

      Details:

      URL: <nugetfeed>/Stub.System.Data.SQLite.Core.NetFramework/1.0.118
      Referrer: <nugetfeed>/Stub.System.Data.SQLite.Core.NetFramework/versions
      User: <me>
      User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
      Stack trace: at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
      at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
      at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
      at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
      at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()
      at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
      at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
      at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method)
      at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
      at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
      at Inedo.Data.DatabaseContext.ExecuteInternal(String storedProcName, GenericDbParameter[] parameters)
      at Inedo.Data.SqlServerDatabaseContext.ExecuteInternal(String storedProcName, GenericDbParameter[] parameters)
      at Inedo.Data.DatabaseContext.ExecuteNonQuery(String storedProcName, GenericDbParameter[] parameters)
      at Inedo.ProGet.Feeds.StandardPackageFeed`3.GetPackageAnalysisAsync(IStandardPackageMetadata package, Boolean alwaysReanalyze, CancellationToken cancellationToken)
      at Inedo.ProGet.Feeds.BrowsablePackageInfo.GetPackageAnalysisAsync(Boolean alwaysReanalyze, CancellationToken cancellationToken)
      at Inedo.ProGet.Feeds.BrowsablePackageInfo.GetBlockedMessageForUIAsync()
      at Inedo.ProGet.WebApplication.Pages.Packages.FeedUrlProvider.GetDownloadControlAsync(BrowsablePackageInfo package, String url, Object text)
      at Inedo.ProGet.WebApplication.Pages.Packages.FeedUrlProvider.NuGetUrlFactory.GetPackageLinksAsync(BrowsableNuGetPackageInfo package, CancellationToken cancellationToken)+MoveNext()
      at Inedo.ProGet.WebApplication.Pages.Packages.FeedUrlProvider.NuGetUrlFactory.GetPackageLinksAsync(BrowsableNuGetPackageInfo package, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
      at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
      at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
      at Inedo.ProGet.WebApplication.Pages.Packages.PackageHeader.InitializeAsync()
      at Inedo.Web.Controls.SimplePageControl.InitializeAsync()
      at Inedo.Web.Controls.SimplePageControl.InitializeAsync()
      at Inedo.Web.PageFree.SimplePageBase.InitializeAsync()
      at Inedo.ProGet.WebApplication.Pages.ProGetSimplePage.InitializeAsync()
      at Inedo.Web.PageFree.SimplePageBase.ExecutePageLifeCycleAsync()
      at Inedo.Web.PageFree.SimplePageBase.ProcessRequestAsync(AhHttpContext context)
      at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
      

      Once the feature is disabled again, everything works fine.

      Best regards,
      Martin

      posted in Support
      M
      m.karing_2439
    • Invalid package version for nuget.org

      Hello,
      I got Proget Free running with a connector to nuget.org for caching the packages. Now I noticed that there is a problem with the package: Microsoft.Windows.SDK.Win32Metadata

      When trying to download the package version 10.0.19041.5-preview.5 from the ProGet webinterface is returns the http code 400 and the message: Invalid package version was specified.

      The issue only seems to affect the web interface and the ODATA (v2) feed. The JSON v3 feed seems to allow to download the package.

      The proget version in use is 5.3.22 (Build 10).

      Kind regards
      Martin

      posted in Support
      M
      m.karing_2439