{error, timeout}

stewart mackenzie setori88 at gmail.com
Fri Oct 9 03:36:16 EDT 2009

Oh dear I realize I was connecting to the client!

Where as I should have been connection to riakdemo at
instead by calling riak:local_client(). i was getting an instance of the

Then when I try connecting to the server.... (which is running)

$ ./riak_demo.escript  config/riak-demo.erlenv
Attempting to connect to 'riakdemo at' with cookie
Connected successfully
Looking for pre-existing object at {<<"riak_demo">>, <<"demo">>}...
  Pre-existing object found, modifying
Storing object with new value...
  Written successfully
Fetching object at {<<"riak_demo">>, <<"demo">>}...
  Fetched successfully
  Object contained correct value

(riaktest at> {ok, C} = riak:client_connect('riakdemo at').
** exception error: no match of right hand side value
                    {error,{could_not_reach_node,'riakdemo at'}}
(riaktest at> {ok, C} = riak:client_connect('').
** exception error: no match of right hand side value
(riaktest at>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20091009/73866d4f/attachment-0002.html>

More information about the riak-users mailing list