[英]riak-erlang-client fails to ping riak node
My riak node is not responding to ping yet everything seems ok 我的riak节点未响应ping,但一切似乎都还好
(myclient@127.0.0.1)2> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 10018).
{ok,<0.217.0>}
(myclient@127.0.0.1)3> riakc_pb_socket:ping(Pid).
** exception exit: disconnected
(myclient@127.0.0.1)4>
=ERROR REPORT==== 21-Dec-2014::04:41:22 ===
** Generic server <0.217.0> terminating
** Last message in was {req_timeout,#Ref<0.0.0.306>}
** When Server state == {state,"127.0.0.1",10018,false,false,undefined,
undefined,
{[],[]},
1,[],infinity,100}
** Reason for termination ==
** disconnected
What is that i am not doing right?? 我做错了什么?
Thanks in advance. 提前致谢。
Port 10018 is the HTTP listening port for a Riak cluster set up in development mode, but you're using the protocol buffers client. 端口10018是在开发模式下设置的Riak群集的HTTP侦听端口,但是您正在使用协议缓冲区客户端。 Try port 10017 instead.
请尝试使用端口10017。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.