You're pinging the protocol buffer port 8091. HTTP is on another port, check your app.config setting.
Eric On Dec 12, 2012, at 6:23 AM, Pablo Vieytes <[email protected]> wrote: > 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 > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
