Skip to content

ReqlOpFailedError El Capitan #257

@anankitpatil

Description

@anankitpatil

I created the missing 'Author's' table yet I see this error. I'm pasting all of it here.

warn: Creating insecure HTTP server.
info: Serving static files from dist
info: Listening on 127.0.0.1:8181.
info: rethinkdb stdout: Running rethinkdb 2.3.0 (CLANG 7.3.0 (clang-703.0.29))...
info: rethinkdb stdout: Running on Darwin 15.4.0 x86_64
info: rethinkdb stdout: Loading data from directory /Users/AP/Documents/virtualserver/react-chat-app/rethinkdb_data
info: rethinkdb stdout: Listening for intracluster connections on port 53008
info: rethinkdb stdout: Listening for client driver connections on port 53009
info: rethinkdb stdout: Listening for administrative HTTP connections on port 53010
info: Starting Horizon...
debug: Added HTTP handler at /horizon/horizon.js
debug: Added HTTP handler at /horizon/horizon.js.map
debug: Added HTTP handler at /horizon/auth_methods
info: Connecting to RethinkDB: localhost:53009
info: rethinkdb stdout: Listening on cluster addresses: 127.0.0.1, ::1
info: rethinkdb stdout: Listening on driver addresses: 127.0.0.1, ::1
info: rethinkdb stdout: Listening on http addresses: 127.0.0.1, ::1
info: rethinkdb stdout: To fully expose RethinkDB on the network, bind to all addresses by running rethinkdb with the --bind all command line option.
info: rethinkdb stdout: Server ready, "AP_local_j4s" 9814ec7e-0a72-4ab1-a9c1-ae0df724ac45
info: Connection to RethinkDB established.
info: running metadata sync
error: Connection to RethinkDB terminated: ReqlOpFailedError: Cannot perform read: primary replica for shard ["", +inf) not available in:
r(["horizon", "horizon_internal"]).forEach(function(var_1) { return r.branch(r.dbList().contains(var_1), [], r.dbCreate(var_1)); }).do(function() { return r(["collections", "users_auth", "users"]).forEach(function(var_2) { return r.branch(r.db("horizon_internal").tableList().contains(var_2), [], r.db("horizon_internal").tableCreate(var_2)); }).do(function() { return r.db("horizon_internal").table("collections").map(function(var_0) { return {"name": var_0("id"), "indexes": var_0("indexes")}; }).coerceTo("array"); }); })
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: stack: ReqlOpFailedError: Cannot perform read: primary replica for shard ["", +inf) not available in:
r(["horizon", "horizon_internal"]).forEach(function(var_1) { return r.branch(r.dbList().contains(var_1), [], r.dbCreate(var_1)); }).do(function() { return r(["collections", "users_auth", "users"]).forEach(function(var_2) { return r.branch(r.db("horizon_internal").tableList().contains(var_2), [], r.db("horizon_internal").tableCreate(var_2)); }).do(function() { return r.db("horizon_internal").table("collections").map(function(var_0) { return {"name": var_0("id"), "indexes": var_0("indexes")}; }).coerceTo("array"); }); })
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at ReqlOpFailedError.ReqlError as constructor
at ReqlOpFailedError.ReqlRuntimeError as constructor
at ReqlOpFailedError.ReqlAvailabilityError as constructor
at new ReqlOpFailedError (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/errors.js:178:52)
at mkErr (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/util.js:177:10)
at TcpConnection.Connection._processResponse (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:152:16)
at TcpConnection.Connection._data (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:122:12)
at Socket. (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:683:32)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:529:20)
info: Connecting to RethinkDB: localhost:53009
info: Connection to RethinkDB established.
info: running metadata sync
error: Connection to RethinkDB terminated: ReqlOpFailedError: Cannot perform read: primary replica for shard ["", +inf) not available in:
r(["horizon", "horizon_internal"]).forEach(function(var_4) { return r.branch(r.dbList().contains(var_4), [], r.dbCreate(var_4)); }).do(function() { return r(["collections", "users_auth", "users"]).forEach(function(var_5) { return r.branch(r.db("horizon_internal").tableList().contains(var_5), [], r.db("horizon_internal").tableCreate(var_5)); }).do(function() { return r.db("horizon_internal").table("collections").map(function(var_3) { return {"name": var_3("id"), "indexes": var_3("indexes")}; }).coerceTo("array"); }); })
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: stack: ReqlOpFailedError: Cannot perform read: primary replica for shard ["", +inf) not available in:
r(["horizon", "horizon_internal"]).forEach(function(var_4) { return r.branch(r.dbList().contains(var_4), [], r.dbCreate(var_4)); }).do(function() { return r(["collections", "users_auth", "users"]).forEach(function(var_5) { return r.branch(r.db("horizon_internal").tableList().contains(var_5), [], r.db("horizon_internal").tableCreate(var_5)); }).do(function() { return r.db("horizon_internal").table("collections").map(function(var_3) { return {"name": var_3("id"), "indexes": var_3("indexes")}; }).coerceTo("array"); }); })
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at ReqlOpFailedError.ReqlError as constructor
at ReqlOpFailedError.ReqlRuntimeError as constructor
at ReqlOpFailedError.ReqlAvailabilityError as constructor
at new ReqlOpFailedError (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/errors.js:178:52)
at mkErr (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/util.js:177:10)
at TcpConnection.Connection._processResponse (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:152:16)
at TcpConnection.Connection._data (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:122:12)
at Socket. (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:683:32)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:529:20)
info: Connecting to RethinkDB: localhost:53009
info: Connection to RethinkDB established.
info: running metadata sync
error: Connection to RethinkDB terminated: ReqlOpFailedError: Cannot perform read: primary replica for shard ["", +inf) not available in:
r(["horizon", "horizon_internal"]).forEach(function(var_7) { return r.branch(r.dbList().contains(var_7), [], r.dbCreate(var_7)); }).do(function() { return r(["collections", "users_auth", "users"]).forEach(function(var_8) { return r.branch(r.db("horizon_internal").tableList().contains(var_8), [], r.db("horizon_internal").tableCreate(var_8)); }).do(function() { return r.db("horizon_internal").table("collections").map(function(var_6) { return {"name": var_6("id"), "indexes": var_6("indexes")}; }).coerceTo("array"); }); })
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: stack: ReqlOpFailedError: Cannot perform read: primary replica for shard ["", +inf) not available in:
r(["horizon", "horizon_internal"]).forEach(function(var_7) { return r.branch(r.dbList().contains(var_7), [], r.dbCreate(var_7)); }).do(function() { return r(["collections", "users_auth", "users"]).forEach(function(var_8) { return r.branch(r.db("horizon_internal").tableList().contains(var_8), [], r.db("horizon_internal").tableCreate(var_8)); }).do(function() { return r.db("horizon_internal").table("collections").map(function(var_6) { return {"name": var_6("id"), "indexes": var_6("indexes")}; }).coerceTo("array"); }); })
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at ReqlOpFailedError.ReqlError as constructor
at ReqlOpFailedError.ReqlRuntimeError as constructor
at ReqlOpFailedError.ReqlAvailabilityError as constructor
at new ReqlOpFailedError (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/errors.js:178:52)
at mkErr (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/util.js:177:10)
at TcpConnection.Connection._processResponse (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:152:16)
at TcpConnection.Connection._data (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:122:12)
at Socket. (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:683:32)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:529:20)
info: Connecting to RethinkDB: localhost:53009
info: Connection to RethinkDB established.
info: running metadata sync
error: Connection to RethinkDB terminated: ReqlOpFailedError: Cannot perform read: primary replica for shard ["", +inf) not available in:
r(["horizon", "horizon_internal"]).forEach(function(var_10) { return r.branch(r.dbList().contains(var_10), [], r.dbCreate(var_10)); }).do(function() { return r(["collections", "users_auth", "users"]).forEach(function(var_11) { return r.branch(r.db("horizon_internal").tableList().contains(var_11), [], r.db("horizon_internal").tableCreate(var_11)); }).do(function() { return r.db("horizon_internal").table("collections").map(function(var_9) { return {"name": var_9("id"), "indexes": var_9("indexes")}; }).coerceTo("array"); }); })
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: stack: ReqlOpFailedError: Cannot perform read: primary replica for shard ["", +inf) not available in:
r(["horizon", "horizon_internal"]).forEach(function(var_10) { return r.branch(r.dbList().contains(var_10), [], r.dbCreate(var_10)); }).do(function() { return r(["collections", "users_auth", "users"]).forEach(function(var_11) { return r.branch(r.db("horizon_internal").tableList().contains(var_11), [], r.db("horizon_internal").tableCreate(var_11)); }).do(function() { return r.db("horizon_internal").table("collections").map(function(var_9) { return {"name": var_9("id"), "indexes": var_9("indexes")}; }).coerceTo("array"); }); })
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at ReqlOpFailedError.ReqlError as constructor
at ReqlOpFailedError.ReqlRuntimeError as constructor
at ReqlOpFailedError.ReqlAvailabilityError as constructor
at new ReqlOpFailedError (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/errors.js:178:52)
at mkErr (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/util.js:177:10)
at TcpConnection.Connection._processResponse (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:152:16)
at TcpConnection.Connection._data (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:122:12)
at Socket. (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:683:32)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:529:20)
info: Connecting to RethinkDB: localhost:53009
info: Connection to RethinkDB established.
info: running metadata sync
error: Connection to RethinkDB terminated: ReqlOpFailedError: Cannot perform read: primary replica for shard ["", +inf) not available in:
r(["horizon", "horizon_internal"]).forEach(function(var_13) { return r.branch(r.dbList().contains(var_13), [], r.dbCreate(var_13)); }).do(function() { return r(["collections", "users_auth", "users"]).forEach(function(var_14) { return r.branch(r.db("horizon_internal").tableList().contains(var_14), [], r.db("horizon_internal").tableCreate(var_14)); }).do(function() { return r.db("horizon_internal").table("collections").map(function(var_12) { return {"name": var_12("id"), "indexes": var_12("indexes")}; }).coerceTo("array"); }); })
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: stack: ReqlOpFailedError: Cannot perform read: primary replica for shard ["", +inf) not available in:
r(["horizon", "horizon_internal"]).forEach(function(var_13) { return r.branch(r.dbList().contains(var_13), [], r.dbCreate(var_13)); }).do(function() { return r(["collections", "users_auth", "users"]).forEach(function(var_14) { return r.branch(r.db("horizon_internal").tableList().contains(var_14), [], r.db("horizon_internal").tableCreate(var_14)); }).do(function() { return r.db("horizon_internal").table("collections").map(function(var_12) { return {"name": var_12("id"), "indexes": var_12("indexes")}; }).coerceTo("array"); }); })
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at ReqlOpFailedError.ReqlError as constructor
at ReqlOpFailedError.ReqlRuntimeError as constructor
at ReqlOpFailedError.ReqlAvailabilityError as constructor
at new ReqlOpFailedError (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/errors.js:178:52)
at mkErr (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/util.js:177:10)
at TcpConnection.Connection._processResponse (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:152:16)
at TcpConnection.Connection._data (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:122:12)
at Socket. (/usr/local/lib/node_modules/horizon/node_modules/rethinkdb/net.js:683:32)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:529:20)
info: Connecting to RethinkDB: localhost:53009
info: Connection to RethinkDB established.
info: running metadata sync
info: metadata sync complete
info: Metadata synced with database, ready for traffic.
debug: Handling HTTP request to horizon subpath: horizon.js
debug: Handling HTTP request to horizon subpath: horizon.js
debug: Handling HTTP request to horizon subpath: horizon.js.map

Been trying to run the react-chat-app to no result. Help?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions