找到你要的答案

Q:Aerospike keeps getting client timeout error

Q:塞保持客户端超时错误

I've installed locally an instance of Aerospike (1 node) on Ubuntu 14.04 that is unable to perform any operation besides "show" operations of aql (Aerospike Query Language) because of this error:

Error: (9) Client timeout: timeout=1000 iterations=1 failedNodes=0 failedConns=0

I even purged and re-installed Aerospike but nothing changed. I am actually testing it to see if it is reliable for production but this error makes me have second thoughts. Has anyone encountered this problem before, or might have any idea for a solution?

我在本地安装塞式实例(1节点)在Ubuntu 14.04无法执行任何操作除了“AQL秀”的操作是(塞式查询语言)因为这个错误:

Error: (9) Client timeout: timeout=1000 iterations=1 failedNodes=0 failedConns=0

我甚至清除和重新安装塞但是什么都没有改变。我实际上是在测试它,看看它是否可靠的生产,但这个错误让我有第二个想法。有没有人遇到过这个问题之前,或者可能有任何想法的解决方案?

answer1: 回答1:

This means that the default host ('localhost') is probably not where your server is running. If it's on a different IP than 127.0.0.1, use aql -h IP. You can also test with telnet if you can get any response telnet 127.0.0.1 3000.

这意味着默认主机('localhost”)不可能是你的服务器正在运行。如果这是一个不同的IP到127.0.0.1,使用AQL - H IP。你也可以用telnet测试如果你能得到任何回应telnet 127.0.0.1 3000。

answer2: 回答2:

ok i actually found out that it was trying to create a cluster with another instance we were running for same testing purposes on the local network on the same subnet, and due to different configurations, all nodes caught in this would either get stuck at the error mentioned above or ERR_CLUSTER_ERROR.

好吧其实我发现它是试图创建一个群集的另一个实例,我们运行相同的测试目的,在本地网络在同一子网,由于不同的配置,所有的节点被这要么会陷入上述的错误或err_cluster_error。

ubuntu  timeout  client  aerospike