title: ERROR REPORT Generic server <0.35.0> terminating Last message in was {req_timeout,#Ref<0.0.0.60>}
body: <p>I am going through the riak-erlang-client <a href="https://github.com/basho/riak-erlang-client" rel="nofollow">https://github.com/basho/riak-erlang-client</a>. As i am following the steps, i am facing error at storing the data.</p>
  
  <p>I did the following:</p>
  
  <pre><code>2&gt; {ok,Pid} = riakc_pb_socket:start_link("127.0.0.1",8087).
  {ok,&lt;0.35.0&gt;}
  3&gt; 
  3&gt; 
  3&gt; riakc_pb_socket:ping(Pid).
  pong
  4&gt; Val = 1.                                         
  1
  7&gt; Obj = riakc_obj:new(&lt;&lt;"Bucket"&gt;&gt;,&lt;&lt;"one"&gt;&gt;,Val). 
  {riakc_obj,&lt;&lt;"Bucket"&gt;&gt;,&lt;&lt;"one"&gt;&gt;,undefined,[],undefined,1}
  </code></pre>
  
  <p>everything was working here as per the documents, but when i am trying to store the data with the following command.</p>
  
  <pre><code> 8&gt; riakc_pb_socket:put(Pid,Obj).
  </code></pre>
  
  <p>After this command i am getting the following error,</p>
  
  <pre><code>=ERROR REPORT==== 13-May-2014::18:15:46 ===
  ** Generic server &lt;0.35.0&gt; terminating 
  ** Last message in was {req_timeout,#Ref&lt;0.0.0.60&gt;}
  ** When Server state == {state,"127.0.0.1",8087,false,false,undefined,false,
                             gen_tcp,undefined,
                             {[],[]},
                             1,[],infinity,undefined,undefined,undefined,
                             undefined,[],100}
  ** Reason for termination == 
  ** disconnected
  ** exception exit: disconnected
  </code></pre>
  
  <p>where i am doing wrong, please suggest me. </p>