solved I just had to connect to the Protobuf Port instead of http port.
2012/12/12 Pablo Vieytes <pablo.v...@gmail.com> > Hi, > I'm new with Riak. I'm trying to use riak-erlang-client but I have some > problems. > > I can connect with the browser to localhost:8091 > > http://localhost:8091/ping -> ok > > But I can do a ping with the erlang client. > > 1> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8091). > {ok,<0.34.0>} > 2> riakc_pb_socket:ping(Pid). > > =ERROR REPORT==== 12-Dec-2012::15:14:40 === > ** Generic server <0.34.0> terminating > ** Last message in was {req_timeout,#Ref<0.0.0.37>} > ** When Server state == {state,"127.0.0.1",8091,false,false,undefined, > undefined, > {[],[]}, > 1,[],infinity,100} > ** Reason for termination == > ** disconnected > ** exception exit: disconnected > 3> > > > I'm using riak-1.2.1 > > > Thanks in advance. >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com