Skip to content

Conversation

@mmitche
Copy link
Member

@mmitche mmitche commented Feb 18, 2025

To double check:

bartonjs
bartonjs previously approved these changes Feb 18, 2025
@mmitche mmitche merged commit 346db01 into main Feb 20, 2025
11 checks passed
@mmitche mmitche deleted the mmitche-patch-11 branch February 20, 2025 00:55
jonathanpeppers added a commit to dotnet/android that referenced this pull request Mar 25, 2025
Context: dotnet/arcade#15546

Right now failures just print:

    Downloading dotnet-install script...
    -> https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh
    Error: Download of dotnet-install from 'https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh' failed

Let's log the exception message, as it retries.

After this change, we get the intermittent error on macOS only:

    Warning: Download of 'https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh' failed: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
    ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: RevocationStatusUnknown

In dotnet/arcade#15546, they addressed this problem by using
`SocketsHttpHandler` and configuring the `CertificateChainPolicy` to
ignore the `RevocationStatusUnknown` error.

Let's use the same approach here.
jonathanpeppers added a commit to dotnet/android that referenced this pull request Mar 25, 2025
Context: dotnet/arcade#15546

Right now failures just print:

    Downloading dotnet-install script...
    -> https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh
    Error: Download of dotnet-install from 'https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh' failed

Let's log the exception message, as it retries.

After this change, we get the intermittent error on macOS only:

    Warning: Download of 'https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh' failed: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
    ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: RevocationStatusUnknown

In dotnet/arcade#15546, they addressed this problem by using
`SocketsHttpHandler` and configuring the `CertificateChainPolicy` to
ignore the `RevocationStatusUnknown` error.

Let's use the same approach here.
dellis1972 pushed a commit to dotnet/android that referenced this pull request Mar 25, 2025
Context: dotnet/arcade#15546

Right now failures just print:

    Downloading dotnet-install script...
    -> https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh
    Error: Download of dotnet-install from 'https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh' failed

Let's log the exception message, as it retries.

After this change, we get the intermittent error on macOS only:

    Warning: Download of 'https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh' failed: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
    ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: RevocationStatusUnknown

In dotnet/arcade#15546, they addressed this problem by using
`SocketsHttpHandler` and configuring the `CertificateChainPolicy` to
ignore the `RevocationStatusUnknown` error.

Let's use the same approach here.
jonathanpeppers added a commit to dotnet/android that referenced this pull request Mar 26, 2025
Context: dotnet/arcade#15546

Right now failures just print:

    Downloading dotnet-install script...
    -> https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh
    Error: Download of dotnet-install from 'https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh' failed

Let's log the exception message, as it retries.

After this change, we get the intermittent error on macOS only:

    Warning: Download of 'https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh' failed: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
    ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: RevocationStatusUnknown

In dotnet/arcade#15546, they addressed this problem by using
`SocketsHttpHandler` and configuring the `CertificateChainPolicy` to
ignore the `RevocationStatusUnknown` error.

Let's use the same approach here.
@mmitche
Copy link
Member Author

mmitche commented Apr 8, 2025

/backport to release/9.0

@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2025

@wtgodbe
Copy link
Member

wtgodbe commented Apr 8, 2025

/backport to release/8.0

@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants