When using our Dockerized instance of Event Store on a development environment, we cannot seem to create a projection that starts correctly. It is possibly related to this other issue that I just posted about.
Here’s the steps to reproduce:
-
Hit the “Projections” tab - http://192.168.99.100:2113/web/index.html#/projections (note: 192.168.99.100 is the IP of the Docker VM on Windows)
-
Click “New Projection” - http://192.168.99.100:2113/web/index.html#/projections/new
-
Enter name of projection (“WidgetTest”)
-
Enter projection source (which I’ll include in case it’s my projection that’s the issue:
fromCategory(“widget”).when({
“WidgetCreated”: function(state, event) {
linkTo(“widget.header-” + event.data.id, event);
},
“WidgetAltered”: function(state, event) {
linkTo(“widget.header-” + event.data.id, event);
},
“WidgetDeleted”: function(state, event) {
linkTo(“widget.header-” + event.data.id, event);
}
});
``
-
Set mode to Continuous and check all boxes (Emit Enabled, Track Emitted Streams, Enabled)
-
Click “Create”
-
Arrive at projection details page and source is empty!!!
-
Note first the URL it redirects me to: http://192.168.99.100:2113/web/index.html#/projections/http%3A%2F%2F0.0.0.0%3A2113%2Fprojection%2FWidgetTest - this is what leads me to believe it might be related to the 0.0.0.0 issue I am also having.
-
Source text box is empty. All stats fields in the stats table are empty (no values)
-
Click “Start” and get red error box saying “Failure (tap to dismiss) -> projection could not be started”
-
Note that if I alter the URL to the more correct looking http://192.168.99.100:2113/web/index.html#/projections/WidgetTest, the page behaves the same way. No improvement.