"Unable to connect to the remote server" Error while publishing uipath orchestrator through powershell command. Please suggest some resolution.
PS C:\WINDOWS\system32> E:\UiPathOrchestrator\Publish-Orchestrator.ps1 >> -action "Deploy"
AzureRM module version 6 or greater is already installed. Importing module ...-unattended
>> -package "E:\UiPathOrchestrator\UiPath.Orchestrator.Web.zip"
-stopApplicationBeforePublish>> -azureSubscriptionId "4ef76cd8-f3af-44d2-aa77-af37ae8a1ce4"
-azureAccountTenantId "a672a07e-20fe-4ba9-a237-d64e3370347a">> -azureAccountApplicationId "0130b170-b80d-4288-8cfa-1481b47bf052"
-azureAccountPassword "qD_vCn5vPAkeQcDEB7FS3T_c50UN.L-3L9">> -resourceGroupName "Orches_App"
-appServiceName "RPATechOrchestrator">> -hostAdminPassword "12345qwert"
-defaultTenantAdminPassword "12345qwert" `
-verbose
Attempting log in to AzureRM
Logged in to AzureRM
Stopped the application RPATechOrchestrator-Production
Waiting 30 seconds for RPATechOrchestrator-Production to shut down completely.
Deploying package E:\UiPathOrchestrator\UiPath.Orchestrator.Web.zip on website RPATechOrchestrator
Web Deploy parameters:
Name Value
EncryptionKey Mn9hVH+vaS4/Ypy+IWifJgvhmIC+oAryfiEDgXe/BQc=
storageType FileSystem
activitiesApiKey ecf8527f-9f22-40e6-b00a-21be605ede23
apiKey ecf8527f-9f22-40e6-b00a-21be605ede23
machineKeyDecryptionKey 215442C8B6FA30E667E8A39BB3EB38A55464289285370D01B1527276DC288AD2
machineKeyDecryption AES
elasticSearchDiagnosticsReq... false
storageLocation RootPath=.\Storage
machineKeyValidationKey F6093216EE12B100C0D2F2CBBBFB644C4A7BDBE014AD6B310B5C289F43B8E30451BE1FB08DE44EE5AD02E784FA4B7F808AD875F4F1F8814B756D5534E060DEA0
ElasticSearchRequireAuth false
machineKeyValidation HMACSHA256
Folders to skip:
\\NuGetPackages, \\NuGetPackages\\Activities, \\Storage, \\PackagesMigration, \\App_Data
Files to skip:
Executing command:
msdeploy.exe -verb:sync -source:package='E:\UiPathOrchestrator\UiPath.Orchestrator.Web.zip' -dest:auto,ComputerName='https://rpatechorchestrator.scm.azurewebsites.net:443/msdeploy.axd?site=RPATechOrchestrator',UserName='$RPATechOrchestrator',Password='QE3Xl35QudoSd3byu7gNRXW8kYrrKuCwXeNJiaqsnr3e0ehoxz6q021p7fvN',AuthType='Basic' -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParam:name='IIS Web Application Name',value='RPATechOrchestrator' -skip:objectName=dirPath,absolutePath='\\NuGetPackages' -skip:objectName=dirPath,absolutePath='\\NuGetPackages\\Activities' -skip:objectName=dirPath,absolutePath='\\Storage' -skip:objectName=dirPath,absolutePath='\\PackagesMigration' -skip:objectName=dirPath,absolutePath='\\App_Data' -setParam:name='EncryptionKey',value='Mn9hVH+vaS4/Ypy+IWifJgvhmIC+oAryfiEDgXe/BQc=' -setParam:name='storageType',value='FileSystem' -setParam:name='activitiesApiKey',value='ecf8527f-9f22-40e6-b00a-21be605ede23' -setParam:name='apiKey',value='ecf8527f-9f22-40e6-b00a-21be605ede23' -setParam:name='machineKeyDecryptionKey',value='215442C8B6FA30E667E8A39BB3EB38A55464289285370D01B1527276DC288AD2' -setParam:name='machineKeyDecryption',value='AES' -setParam:name='elasticSearchDiagnosticsRequireAuth',value='false' -setParam:name='storageLocation',value='RootPath=.\Storage' -setParam:name='machineKeyValidationKey',value='F6093216EE12B100C0D2F2CBBBFB644C4A7BDBE014AD6B310B5C289F43B8E30451BE1FB08DE44EE5AD02E784FA4B7F808AD875F4F1F8814B756D5534E060DEA0' -setParam:name='ElasticSearchRequireAuth',value='false' -setParam:name='machineKeyValidation',value='HMACSHA256'
Info: Using ID '8998a345-e35c-40e8-a0b1-2d42a28ba47a' for connections to the remote server.
Info: Object dirPath (RPATechOrchestrator\Storage) skipped due to skip directive 'CommandLineSkipDirective 3'.
Info: Using ID '651d1f1d-be7d-4cf0-8446-011cfeba1118' for connections to the remote server.
Info: Object dirPath (RPATechOrchestrator\Storage) skipped due to skip directive 'CommandLineSkipDirective 3'.
Info: Updating file (RPATechOrchestrator\UiPath.Orchestrator.dll.config).
Total changes: 1 (0 added, 0 deleted, 1 updated, 0 parameters changed, 15808 bytes copied)
Package E:\UiPathOrchestrator\UiPath.Orchestrator.Web.zip deployed successfully
Deployment parameters logged in file 'E:\UiPathOrchestrator\AzurePublishParameters.json'
VERBOSE: Downloading file from URL ftp://waws-prod-dm1-043.ftp.azurewebsites.windows.net/site/wwwroot/UiPath.Orchestrator.dll.config to
C:\Users\jatin\AppData\Local\Temp\azuredeploy-20210610120951210\Web.config
file could not be downloaded
Unable to connect to the remote server
VERBOSE: Downloading file from URL ftp://waws-prod-dm1-043.ftp.azurewebsites.windows.net/site/wwwroot/UiPath.Orchestrator.WebCore.Host.exe.config to
C:\Users\jatin\AppData\Local\Temp\azuredeploy-20210610120951210\Web.config
file could not be downloaded
Unable to connect to the remote server
VERBOSE: Downloading file from URL ftp://waws-prod-dm1-043.ftp.azurewebsites.windows.net/site/wwwroot/Web.config to
C:\Users\jatin\AppData\Local\Temp\azuredeploy-20210610120951210\Web.config
file could not be downloaded
Unable to connect to the remote server
An error has occured while trying to cofigure the database.
System.Management.Automation.RuntimeException: No configuration file was found in ftp://waws-prod-dm1-043.ftp.azurewebsites.windows.net/site/wwwroot
PS C:\WINDOWS\system32>
