1
votes

My riak node is not responding to ping yet everything seems ok

([email protected])2> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 10018).  
{ok,<0.217.0>}
([email protected])3> riakc_pb_socket:ping(Pid).
** exception exit: disconnected
([email protected])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.

1

1 Answers

2
votes

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.