application_start_failure, wriaki, {{{badmatch, {error, econnrefused}

Bryan Fink bryan at
Thu Oct 6 12:11:06 EDT 2011

On Thu, Oct 6, 2011 at 2:56 AM, Norman Khine <norman at> wrote:
> my riak cluster is up and running:
> aqoon:wriaki khinester$ vim rel/wriaki/etc/app.config
> modified the web_port to  {web_port, 8098}
> =INFO REPORT==== 6-Oct-2011::08:37:47 ===
>    application: wriaki
>    exited: {{{badmatch,{error,econnrefused}},
>              [{wrc,connect_pb,2},
>               {wriaki,set_bucket_props,0},

Hi, Norman.  This error is saying that Wriaki couldn't connect to the
Riak server.  You mentioned changing web_port, but did you change the
'riak' setting?  In Wriaki's config, 'web_port' specifies what port to
expose the Wriaki web interface on, while the 'riak' setting specifies
where to find Riak.  Judging by the stats output you pasted, you want:

   {riak, {http, {"", 8091, "riak}}}

if you want Wriaki to connect to Riak over HTTP.

I've also just pushed some updates to wriaki and
riak-erlang-http-client that I hope to merge to master branches later
today.  You may or may not find that they work better with Riak 1.0:


More information about the riak-users mailing list