Azure上Mono-Http不工作的Greg Youngs EventStore

Azure上Mono-Http不工作的Greg Youngs EventStore,events,azure,mono,Events,Azure,Mono,我已使用ubuntu在azure虚拟服务器上安装了Greg Youngs EventStore,如下所述: EventStore正在运行,我可以使用.Net Api连接到它,但http服务器根本不工作。web界面的工作方式不如atom api。我没有得到服务器的答复。日志里什么也没有。端口转发似乎在tcp端点工作时工作 这是日志: [53170,01,18:13:00.010] MessageHierarchy initialization took 00:00:00.1765448. [53

我已使用ubuntu在azure虚拟服务器上安装了Greg Youngs EventStore,如下所述:

EventStore正在运行,我可以使用.Net Api连接到它,但http服务器根本不工作。web界面的工作方式不如atom api。我没有得到服务器的答复。日志里什么也没有。端口转发似乎在tcp端点工作时工作

这是日志:

[53170,01,18:13:00.010] MessageHierarchy initialization took 00:00:00.1765448.

[53170,01,18:13:03.093] CACHED TFChunk #0-0 (chunk-000000.000000) in 00:00:00.3169408.

[53170,01,18:13:03.341] Starting MiniWeb for /web/es/js/projections ==> /home/azureuser/EventStore/bin/eventstore/release/anycpu/singlenode-web/js/projections

[53170,01,18:13:03.341] Starting MiniWeb for /web/es/js/projections/v8/Prelude ==> /home/azureuser/EventStore/bin/eventstore/release/anycpu/Prelude

[53170,01,18:13:03.342] Starting MiniWeb for /web/es/js/projections/resources ==> /home/azureuser/EventStore/bin/eventstore/release/anycpu/web-resources/js

[53170,01,18:13:03.343] Binding MiniWeb to /web/es/js/projections/{*remaining_path}

[53170,01,18:13:03.343] Binding MiniWeb to /web/es/js/projections/v8/Prelude/{*remaining_path}

[53170,01,18:13:03.343] Binding MiniWeb to /web/es/js/projections/resources/{*remaining_path}

[53170,01,18:13:03.348] Starting MiniWeb for /web ==> /home/azureuser/EventStore/bin/eventstore/release/anycpu/singlenode-web

[53170,01,18:13:03.348] Starting MiniWeb for /web/es ==> /home/azureuser/EventStore/bin/eventstore/release/anycpu/es-common-web

[53170,01,18:13:03.348] Binding MiniWeb to /web/{*remaining_path}

[53170,01,18:13:03.348] Binding MiniWeb to /web/es/{*remaining_path}

[53170,01,18:13:03.348] Starting MiniWeb for /web/users ==> /home/azureuser/EventStore/bin/eventstore/release/anycpu/Users/web

[53170,01,18:13:03.348] Binding MiniWeb to /web/users/{*remaining_path}

[53170,10,18:13:03.384] ========== [#############:2113] SYSTEM INIT...

[53170,08,18:13:03.457] TableIndex initialization...

[53170,08,18:13:03.472] ReadIndex building...

[53170,10,18:13:03.502] Starting Normal TCP listening on TCP endpoint: ###############:1113.

[53170,10,18:13:03.568] SLOW BUS MSG [MainBus]: SystemInit - 115ms. Handler: TcpService.

[53170,10,18:13:03.641] Starting HTTP server on [####################]...

[53170,10,18:13:03.646] HTTP server is up and listening on [#######################]

[53170,10,18:13:03.646] SLOW BUS MSG [MainBus]: SystemInit - 77ms. Handler: HttpService.

[53170,10,18:13:03.713] SLOW QUEUE MSG [MainQueue]: SystemInit - 296ms. Q: 0/1012.

[53170,08,18:13:05.878] ReadIndex Rebuilding Done: total processed 33820 records, time elapsed: 00:00:02.4055370.

[53170,10,18:13:05.882] ========== [##############:2113] SYSTEM START....

[53170,08,18:13:05.882] SLOW QUEUE MSG [StorageWriterQueue]: SystemInit - 2488ms. Q: 0/0.

[53170,10,18:13:05.889] ========== [#############:2113] PRE-MASTER STATE, WAITING FOR CHASER TO CATCH UP...

[53170,10,18:13:05.894] ========== [#############:2113] IS WORKING!!! SPARTA!!!

[53170,08,18:13:06.024] === Writing E3@248463988:{d52679ba-8314-479e-8d9c-9911094d17a8} (previous epoch at 301989).

[53170,12,18:13:06.029] SLOW BUS MSG [manager input bus]: ReadStreamEventsBackwardCompleted - 60ms. Handler: ProjectionManager.

[53170,12,18:13:06.029] SLOW QUEUE MSG [Projections Master]: ReadStreamEventsBackwardCompleted - 64ms. Q: 0/4.

[53170,08,18:13:06.122] === Update Last Epoch E3@248463988:{d52679ba-8314-479e-8d9c-9911094d17a8} (previous epoch at 301989).

[53170,13,18:13:06.157] Creating an event distribution point at 'C:0/P:-1'
有人有类似的问题吗

我的配置:

{
    "db": "/mnt/datadrive/eventStore/db",
    "logsDir": "/mnt/datadrive/eventStore/logs",
    "ip": "10.26.222.3",
    "httpPrefixes": ["http://mymachinename.cloudapp.net/"]
}
好的,发现问题了

您必须在httpPrefix中指定端口:

我的正确配置:

{
    "db": "/mnt/datadrive/eventStore/db",
    "logsDir": "/mnt/datadrive/eventStore/logs",
    "ip": "10.26.222.3",
    "httpPrefixes": ["http://mymachinename.cloudapp.net:2113/"]
}
好的,发现问题了

您必须在httpPrefix中指定端口:

我的正确配置:

{
    "db": "/mnt/datadrive/eventStore/db",
    "logsDir": "/mnt/datadrive/eventStore/logs",
    "ip": "10.26.222.3",
    "httpPrefixes": ["http://mymachinename.cloudapp.net:2113/"]
}

你正在运行哪个版本的Mono??您可以通过在一个终端中编写命令
mono--version
来检查这一点,该终端上写着“mono-JIT编译器版本(EventStore补丁构建:ThreadPool.c)3.0.12((no/d6c5db8 Thu Sep 19 20:01:44 UTC 2013)(EventStore构建)”。我建议您升级到mono 3.2.3并重新测试。EventStore源代码中没有脚本可以编译3012之后的修补版本。mono运行EventStore,而不是相反,因此您应该能够安装mono v3.2.3来运行EventStore,我不知道您在说什么脚本mono的哪个版本您正在运行吗?您可以通过在一个终端中编写命令
mono--version
来检查这一点,该终端上写着“mono-JIT编译器版本(EventStore补丁构建:ThreadPool.c)3.0.12((no/d6c5db8 Thu-Sep 19 20:01:44 UTC 2013)(EventStore构建)”。我建议您升级到mono 3.2.3并重新测试。EventStore源代码中没有脚本可以编译3012之后的修补版本。mono运行EventStore,而不是相反,因此您应该能够安装mono v3.2.3来运行EventStore,我不知道您在说什么脚本