Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewsomething/3b3a237d9b2d1d64f234ddab6b5f7e7e to your computer and use it in GitHub Desktop.
Save andrewsomething/3b3a237d9b2d1d64f234ddab6b5f7e7e to your computer and use it in GitHub Desktop.
root@horizon-rethinkdb-on-1404:~/app# hz serve --bind all --dev --debug
App available at http://0.0.0.0:8181
debug: RethinkDB stdout: Recursively removing directory /root/app/rethinkdb_data/tmp
debug: RethinkDB stdout: Initializing directory /root/app/rethinkdb_data
info: RethinkDB Running rethinkdb 2.3.2~0trusty (GCC 4.8.2)...
info: RethinkDB Running on Linux 3.13.0-86-generic x86_64
debug: RethinkDB stdout: Loading data from directory /root/app/rethinkdb_data
error: rethinkdb stderr: warn: Cache size does not leave much memory for server and query overhead (available memory: 845 MB).
info: RethinkDB Listening for intracluster connections on port 40518
info: RethinkDB Listening for client driver connections on port 35129
info: RethinkDB Listening for administrative HTTP connections on port 36371
RethinkDB
├── Admin interface: http://localhost:36371
└── Drivers can connect to port 35129
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:35129
info: RethinkDB Listening on cluster addresses: 127.0.0.1, 127.0.1.1, ::1
info: RethinkDB Listening on driver addresses: 127.0.0.1, 127.0.1.1, ::1
info: RethinkDB Listening on http addresses: 127.0.0.1, 127.0.1.1, ::1
debug: RethinkDB stdout: To fully expose RethinkDB on the network, bind to all addresses by running rethinkdb with the `--bind all` command line option.
debug: RethinkDB stdout: Server ready, "horizon_rethinkdb_on_1404_051716_24_1gb_nyc3_01_td1" b8bbd1df-a249-4894-9d64-f6f25f5b9452
debug: Connection to RethinkDB established.
debug: running metadata sync
info: Index metadata synced.
info: Groups metadata synced.
info: Collections metadata synced.
debug: metadata sync complete
info: Metadata synced with database, ready for traffic.
Horizon ready for connections 🌄
debug: Handling HTTP request to horizon subpath: horizon.js
debug: Client connection established.
debug: Received handshake: {"method":"unauthenticated","request_id":0}
debug: Sending response: {"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJ1c2VyIjpudWxsLCJwcm92aWRlciI6bnVsbCwiaWF0IjoxNDYzNTA2Nzk5LCJleHAiOjE0NjM1OTMxOTl9.D0D7RqwDcKM3q6Y47OnxfpuKx4zLF1izfX4Wm1cHV4ton2B5tCcvtriR15Q-RwAUemOnq9JmMsYpPca8rYOJ2g","user_id":null,"request_id":0}
^Cdebug: Client connection terminated.
error: Error on connection to RethinkDB: Error: write EPIPE.
debug: RethinkDB stdout: Server got SIGINT from pid 0, uid 0; shutting down...
debug: RethinkDB stdout: Shutting down client connections...
debug: RethinkDB stdout: All client connections closed.
debug: RethinkDB stdout: Shutting down storage engine... (This may take a while if you had a lot of unflushed data in the writeback cache.)
debug: RethinkDB stdout: Storage engine shut down.
root@horizon-rethinkdb-on-1404:~/app#
root@horizon-rethinkdb-on-1404:~/app# hz serve --bind all --dev --debug
App available at http://0.0.0.0:8181
info: RethinkDB Running rethinkdb 2.3.2~0trusty (GCC 4.8.2)...
info: RethinkDB Running on Linux 3.13.0-86-generic x86_64
debug: RethinkDB stdout: Loading data from directory /root/app/rethinkdb_data
error: rethinkdb stderr: warn: Cache size does not leave much memory for server and query overhead (available memory: 841 MB).
info: RethinkDB Listening for intracluster connections on port 49016
info: RethinkDB Listening for client driver connections on port 57553
info: RethinkDB Listening for administrative HTTP connections on port 41842
RethinkDB
├── Admin interface: http://localhost:41842
└── Drivers can connect to port 57553
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:57553
info: RethinkDB Listening on cluster addresses: 127.0.0.1, 127.0.1.1, ::1
info: RethinkDB Listening on driver addresses: 127.0.0.1, 127.0.1.1, ::1
info: RethinkDB Listening on http addresses: 127.0.0.1, 127.0.1.1, ::1
debug: RethinkDB stdout: To fully expose RethinkDB on the network, bind to all addresses by running rethinkdb with the `--bind all` command line option.
debug: RethinkDB stdout: Server ready, "horizon_rethinkdb_on_1404_051716_24_1gb_nyc3_01_td1" b8bbd1df-a249-4894-9d64-f6f25f5b9452
debug: Connection to RethinkDB established.
debug: running metadata sync
info: Index metadata synced.
info: Metadata synced with database, ready for traffic.
Horizon ready for connections 🌄
debug: Handling HTTP request to horizon subpath: horizon.js
debug: Client connection established.
debug: Closing client connection with message: No connection to the database.
debug: info: {"error":"No connection to the database."}
debug: Client connection terminated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment