webmachine error

Ryan Zezeski rzezeski at basho.com
Sat Oct 15 17:12:19 EDT 2011


Sohil,

For whatever reason the underlying socket has closed on you.  While it's not
shown in your stack trace it eventually calls gen_tcp:recv/3 [1].  I realize
this thread is several weeks old but do you remember seeing any other errors
to indicate a closed socket?  Is this issue still persisting for you?

-Ryan

[1]:
http://erldocs.com/R14B02/kernel/gen_tcp.html?i=1&search=gen_tcp:rec#recv/3

On Fri, Sep 23, 2011 at 2:07 AM, raghwani sohil <sohil4you at gmail.com> wrote:

> Hi ,
>
> I am using  php client and I am getting following error
>
> webmachine error: path="/riak/log/3586_232_2011_09_17_21_30_25.html"
> {error,{error,{badmatch,{error,closed}},
>               [{webmachine_request,recv_unchunked_body,4},
>                {webmachine_request,do_recv_body,2},
>                {webmachine_request,call,2},
>                {wrq,req_body,1},
>                {riak_kv_wm_raw,accept_doc_body,2},
>                {webmachine_resource,resource_call,3},
>                {webmachine_resource,do,3},
>                {webmachine_decision_core,resource_call,1}]}}
>
>                            AND
>
> webmachine error: path="/riak/log/5248_232_2011_09_13_23_00_19.html"
> {error,{error,{case_clause,{error,timeout}},
>               [{riak_kv_wm_raw,accept_doc_body,2},
>                {webmachine_resource,resource_call,3},
>                {webmachine_resource,do,3},
>                {webmachine_decision_core,resource_call,1},
>                {webmachine_decision_core,accept_helper,0},
>                {webmachine_decision_core,decision,1},
>                {webmachine_decision_core,handle_request,2},
>                {webmachine_mochiweb,loop,1}]}}
>
>
> I am not getting any idea about this error . so please give me explanation
> about this .
>
> thanks,
> Sohil Raghwani .
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20111015/3f0ad4ae/attachment.html>


More information about the riak-users mailing list