Skip to content

Server: connect with rethinkdb as hostname fails #697

Open
@intellix

Description

Server version: 2.0.0

So I'm using Docker and linking rethinkdb into my horizon container.

hz serve --dev --connect rethinkdb:28015 --secure=no --bind all --allow-anonymous=yes /usr/app throws:

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)

hz serve --dev --connect rdb:28015 --secure=no --bind all --allow-anonymous=yes /usr/app works fine though

Dumping the rdb_uri from url.parse(connect) I get:

Url {
  protocol: 'rethinkdb:',
  slashes: null,
  auth: null,
  host: '28015',
  port: null,
  hostname: '28015',
  hash: null,
  search: null,
  query: null,
  pathname: null,
  path: null,
  href: 'rethinkdb:28015' }

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions