Having trouble appending to a stream

Hey guys,

I’m probably doing this completely wrong but I’m just having a hard time getting going over here. I’ve tried this with the latest release and pre-release (on Win 8):

  1. Pulled down the binaries
  2. Ran the server (EventStoreSingleNode.exe --db ./db --log ./logs)
  3. Tried executing the following code: https://gist.github.com/jmarnold/9733886
    If I use the default connection settings, I get an issue with the append operation (retry limit reached). If I use the connection settings supplied in the gist, I just get a message saying that “the connection was closed”.

Is there anything glaringly wrong with what I’m trying?

Forgot to mention, I tried this with the latest pre-release (and release) from NuGet as well.

You’re connecting the TCP client to HTTP port - use 1113 instead of 2113 for client API connections.


Thanks, James. That did it.