Is your request being made against a new bucket? If not, have you
altered your default bucket properties? Are you overriding any default
bucket properties in your request?

It might help if you could paste your test commands along with updated
app.configs.

--
Hector


On Wed, Dec 18, 2013 at 1:16 PM, Ari King <ari.brandeis.k...@gmail.com> wrote:
> Hi Hector,
>
>
>> Hopefully this one resolves it:
>>
>> I just setup a single node on Ubuntu 12.04 using Vagrant and attempted
>> to walk through your steps. In the process, I noticed that you are
>> issuing the following `curl` command and receiving a 404:
>>
>> $ curl -v -XPUT http://10.0.2.15:8098/sessions/GA123D971 -H
>> "content-type: application/json" -d '{"username": "Ari", "token":
>> "20131122-GA123D971-1210"}'
>>
>> The path for storing a key named "GA123D971" in a bucket named
>> "sessions" should be:
>>
>> $ curl -v -XPUT http://10.0.2.15:8098/buckets/sessions/keys/GA123D971
>> -H "content-type: application/json" -d '{"username": "Ari", "token":
>> "20131122-GA123D971-1210"}'
>>
>> The response for this request should contain a HTTP 204 No Content
>
>
> Unfortunately, I get the following error:
>
> * upload completely sent off: 49out of 49 bytes
> < HTTP/1.1 500 Internal Server Error
> < Vary: Accept-Encoding
>
> < Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)
> < Date: Wed, 18 Dec 2013 18:13:31 GMT
> < Content-Type: text/plain
> < Content-Length: 22
>
> Error:
> all_nodes_down
>
> * Connection #0 to host 192.168.2.25 left intact
> * Closing connection #0
>
> Any ideas?

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to