Hi,
I have a problem with setting up Event Store v3 cluster on mono
Looks like http messages coming into the wrong port.
#!/bin/sh
mono-sgen $ES_HOME/EventStore.ClusterNode.exe\
–enable-trusted-auth\
–int-ip 127.0.0.1\
–ext-ip 127.0.0.1\
–int-tcp-port=1111\
–ext-tcp-port=1112\
–int-http-port=1113\
–ext-http-port=1114\
–nodes-count 2\
–gossip-seed 127.0.0.1:2111\
–use-dns-discovery-
mono-sgen $ES_HOME/EventStore.ClusterNode.exe\
–enable-trusted-auth\
–int-ip 127.0.0.1\
–ext-ip 127.0.0.1\
–int-tcp-port=2111\
–ext-tcp-port=2112\
–int-http-port=2113\
–ext-http-port=2114\
–nodes-count 2\
–gossip-seed 127.0.0.1:1111\
–use-dns-discovery-
ES VERSION: 3.0.0.0 (master/30f7fa64d73ba65028e5a6ca720639985cac1458, Tue, 18 Mar 2014 20:03:41 +0000)
OS: Unknown (Unix 13.2.0.0)
RUNTIME: 3.4.0 (tarball Wed May 14 20:18:55 BST 2014) (64-bit)
GC: 2 GENERATIONS
LOGS: /var/folders/0t/cgkhtn_d1p5_bqf60m4p733c0000gn/T/EventStore/2014-06-19_18.33.56.393417-Node1114-logs
SHOW HELP: False ()
SHOW VERSION: False ()
LOGS DIR: ()
CONFIGS: ()
DEFINES: ()
INTERNAL IP: 127.0.0.1 (–internal-ip from command line)
EXTERNAL IP: 127.0.0.1 (–external-ip from command line)
INTERNAL HTTP PORT: 1113 (–internal-http-port from command line)
EXTERNAL HTTP PORT: 1114 (–external-http-port from command line)
INTERNAL TCP PORT: 1111 (–internal-tcp-port from command line)
INTERNAL SECURE TCP PORT: 0 ()
EXTERNAL TCP PORT: 1112 (–external-tcp-port from command line)
EXTERNAL SECURE TCP PORT: 0 ()
FORCE: False ()
CLUSTER SIZE: 2 (–cluster-size from command line)
MIN FLUSH DELAY MS: 2 ()
NODE PRIORITY: 0 ()
COMMIT COUNT: 2 ()
PREPARE COUNT: 2 ()
MAX MEM TABLE SIZE: 1000000 ()
DISCOVER VIA DNS: False (–use-dns-discovery from command line)
CLUSTER DNS: fake.dns ()
CLUSTER GOSSIP PORT: 30777 ()
GOSSIP SEEDS: 127.0.0.1:2111 (–gossip-seed from command line)
STATS PERIOD SEC: 30 ()
CACHED CHUNKS: -1 ()
CHUNKS CACHE SIZE: 536871424 ()
DB PATH: ()
IN MEM DB: False ()
SKIP DB VERIFY: False ()
RUN PROJECTIONS: System ()
PROJECTION THREADS: 3 ()
WORKER THREADS: 5 ()
HTTP PREFIXES: ()
ENABLE TRUSTED AUTH: True (–enable-trusted-auth from command line)
CERTIFICATE STORE: ()
CERTIFICATE NAME: ()
CERTIFICATE FILE: ()
CERTIFICATE PASSWORD: ()
USE INTERNAL SSL: False ()
SSL TARGET HOST: n/a ()
SSL VALIDATE SERVER: True ()
AUTHENTICATION TYPE: internal ()
AUTHENTICATION CONFIG FILE: ()
PREPARE TIMEOUT MS: 2000 ()
COMMIT TIMEOUT MS: 2000 ()
DISABLE SCAVENGE MERGING: False ()
GOSSIP ON EXT: True ()
STATS ON EXT: True ()
ADMIN ON EXT: True ()
[92555,01,18:33:56.822] Quorum size set to 2
[92555,01,18:33:56.831] Can’t find plugins path: /Users/t3hnar/projects/eventstore/EventStore-MonoMac-v3.0.0rc2/plugins
[92555,01,18:33:56.865]
INSTANCE ID: bfbb90e6-05d3-4e35-ad18-5ee31ebc182f
DATABASE: /var/folders/0t/cgkhtn_d1p5_bqf60m4p733c0000gn/T/EventStore/2014-06-19_18.33.56.393417-Node1114
WRITER CHECKPOINT: 0 (0x0)
CHASER CHECKPOINT: 0 (0x0)
EPOCH CHECKPOINT: -1 (0xFFFFFFFFFFFFFFFF)
TRUNCATE CHECKPOINT: -1 (0xFFFFFFFFFFFFFFFF)
[92555,01,18:33:56.989] MessageHierarchy initialization took 00:00:00.0961526.
[92555,01,18:33:57.794] CACHED TFChunk #0-0 (chunk-000000.000000) in 00:00:00.0020846.
[92555,01,18:33:57.903] Starting MiniWeb for /web/es/js/projections ==> /Users/t3hnar/projects/eventstore/EventStore-MonoMac-v3.0.0rc2/singlenode-web/js/projections
[92555,01,18:33:57.903] Starting MiniWeb for /web/es/js/projections/v8/Prelude ==> /Users/t3hnar/projects/eventstore/EventStore-MonoMac-v3.0.0rc2/Prelude
[92555,01,18:33:57.903] Starting MiniWeb for /web/es/js/projections/resources ==> /Users/t3hnar/projects/eventstore/EventStore-MonoMac-v3.0.0rc2/web-resources/js
[92555,01,18:33:57.904] Binding MiniWeb to /web/es/js/projections/{*remaining_path}
[92555,01,18:33:57.904] Binding MiniWeb to /web/es/js/projections/v8/Prelude/{*remaining_path}
[92555,01,18:33:57.904] Binding MiniWeb to /web/es/js/projections/resources/{*remaining_path}
[92555,01,18:33:57.905] Binding MiniWeb to /web/es/js/projections/{*remaining_path}
[92555,01,18:33:57.905] Binding MiniWeb to /web/es/js/projections/v8/Prelude/{*remaining_path}
[92555,01,18:33:57.905] Binding MiniWeb to /web/es/js/projections/resources/{*remaining_path}
[92555,01,18:33:57.908] Starting MiniWeb for /web ==> /Users/t3hnar/projects/eventstore/EventStore-MonoMac-v3.0.0rc2/clusternode-web
[92555,01,18:33:57.908] Starting MiniWeb for /web/es ==> /Users/t3hnar/projects/eventstore/EventStore-MonoMac-v3.0.0rc2/es-common-web
[92555,01,18:33:57.908] Binding MiniWeb to /web/{*remaining_path}
[92555,01,18:33:57.908] Binding MiniWeb to /web/es/{*remaining_path}
[92555,01,18:33:57.908] Starting MiniWeb for /web/users ==> /Users/t3hnar/projects/eventstore/EventStore-MonoMac-v3.0.0rc2/Users/web
[92555,01,18:33:57.908] Binding MiniWeb to /web/users/{*remaining_path}
[92555,01,18:33:57.908] Starting MiniWeb for /web ==> /Users/t3hnar/projects/eventstore/EventStore-MonoMac-v3.0.0rc2/clusternode-web
[92555,01,18:33:57.908] Starting MiniWeb for /web/es ==> /Users/t3hnar/projects/eventstore/EventStore-MonoMac-v3.0.0rc2/es-common-web
[92555,01,18:33:57.908] Binding MiniWeb to /web/{*remaining_path}
[92555,01,18:33:57.908] Binding MiniWeb to /web/es/{*remaining_path}
[92555,01,18:33:57.908] Starting MiniWeb for /web/users ==> /Users/t3hnar/projects/eventstore/EventStore-MonoMac-v3.0.0rc2/Users/web
[92555,01,18:33:57.908] Binding MiniWeb to /web/users/{*remaining_path}
[92555,10,18:33:57.929] ========== [127.0.0.1:1113] SYSTEM INIT…
[92555,10,18:33:57.949] Starting Normal TCP listening on TCP endpoint: 127.0.0.1:1112.
[92555,10,18:33:57.952] Starting Normal TCP listening on TCP endpoint: 127.0.0.1:1111.
[92555,13,18:33:57.966] TableIndex initialization…
[92555,13,18:33:57.977] ReadIndex building…
[92555,13,18:33:57.978] ReadIndex rebuilding done: total processed 0 records, time elapsed: 00:00:00.0006470.
[92555,10,18:33:57.990] Starting HTTP server on [http://127.0.0.1:1114/]…
[92555,10,18:33:57.993] HTTP server is up and listening on [http://127.0.0.1:1114/]
[92555,10,18:33:57.993] Starting HTTP server on [http://127.0.0.1:1113/]…
[92555,10,18:33:57.993] HTTP server is up and listening on [http://127.0.0.1:1113/]
[92555,10,18:33:58.010] SLOW QUEUE MSG [MainQueue]: SystemInit - 85ms. Q: 0/8.
[92555,10,18:33:58.010] ========== [127.0.0.1:1113] Service ‘StorageReader’ initialized.
[92555,10,18:33:58.010] ========== [127.0.0.1:1113] Service ‘StorageWriter’ initialized.
[92555,10,18:33:58.010] ========== [127.0.0.1:1113] Service ‘StorageChaser’ initialized.
[92555,10,18:33:58.035] CLUSTER HAS CHANGED
Old:
VND {bfbb90e6-05d3-4e35-ad18-5ee31ebc182f} [Unknown, 127.0.0.1:1111, n/a, 127.0.0.1:1112, n/a, 127.0.0.1:1113, 127.0.0.1:1114] -1/0/0/E-1@-1:{00000000-0000-0000-0000-000000000000} | 2014-06-19 18:33:57.994
New:
MAN {00000000-0000-0000-0000-000000000000} [Manager, 127.0.0.1:2111, 127.0.0.1:2111] | 2014-06-19 18:33:58.012
VND {bfbb90e6-05d3-4e35-ad18-5ee31ebc182f} [Unknown, 127.0.0.1:1111, n/a, 127.0.0.1:1112, n/a, 127.0.0.1:1113, 127.0.0.1:1114] -1/0/0/E-1@-1:{00000000-0000-0000-0000-000000000000} | 2014-06-19 18:33:57.994