There’s gotta be some really dumb thing I’m doing. Now I’m getting the same behaviour in a simple console application.
Setup:
var node = EmbeddedVNodeBuilder
.AsSingleNode()
.RunInMemory()
.RunProjections(ProjectionsMode.System)
.NoAdminOnPublicInterface()
.NoGossipOnPublicInterface()
.NoStatsOnPublicInterface()
.WithExternalHeartbeatTimeout(TimeSpan.FromMinutes(5))
.WithExternalHttpOn(httpEndpoint)
.WithInternalHttpOn(httpEndpoint)
.WithExternalTcpOn(tcpEndpoint)
.WithInternalTcpOn(tcpEndpoint)
.Build();
Full project:
https://dl.dropboxusercontent.com/u/17053085/EventStoreRepro.zip
Log below. As soon as subscription is caught up it stops forwarding events. (my logging is prefixed with dashes, the rest is verbose client log)
Exiting with exit code: 1.
Exit reason: The requested address is not valid in its context
---- New node status: Unknown
---- New node status: PreMaster
---- New node status: Master
[05,14:02:10.845,DEBUG] Catch-up Subscription to : starting…
[07,14:02:10.848,DEBUG] Catch-up Subscription to : running…
[07,14:02:10.848,DEBUG] Catch-up Subscription to : pulling events…
---- Event rx $$$user-ops 0
[07,14:02:10.894,DEBUG] Catch-up Subscription to : processed event ($$$user-ops, 0, $metadata @ 173/173).
---- Event rx $$$projections-$8507ff484e42407da10cfcb0e5170680 0
[07,14:02:10.894,DEBUG] Catch-up Subscription to : processed event ($$$projections-$8507ff484e42407da10cfcb0e5170680, 0, $metadata @ 335/335).
---- Event rx $$$user-admin 0
[07,14:02:10.894,DEBUG] Catch-up Subscription to : processed event ($$$user-admin, 0, $metadata @ 494/494).
---- Event rx $projections-$master 0
[07,14:02:10.894,DEBUG] Catch-up Subscription to : processed event ($projections-$master, 0, $projection-worker-started @ 658/658).
---- Event rx $$$projections-$control 0
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($$$projections-$control, 0, $metadata @ 831/831).
---- Event rx $user-ops 0
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($user-ops, 0, $UserCreated @ 965/965).
---- Event rx $user-admin 0
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($user-admin, 0, $UserCreated @ 1254/1254).
---- Event rx $$$projections-$master 0
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($$$projections-$master, 0, $metadata @ 1553/1553).
---- Event rx $users 0
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($users, 0, $User @ 1686/1686).
---- Event rx $users 1
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($users, 1, $User @ 1786/1786).
---- Event rx $projections-$master 1
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($projections-$master, 1, $response-reader-starting @ 1888/1888).
---- Event rx $projections-$control 0
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($projections-$control, 0, $response-reader-started @ 2021/2021).
---- Event rx $projections-$all 0
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($projections-$all, 0, $ProjectionsInitialized @ 2154/2154).
---- Event rx $projections-$master 2
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($projections-$master, 2, $projection-worker-started @ 2280/2280).
---- Event rx $projections-$all 1
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($projections-$all, 1, $ProjectionCreated @ 2453/2453).
---- Event rx $projections-$all 2
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($projections-$all, 2, $ProjectionCreated @ 2582/2582).
---- Event rx $projections-$all 3
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($projections-$all, 3, $ProjectionCreated @ 2722/2722).
---- Event rx $projections-$all 4
[07,14:02:10.895,DEBUG] Catch-up Subscription to : processed event ($projections-$all, 4, $ProjectionCreated @ 2855/2855).
[07,14:02:10.895,DEBUG] Catch-up Subscription to : finished reading events, nextReadPosition = 2990/2990.
[07,14:02:10.895,DEBUG] Catch-up Subscription to : subscribing…
[07,14:02:10.903,DEBUG] Catch-up Subscription to : pulling events (if left)…
[07,14:02:10.903,DEBUG] Catch-up Subscription to : finished reading events, nextReadPosition = 2990/2990.
[07,14:02:10.903,DEBUG] Catch-up Subscription to : processing live events…
---- Now live processing
[07,14:02:10.903,DEBUG] Catch-up Subscription to {0}: hooking to connection.Connected
[07,14:02:10.918,DEBUG] Catch-up Subscription to : event appeared ($projections-$8507ff484e42407da10cfcb0e5170680, 0, $create-and-prepare @ ).
[07,14:02:10.919,DEBUG] Catch-up Subscription to : event appeared ($projections-$8507ff484e42407da10cfcb0e5170680, 1, $create-and-prepare @ ).
[07,14:02:10.919,DEBUG] Catch-up Subscription to : event appeared ($projections-$8507ff484e42407da10cfcb0e5170680, 2, $create-and-prepare @ ).
[07,14:02:10.919,DEBUG] Catch-up Subscription to : event appeared ($projections-$8507ff484e42407da10cfcb0e5170680, 3, $create-and-prepare @ ).
[06,14:02:10.920,DEBUG] Catch-up Subscription to : skipping event ($projections-$8507ff484e42407da10cfcb0e5170680, 0, $create-and-prepare @ ).
[06,14:02:10.920,DEBUG] Catch-up Subscription to : skipping event ($projections-$8507ff484e42407da10cfcb0e5170680, 1, $create-and-prepare @ ).
[06,14:02:10.920,DEBUG] Catch-up Subscription to : skipping event ($projections-$8507ff484e42407da10cfcb0e5170680, 2, $create-and-prepare @ ).
[06,14:02:10.920,DEBUG] Catch-up Subscription to : skipping event ($projections-$8507ff484e42407da10cfcb0e5170680, 3, $create-and-prepare @ ).
[07,14:02:10.973,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 3, $statistics-report @ ).
[07,14:02:10.973,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 3, $statistics-report @ ).
[06,14:02:10.992,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 4, $prepared @ ).
[07,14:02:10.992,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 4, $prepared @ ).
[07,14:02:10.997,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 5, $statistics-report @ ).
[07,14:02:10.997,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 6, $prepared @ ).
[07,14:02:10.997,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 7, $statistics-report @ ).
[07,14:02:10.997,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 8, $prepared @ ).
[07,14:02:10.997,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 9, $statistics-report @ ).
[06,14:02:10.997,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 5, $statistics-report @ ).
[06,14:02:10.997,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 6, $prepared @ ).
[06,14:02:10.997,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 7, $statistics-report @ ).
[06,14:02:10.997,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 8, $prepared @ ).
[06,14:02:10.997,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 9, $statistics-report @ ).
[07,14:02:10.997,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 10, $prepared @ ).
[07,14:02:10.997,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 10, $prepared @ ).
[07,14:02:11.015,DEBUG] Catch-up Subscription to : event appeared ($projections-$streams, 0, $ProjectionUpdated @ ).
[07,14:02:11.015,DEBUG] Catch-up Subscription to : skipping event ($projections-$streams, 0, $ProjectionUpdated @ ).
[07,14:02:11.019,DEBUG] Catch-up Subscription to : event appeared ($projections-$8507ff484e42407da10cfcb0e5170680, 4, $load-stopped @ ).
[07,14:02:11.019,DEBUG] Catch-up Subscription to : skipping event ($projections-$8507ff484e42407da10cfcb0e5170680, 4, $load-stopped @ ).
[07,14:02:11.019,DEBUG] Catch-up Subscription to : event appeared ($projections-$stream_by_category, 0, $ProjectionUpdated @ ).
[07,14:02:11.019,DEBUG] Catch-up Subscription to : skipping event ($projections-$stream_by_category, 0, $ProjectionUpdated @ ).
[07,14:02:11.019,DEBUG] Catch-up Subscription to : event appeared ($projections-$by_category, 0, $ProjectionUpdated @ ).
[07,14:02:11.019,DEBUG] Catch-up Subscription to : event appeared ($projections-$by_event_type, 0, $ProjectionUpdated @ ).
[07,14:02:11.019,DEBUG] Catch-up Subscription to : event appeared ($projections-$8507ff484e42407da10cfcb0e5170680, 5, $load-stopped @ ).
[07,14:02:11.019,DEBUG] Catch-up Subscription to : skipping event ($projections-$by_category, 0, $ProjectionUpdated @ ).
[07,14:02:11.019,DEBUG] Catch-up Subscription to : skipping event ($projections-$by_event_type, 0, $ProjectionUpdated @ ).
[07,14:02:11.019,DEBUG] Catch-up Subscription to : skipping event ($projections-$8507ff484e42407da10cfcb0e5170680, 5, $load-stopped @ ).
[07,14:02:11.020,DEBUG] Catch-up Subscription to : event appeared ($projections-$8507ff484e42407da10cfcb0e5170680, 6, $load-stopped @ ).
[07,14:02:11.020,DEBUG] Catch-up Subscription to : event appeared ($projections-$8507ff484e42407da10cfcb0e5170680, 7, $load-stopped @ ).
[06,14:02:11.020,DEBUG] Catch-up Subscription to : skipping event ($projections-$8507ff484e42407da10cfcb0e5170680, 6, $load-stopped @ ).
[06,14:02:11.020,DEBUG] Catch-up Subscription to : skipping event ($projections-$8507ff484e42407da10cfcb0e5170680, 7, $load-stopped @ ).
[06,14:02:11.021,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 11, $statistics-report @ ).
[06,14:02:11.021,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 11, $statistics-report @ ).
[07,14:02:11.039,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 12, $statistics-report @ ).
[07,14:02:11.039,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 12, $statistics-report @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 13, $stopped @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 14, $statistics-report @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 15, $statistics-report @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 16, $statistics-report @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 17, $statistics-report @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 13, $stopped @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 14, $statistics-report @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 15, $statistics-report @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 16, $statistics-report @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 17, $statistics-report @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 18, $statistics-report @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 19, $stopped @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 20, $statistics-report @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 21, $statistics-report @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 18, $statistics-report @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 22, $stopped @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 19, $stopped @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 20, $statistics-report @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 21, $statistics-report @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 23, $statistics-report @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 24, $statistics-report @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 25, $stopped @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 22, $stopped @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 23, $statistics-report @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 24, $statistics-report @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 25, $stopped @ ).
[06,14:02:11.041,DEBUG] Catch-up Subscription to : event appeared ($projections-$master, 26, $statistics-report @ ).
[07,14:02:11.041,DEBUG] Catch-up Subscription to : skipping event ($projections-$master, 26, $statistics-report @ ).
[06,14:02:11.404,DEBUG] Catch-up Subscription to : event appeared ($$$stats-255.255.255.255:0, 0, $metadata @ ).
[06,14:02:11.404,DEBUG] Catch-up Subscription to : skipping event ($$$stats-255.255.255.255:0, 0, $metadata @ ).
----- Writing
[16,14:02:11.846,DEBUG] Catch-up Subscription to : event appeared (MyStream, 0, MyEventType @ ).
[16,14:02:11.846,DEBUG] Catch-up Subscription to : skipping event (MyStream, 0, MyEventType @ ).
----- Writing
[07,14:02:12.842,DEBUG] Catch-up Subscription to : event appeared (MyStream, 1, MyEventType @ ).
[07,14:02:12.842,DEBUG] Catch-up Subscription to : skipping event (MyStream, 1, MyEventType @ ).
----- Writing
[06,14:02:13.843,DEBUG] Catch-up Subscription to : event appeared (MyStream, 2, MyEventType @ ).
[06,14:02:13.843,DEBUG] Catch-up Subscription to : skipping event (MyStream, 2, MyEventType @ ).
----- Writing
[16,14:02:14.843,DEBUG] Catch-up Subscription to : event appeared (MyStream, 3, MyEventType @ ).
[04,14:02:14.843,DEBUG] Catch-up Subscription to : skipping event (MyStream, 3, MyEventType @ ).
----- Writing
[16,14:02:15.843,DEBUG] Catch-up Subscription to : event appeared (MyStream, 4, MyEventType @ ).
[04,14:02:15.843,DEBUG] Catch-up Subscription to : skipping event (MyStream, 4, MyEventType @ ).
----- Writing
[04,14:02:16.843,DEBUG] Catch-up Subscription to : event appeared (MyStream, 5, MyEventType @ ).
[04,14:02:16.843,DEBUG] Catch-up Subscription to : skipping event (MyStream, 5, MyEventType @ ).
----- Writing
[04,14:02:17.844,DEBUG] Catch-up Subscription to : event appeared (MyStream, 6, MyEventType @ ).
[21,14:02:17.844,DEBUG] Catch-up Subscription to : skipping event (MyStream, 6, MyEventType @ ).
----- Writing
[19,14:02:18.845,DEBUG] Catch-up Subscription to : event appeared (MyStream, 7, MyEventType @ ).
[04,14:02:18.845,DEBUG] Catch-up Subscription to : skipping event (MyStream, 7, MyEventType @ ).