Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using "rethinkdb" as an alias for the hz serve CLI connect options would failed #881

Open
rguillome opened this issue May 3, 2017 · 0 comments

Comments

@rguillome
Copy link

Server version: 2.0.0

I tried to run a dev environment from the current docker-compose.yml and get the following error when the horizon server started :

error: Connection to RethinkDB terminated: ReqlDriverError: Could not connect to 28015:28015.
connect EINVAL 0.0.109.111:28015 - Local (0.0.0.0:0)

After several tests, i figure it out and It seems that the CLI hz replace the word rethinkdb by and empty String when using it with the --connect option.

I fixed it by replacing the alias of the rethinkdb container : rethinkdb by rethindbtest .
The current working docker-compose.yml

  rethinkdbtest:
    image: rethinkdb
    ports:
      - "28015:28015"
      - "8080:8080"
  horizon:
    image: rethinkdb/horizon
    command: su -s /bin/sh horizon -c "hz serve --dev --connect rethinkdbtest:28015 --bind all /usr/app"
    volumes:
      - /home/rguillome/Documents/perso/study/horizon/cv-backend:/usr/app
    links:
      - rethinkdbtest
    ports:
      - "8181:8181"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant