Forbidden error after upgrade on riak 2.0

Eric Redmond eredmond at basho.com
Fri Sep 26 13:59:22 EDT 2014


That's good to know, thanks.

Eric
On Sep 26, 2014 10:53 AM, "Alexander Popov" <mogadanez at gmail.com> wrote:

> I found what's wrong.
> Accidentally   referer header was forwarder to request to riak. And Riak
>  refuse request with some referers. experiments show,  that not all
> referers are bad.
> for example if riak listen on http, but referer is https -  403 thrown,
> same host http - works fine.
>
>
> This why it is not reproduce if open link in browser: no referer was in
> original request.
>
>
>
> On Fri, Sep 26, 2014 at 8:53 PM, Eric Redmond <eredmond at basho.com> wrote:
>
>> So you have only one Riak node, or multiple nodes running on a single
>> server?
>>
>>
>> On Sep 26, 2014, at 9:52 AM, Alexander Popov <mogadanez at gmail.com> wrote:
>>
>> I have single node setup.
>> And not enable security, just upgrade 1.4.8 to 2.0
>>
>> On Fri, Sep 26, 2014 at 8:44 PM, Eric Redmond <eredmond at basho.com> wrote:
>>
>>> If it's intermittent, my initial reaction is that you have security
>>> enabled on only one node, which is the only time 403 should happen
>>>
>>>
>>> On Sep 26, 2014, at 9:19 AM, Alexander Popov <mogadanez at gmail.com>
>>> wrote:
>>>
>>> > When query Yokozuna, sometimes fails with error:
>>> >
>>> > <html><head><title>403
>>> Forbidden</title></head><body><h1>Forbidden</h1>Forbidden<p><hr><address>mochiweb+webmachine
>>> web server</address></body></html>
>>> >
>>> > url logged with error:
>>> >
>>> /search/query/full-proof-info_index?q=owner%3A6d87f18a3dca4a60b0fc385b1f46c165%20AND%20archived%3Afalse%20AND%20NOT%20draft%3Atrue&start=0&rows=20&wt=json&sort=updated_t
>>> > imestamp%20desc
>>> >
>>> >
>>> > if repeat query to this url  in browser - all works fine.
>>> > No errors in logs. No clue  whats wrong
>>> >
>>> > _______________________________________________
>>> > 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/20140926/8d2309c7/attachment.html>


More information about the riak-users mailing list