Closed kjayasinghe closed 3 years ago
This closed issue is related
https://github.com/aws-quickstart/quickstart-citrix-virtualapps-service/issues/7
This has been fixed in https://github.com/aws-quickstart/quickstart-citrix-virtualapps-service/commit/05377aa755723e19152497e5f6b4ea6c84d75eb1, please retry.
The root cause appears to be that the location of the .NET installer files at https://cwsproduction.blob.core.windows.net/downloads/redist has been moved to object storage, so the previous download mechanism no longer works.
Hello Team,
The Citrix Virtual Apps and Desktops Service on AWS Cloud Formation Script fails creating cloud connectors. Failure message and failure log below;
Embedded stack arn:aws:cloudformation:ap-southeast-2:xxxxxxxxxxx:stack/Citrix-Virtual-Apps-CitrixResourceLocationStack-1UWSOUST0ARG4-CitrixCloudConnectors-1MZJ1K79NLMCF/294981a0-f0ed-11ea-bd69-0a4e171c2900 was not successfully created: The following resource(s) failed to create: [CitrixCloudConnector1WaitCondition, CitrixCloudConnector2WaitCondition].
Logfile Prep-CloudConnector.ps1
Windows PowerShell transcript start Start time: 20200907094115 Username: citrix\SYSTEM RunAs User: citrix\SYSTEM Machine: CTX-CC1-FYCO (Microsoft Windows NT 10.0.14393.0) Host Application: powershell -ExecutionPolicy Unrestricted C:\cfn\scripts\Prep-CloudConnector.ps1 Process ID: 2372 PSVersion: 5.1.14393.3471 PSEdition: Desktop PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14393.3471 BuildVersion: 10.0.14393.3471 CLRVersion: 4.0.30319.42000 WSManStackVersion: 3.0 PSRemotingProtocolVersion: 2.3 SerializationVersion: 1.1.0.1
Transcript started, output file is C:\cfn\log\Prep-CloudConnector.ps1.txt Downloading Microsoft .NET Framework 4.7.2 Download file from https://cwsproduction.blob.core.windows.net/downloads/redist failed , sleep 10 seconds and retry
Download file from https://cwsproduction.blob.core.windows.net/downloads/redist failed , sleep 10 seconds and retry
Download file from https://cwsproduction.blob.core.windows.net/downloads/redist failed , sleep 10 seconds and retry
Download file from https://cwsproduction.blob.core.windows.net/downloads/redist failed , sleep 10 seconds and retry
Download file from https://cwsproduction.blob.core.windows.net/downloads/redist failed , sleep 10 seconds and retry
Download file from https://cwsproduction.blob.core.windows.net/downloads/redist failed , sleep 10 seconds and retry
Download file from https://cwsproduction.blob.core.windows.net/downloads/redist failed , sleep 10 seconds and retry
Download file from https://cwsproduction.blob.core.windows.net/downloads/redist failed , sleep 10 seconds and retry
Download file from https://cwsproduction.blob.core.windows.net/downloads/redist failed , sleep 10 seconds and retry
Download file from https://cwsproduction.blob.core.windows.net/downloads/redist failed , sleep 10 seconds and retry
Installing Microsoft .NET Framework 4.7.2 PS>TerminatingError(Start-Process): "This command cannot be run due to the error: The system cannot find the file specified." PS>TerminatingError(Get-ItemProperty): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot find path 'HKLM:\SOFTWARE\AWSQuickStart\' because it does not exist." PS>TerminatingError(Set-ItemProperty): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot find path 'HKLM:\SOFTWARE\AWSQuickStart\' because it does not exist." PS>TerminatingError(Get-ItemProperty): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot find path 'HKLM:\SOFTWARE\AWSQuickStart\' because it does not exist." PS>TerminatingError(Get-ItemProperty): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot find path 'HKLM:\SOFTWARE\AWSQuickStart\' because it does not exist." PS>TerminatingError(Get-ItemProperty): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot find path 'HKLM:\SOFTWARE\AWSQuickStart\' because it does not exist." PS>TerminatingError(): "Command failure in Start-Process C:\cfn\scripts\Prep-CloudConnector.ps1 on line 24 Exception: System.InvalidOperationException: This command cannot be run due to the error: The system cannot find the file specified. at System.Management.Automation..."
PS>$global:? False
Windows PowerShell transcript end End time: 20200907094306
Windows PowerShell transcript start Start time: 20200908010908 Username: CTX-CC1-FYCO\Administrator RunAs User: CTX-CC1-FYCO\Administrator Machine: CTX-CC1-FYCO (Microsoft Windows NT 10.0.14393.0) Host Application: C:\Windows\system32\WindowsPowerShell\v1.0\PowerShell_ISE.exe Process ID: 2632 PSVersion: 5.1.14393.3471 PSEdition: Desktop PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14393.3471 BuildVersion: 10.0.14393.3471 CLRVersion: 4.0.30319.42000 WSManStackVersion: 3.0 PSRemotingProtocolVersion: 2.3 SerializationVersion: 1.1.0.1
Transcript started, output file is C:\cfn\log\Prep-CloudConnector.ps1.txt Downloading Microsoft .NET Framework 4.7.2 C:\cfn\scripts\NDP472-KB4054530-x86-x64-AllOS-ENU.exe Installing Microsoft .NET Framework 4.7.2 PS C:\cfn\scripts> .\Register-CitrixCloud.ps1 Transcript started, output file is C:\cfn\log\Register-CitrixCloud.ps1.txt Checking permissions Generating new authentication token Checking XenApp/XenDesktop Service entitlement PS C:\cfn\scripts> TerminatingError(Invoke-RestMethod): "The underlying connection was closed: An unexpected error occurred on a send."