Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

SSL Handshake problem with specific helm-repo



  • Hi,

    in Version 2022.18 (Build 7) i'm trying to add datawires helm repo to Proget.

    https://app.getambassador.io

    If i use that repo directly (without proget) it works finde.
    But if i open the Feed, containing above connector i'm getting the following Error:

    Web
    Message:
    The SSL connection could not be established, see inner exception.
    Details:
    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: Authentication failed because the remote party sent a TLS alert: 'HandshakeFailure'.
    ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted.
    --- End of inner exception stack trace ---
    at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
    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(HttpRequestMessage request)
    at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
    at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, 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 Inedo.ProGet.Feeds.Connector.GetDirectResponseAsync(String url)
    at Inedo.ProGet.Feeds.Connector.GetCachedResponseAsync(String url)
    at Inedo.ProGet.Feeds.Connector.GetCachedTextReaderAsync(String url, Boolean bufferEntireResponse)
    at Inedo.ProGet.Feeds.Helm.HelmConnector.GetIndexAsync()
    at Inedo.ProGet.Feeds.Helm.HelmConnector.GetChartsAsync(String name)
    at Inedo.ProGet.Feeds.Helm.HelmFeed.GetChartsAsync(String name)
    at Inedo.ProGet.Feeds.Helm.HelmFeed.Inedo.ProGet.Feeds.IBrowsablePackageFeed.SearchPackagesAsync(String query, Int32 maxCount, Boolean includePrerelease)
    at Inedo.ProGet.WebApplication.Pages.Packages.ListPackagesPage.PackageList.InitializeAsyncInternal()
    at Inedo.ProGet.WebApplication.Pages.Packages.ListPackagesPage.PackageList.InitializeAsync()
    

    Any hints appreciated !


  • inedo-engineer

    Hi @florian-haid_9440,

    Can you tell me what version of Windows you are running your ProGet instance on? An SSL error like this will typically happen if your SSL/TLS requirements are not configured to allow the newer schemes by default. Newer OS versions handle these for you, but older Windows versions need specific registry values.

    Thanks,
    Dan



  • This post is deleted!


  • Hi Dan,

    thanks for the fast reply. It's a Windows 2012 Server. We gonna move Proget to some newer machine and see whats gonna happen.

    Thanks,
    Florian


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation