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

127.0.0.1 #28

Open
splitice opened this issue Jan 21, 2017 · 1 comment
Open

127.0.0.1 #28

splitice opened this issue Jan 21, 2017 · 1 comment

Comments

@splitice
Copy link

Fresh Install of the latest master apears to always try to connect to 127.0.0.1 which will fail if you try and build a cluster between multiple machines (i.e over a private network).

Error Messages:

Jan 21 06:53:41 db01 bash[24020]: [WARN] [01/21/2017 06:53:41.374] [curiodb-akka.remote.default-remote-dispatcher-43] [akka.tcp://[email protected]:9001/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fcuriodb%40127.0.0.1%3A9001-74] Association with remote system [akka.tcp://[email protected]:9001] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://[email protected]:9001]] Caused by: [Connection refused: /127.0.0.1:9001]
Jan 21 06:53:49 db01 bash[24020]: [WARN] [01/21/2017 06:53:49.370] [curiodb-akka.remote.default-remote-dispatcher-41] [akka.tcp://[email protected]:9001/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fcuriodb%4010.128.21.3%3A9001-75] Association with remote system [akka.tcp://[email protected]:9001] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://[email protected]:9001]] Caused by: [No route to host]
Jan 21 06:53:49 db01 bash[24020]: [WARN] [01/21/2017 06:53:49.378] [curiodb-akka.remote.default-remote-dispatcher-44] [akka.tcp://[email protected]:9001/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fcuriodb%4010.128.21.2%3A9001-76] Association with remote system [akka.tcp://[email protected]:9001] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://[email protected]:9001]] Caused by: [No route to host]
Jan 21 06:53:51 db01 bash[24020]: [WARN] [01/21/2017 06:53:51.401] [curiodb-akka.remote.default-remote-dispatcher-44] [akka.tcp://[email protected]:9001/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fcuriodb%40127.0.0.1%3A9001-77] Association with remote system [akka.tcp://[email protected]:9001] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://[email protected]:9001]] Caused by: [Connection refused: /127.0.0.1:9001]

Configuration:

curiodb {

  // Addresses listening for clients.
  listen = [
    "tcp://10.128.21.1:6379"    // TCP server using Redis protocol.
  ]

  // Duration settings (either time value, or "off").
  persist-after = 1 second    // Like "save" in Redis.
  sleep-after   = 10 seconds  // Virtual memory threshold.
  expire-after  = off         // Automatic key expiry.

  transactions {
    timeout   = 3 seconds     // Max time a transaction may take to run.
    isolation = repeatable    // "repeatable", "committed", or "uncommitted".
    on-error  = rollback      // "commit" or "rollback".
  }

  commands {
    timeout  = 1 second       // Max time a command may take to run.
    disabled = [SHUTDOWN]     // List of disabled commands.
    debug    = off            // Print debug info for every command run.
  }

  // Cluster nodes.
  nodes = {
    db01: "tcp://10.128.21.1:9001"
    db02: "tcp://10.128.21.2:9001"
    db03: "tcp://10.128.21.3:9001"
  }

  // Current cluster node (from the "nodes" keys above).
  node = db01

}

It's also not even listening on port 6379 which is configured. This is using OpenJDK, I'll test out Suns next.

@splitice
Copy link
Author

Can confirm same situation with Oracle JRE. :(

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