0

ここで説明されているように、ubuntu を使用して Azure 仮想サーバーに Greg Youngs EventStore をインストールしました: Windows Azure での 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/"]
}
4

1 に答える 1

3

さて、問題が見つかりました。

httpPrefix でポートを指定する必要があります。

私の修正された設定:

{
    "db": "/mnt/datadrive/eventStore/db",
    "logsDir": "/mnt/datadrive/eventStore/logs",
    "ip": "10.26.222.3",
    "httpPrefixes": ["http://mymachinename.cloudapp.net:2113/"]
}
于 2013-10-17T19:41:21.480 に答える