actions / runner-images

GitHub Actions runner images
MIT License
9.82k stars 3.01k forks source link

Win2022 Install VSExtensions Error: Could not establish trust relationship for the SSL/TLS secure channel #10501

Open xianlin opened 2 weeks ago

xianlin commented 2 weeks ago

Description

The Windows 2022 build script Install-VSExtensions.ps1 run into error as the title showed.

Platforms affected

Runner images affected

Image version and build link

20240811.1.0

Is it regression?

N.A.

Expected behavior

Install successfully

Actual behavior

==> azure-arm.image: Provisioning with powershell script: /agent/_work/1/s/images/windows/templates/../scripts/build/Install-VSExtensions.ps1
    azure-arm.image: There is an error encountered:
    azure-arm.image:  The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    azure-arm.image: Waiting 30 seconds before retrying. Retries left: 19
    azure-arm.image: There is an error encountered:
    azure-arm.image:  The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    azure-arm.image: Waiting 30 seconds before retrying. Retries left: 18
    azure-arm.image: There is an error encountered:
    azure-arm.image:  The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
...
...
    azure-arm.image: Waiting 30 seconds before retrying. Retries left: 3
    azure-arm.image: There is an error encountered:
    azure-arm.image:  The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    azure-arm.image: Waiting 30 seconds before retrying. Retries left: 2
    azure-arm.image: There is an error encountered:
    azure-arm.image:  The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    azure-arm.image: Waiting 30 seconds before retrying. Retries left: 1
    azure-arm.image: There is an error encountered:
    azure-arm.image:  The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
==> azure-arm.image: Provisioning step had errors: Running the cleanup provisioner, if present...

Repro steps

N.A.

vidyasagarnimmagaddi commented 2 weeks ago

Hi @xianlin , Thank you for bringing this issue to our attention. We will look into this issue and will update you on this issue after investigating.

vidyasagarnimmagaddi commented 2 weeks ago

Hi @xianlin , kindly provide the repo steps ,the new version of windows-22 being rolled out , and try the same.thanks

vidyasagarnimmagaddi commented 2 weeks ago

Hi @xianlin , the latest windows-22 version (20240825.1) has been rolled out, kindly synch your main , and try the same.If failed, share the repo steps and error logs.

vidyasagarnimmagaddi commented 1 week ago

Hi @xianlin , Have you tried the Windows 2022 build script Install-VSExtensions.ps1 with the latest version , kindly revert.

vidyasagarnimmagaddi commented 1 week ago

Hi @xianlin , Have you tried the Windows 2022 build script Install-VSExtensions.ps1 with the latest version , kindly revert.Thanks

xianlin commented 4 days ago

Hi @vidyasagarnimmagaddi, I tried to use the latest "main" but still get the same result. I need to check my network firewall on this.