Skip to content

Connection to locally running eventstore fails when node-eventstore-client is used in a docker container. #98

Description

@hg-jarlinghaus

When attempting to connect to Eventstore running locally while running code in a docker container the connection never succeeds and after attempting to reconnect 10 times will close the connection. Server logs seem to indicate no attempt at connecting to Eventstore reached the server. Issue sounds similar to #60, however adding verboseLogging: true fixed nothing.
Repo with working example can be found here.

With that repo running building and running the container will result in the connection being closed, however running npm run build followed by node ./dist/subscribe.js results in a successful connection.

Attempting to connect to an eventstore server that isn't being hosted on my local machine results in a successful connection on both the docker container and by just running the code directly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions