gpt4 book ai didi

events - Azure 上的 Greg Youngs EventStore 与 Mono - Http 无法正常工作

转载 作者:行者123 更新时间:2023-12-03 05:09:44 25 4
gpt4 key购买 nike

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

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/"]
}

关于events - Azure 上的 Greg Youngs EventStore 与 Mono - Http 无法正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19012429/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com