我的操作系统是Windows 2012 Essentials。
我使用安装程序安装了NServiceBus 4,然后安装了Service Insight 接受默认设置。
启动Service Insight时,连接管理服务时出错。我已尝试输入http://localhost:3333
但错误输出到404.我已经验证服务“特定管理”正在运行。
修改
根据Hadi的说明,我已将他列出的网址http://localhost:33333/api
粘贴到Connect to Management Service -> Service URL
文本框中,但仍然找不到404错误。当我尝试将URL放入谷歌浏览器时,我也得到了404(图片由燕麦片提供)。
我已验证名为Particular Management
的服务正在运行。该服务的描述是Particular Management Service for NServiceBus (Version 4.0.5)
。
我再次运行安装程序以获取修改/修复/删除选项,并在修改选项中验证了管理服务的安装。
是否应该有一个名为Management Service
的其他服务?这可能是版本4.0.5引入的问题吗?
编辑2
我已将额外的/
附加到网址的末尾,仍然没有骰子。这是日志信息。
2013-10-11 09:15:58,488 - [INFO ] - IManagementService - HTTP GET http://localhost:33333/api//
2013-10-11 09:15:58,501 - [DEBUG] - IManagementService - HTTP Status NotFound (404) (http://localhost:33333/api//http://localhost:33333/api)
2013-10-11 09:15:58,506 - [DEBUG] - IManagementService - Response Header: Transfer-Encoding : chunked
2013-10-11 09:15:58,507 - [DEBUG] - IManagementService - Response Header: X-Particular-Version : 1.0.0-unstable122
2013-10-11 09:15:58,508 - [DEBUG] - IManagementService - Response Header: Cache-Control : private, max-age=300, must-revalidate
2013-10-11 09:15:58,509 - [DEBUG] - IManagementService - Response Header: Content-Type : text/html
2013-10-11 09:15:58,529 - [DEBUG] - IManagementService - Response Header: Date : Fri, 11 Oct 2013 14:15:58 GMT
2013-10-11 09:15:58,533 - [DEBUG] - IManagementService - Response Header: Server : Microsoft-HTTPAPI/2.0
2013-10-11 09:15:58,536 - [ERROR] - IManagementService - Error executing the request: , Status code is NotFound
答案 0 :(得分:0)
服务控制URL(a.k.a管理服务)也需要/ api,例如http://localhost:33333/api
(你错过了3?)。在一天结束时,它也是一个NServiceBus主机进程,因此您需要检查并确保它实际上正在运行(使用任务管理器或服务)。
答案 1 :(得分:0)
你最后需要斜线:
http://localhost:33333/api/