【问题标题】:NServiceBus - Service Pulse - Can't connect to ServiceControl (http://localhost:33333/api/)NServiceBus - 服务脉冲 - 无法连接到 ServiceControl (http://localhost:33333/api/)
【发布时间】:2015-07-12 20:57:51
【问题描述】:

我正在使用 NServiceBus 5。我的消息发送/接收正确,但我在使用 Service Pulse 时遇到问题。我已经使用默认端点名称配置了审核。

当我导航到 Service Pulse (http://localhost:9090/) 时,我收到以下错误。

Can't connect to ServiceControl (http://localhost:33333/api/)

查看我的服务,我发现 Particular ServiceControl 没有启动。当我尝试启动它时,它会启动并立即停止。

我已在以下位置查看日志:

%LOCALAPPDATA%\Particular\ServiceControl\logs

%WINDIR%\System32\config\systemprofile\AppData\Local\Particular\ServiceControl\logs

但除了昨天关于丢失队列的错误(见下文) - 什么都没有。当我现在尝试重新启动服务时,我没有收到任何错误。

有人知道我应该怎么做才能让 Service Pulse 正常工作吗?

我昨天删除了所有私人队列,以为它们会自动重新创建。现在我意识到只有端点被重新创建,我已经手动重新创建了一些。

现在连同我的端点队列:

audit
auditqueue
error
error.log
particular.servicecontrol
particular.servicecontrol.errors
particular.servicecontrol.retries
particular.servicecontrol.timeouts
particular.servicecontrol.timeoutsdispatcher

--- 编辑---

最终只是卸载并重新安装 - 解决了问题。

ServiceControl --uninstall

ServiceControl --install

【问题讨论】:

    标签: nservicebus nsb-servicecontrol


    【解决方案1】:

    尝试在管理控制台中运行 ServiceControl --install,它将创建队列 (C:\Program Files (x86)\Particular Software\ServiceControl> .\ServiceControl.exe --install)

    如果不需要,您需要手动添加这些队列或重新安装 ServiceControl: particular.servicecontrol particular.servicecontrol.errors particular.servicecontrol.timeouts particular.servicecontrol.timeoutsdispatcher

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-08-13
      • 2021-10-30
      • 2020-07-14
      • 2017-11-10
      • 1970-01-01
      相关资源
      最近更新 更多