Jump to content
Welcome to our new Citrix community!
  • 1

Could not connect to the Broker service


Logiciel DSTI

Question

Hi,

 

I don't know if its following Windows Update or the renew of the SSL certificates in ISS.

Citrix Studio cannot connect to the Broker service.

All the citrix services seems to be running.

 

Here the error :

 

Error Id: XDDS:E0668E55

 

Exception:
    Citrix.Console.Models.Exceptions.ScriptException Could not connect to the Broker service.
       at Citrix.Console.PowerShellSdk.HealthMonitor.Scripts.ReloadServiceInstancesScript.CheckForWorkingServiceSet()
       at Citrix.Console.PowerShellSdk.HealthMonitor.Scripts.ReloadServiceInstancesScript.RunScript()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
       at Citrix.Console.PowerShellSdk.HealthMonitor.PSHealthCheckService.ReportServiceFailure(SdkType sdkType, String failedAddress, ScriptExecutionContext scriptContext, Nullable`1 zoneUid)
       at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.FailoverToAnotherService[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, ISupportsAdminAddress cmd)
       at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.CanFailover[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover, ISupportsAdminAddress cmd, HashSet`1 failedAddresses)
       at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.Execute[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover)
       at Citrix.Console.PowerShellSdk.SiteService.Scripts.GetConfigurationSlotScript.RunScript()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
       at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
       at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
       at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
       at Citrix.Console.PowerShellSdk.AppVService.Scripts.GetAppLibraryConfigurationSlotsScript.RunScript()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
       at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.DataMigration.AppLibraryConfigurationSlotCreationTask.GetUpgradeRequirement(IProgressReporter progressReporter, UpgradeStatusModel upgradeStatusModel)
       at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.UpgradeTaskBase.AssessUpgradeRequirement(IProgressReporter progressReporter, UpgradeStatusModel upgradeStatusModel)
       at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.DataMigration.DataMigrationTasks.GetUpgradeRequirement(IProgressReporter progressReporter, UpgradeStatusModel upgradeStatusModel)
       at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.UpgradeTaskBase.AssessUpgradeRequirement(IProgressReporter progressReporter, UpgradeStatusModel upgradeStatusModel)
       at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.Upgrade.GetUpgradeRequirement(IProgressReporter progressReporter, UpgradeStatusModel upgradeStatus)
       at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.UpgradeTaskBase.AssessUpgradeRequirement(IProgressReporter progressReporter, UpgradeStatusModel upgradeStatusModel)
       at Citrix.Console.PowerShellSdk.UpgradeService.PSUpgradeService.GetUpgradeStatus(IProgressReporter progressReporter)
       at Citrix.Console.PowerShellSdk.SiteService.Scripts.LoaderScript.RunScript()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
       at Citrix.Console.DeliveryCenter.UI.ViewModel.DesktopStudioViewModel.LoadSiteState(IProgressReporter progressReporter)
       at Citrix.Console.DeliveryCenter.UI.ViewModel.DesktopStudioViewModel.ConnectToSite(String ccsLocation, Boolean safeForDispatcher, IProgressReporter progressReporter)
   
    DesktopStudio_ErrorId : UnknownError
    ErrorCategory : NotSpecified
    DesktopStudio_PowerShellHistory : GetConfigurationSlotScript
    2020-08-24 10:06:06 AM
   
    Get-BrokerConfigurationSlot  -AdminAddress "localhost" -MaxRecordCount 2147483647 -Name "ApplicationStartDetails"
    Get-BrokerConfigurationSlot : Failed to connect to back-end server 'localhost' on port 80 using binding WSHttp. The server may be off-line or may not be running the appropriate service
     + CategoryInfo : InvalidOperation: (:) [Get-BrokerConfigurationSlot], SdkOperationException
     + FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.NoServerErrorId,Citrix.Broker.Admin.SDK.GetBrokerConfigurationSlotCommand
    Get-ConfigZone  -AdminAddress "ro-citrix.radonc.cegep-ste-foy.qc.ca:80" -MaxRecordCount 2147483647 -Property @("Uid","IsPrimary")
    Set-Variable  -Name "sidsToExclude" -Value @()
    Get-ConfigRegisteredServiceInstance -AdminAddress "localhost" -Filter {(((ServiceType -eq 'Broker') -and (Version -eq 2)) -or ((ServiceType -eq 'Config') -and (Version -eq 2)) -or ((ServiceType -eq 'Admin') -and (Version -eq 1)) -or ((ServiceType -eq 'Log') -and (Version -eq 1)) -or ((ServiceType -eq 'Acct') -and (Version -eq 2)) -or ((ServiceType -eq 'Hyp') -and (Version -eq 2)) -or ((ServiceType -eq 'AppLib') -and (Version -eq 1)) -or ((ServiceType -eq 'Prov') -and (Version -eq 2)) -or ((ServiceType -eq 'Monitor') -and (Version -eq 1)) -or ((ServiceType -eq 'Sf') -and (Version -eq 1)) -or ((ServiceType -eq 'Orch') -and (Version -eq 1)) -or ((ServiceType -eq 'Trust') -and (Version -eq 1)) -or ((ServiceType -eq 'EnvTest') -and (Version -eq 1)) -or ((ServiceType -eq 'Analytics') -and (Version -eq 1))) -and ((InterfaceType -eq 'SDK') -and (-not (ServiceAccountSid -in $sidsToExclude)))} -MaxRecordCount 2147483647 | Test-ConfigServiceInstanceAvailability -AdminAddress "localhost" -MaxDelaySeconds 5
    Remove-Variable  -Name "sidsToExclude"
    Set-Variable  -Name "sidsToExclude" -Value @()
    Get-ConfigRegisteredServiceInstance -AdminAddress "ro-citrix.radonc.cegep-ste-foy.qc.ca:80" -Filter {(((ServiceType -eq 'Broker') -and (Version -eq 2))) -and ((InterfaceType -eq 'SDK') -and (-not (ServiceAccountSid -in $sidsToExclude)))} -MaxRecordCount 2147483647 | Test-ConfigServiceInstanceAvailability -AdminAddress "ro-citrix.radonc.cegep-ste-foy.qc.ca:80" -ForceWaitForOneOfEachType -MaxDelaySeconds 60
    Remove-Variable  -Name "sidsToExclude"

Link to comment

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...