My riak node is not responding to ping yet everything seems ok
(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. Try port 10017 instead.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.