Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-05 Thread Zheng Lin Edwin Yeo
Hi Jason, Yes. I am using the latest Solr 8.1.1. The query which I'm using is the JSON Facet query which I faced the error initially. Regards, Edwin On Tue, 4 Jun 2019 at 20:15, Jason Gerlowski wrote: > Hi Edwin, > > Thanks for the additional datapoint. It seemed to work for me, but we > don

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-04 Thread Jason Gerlowski
Hi Edwin, Thanks for the additional datapoint. It seemed to work for me, but we don't really understand the problem yet, so maybe it's not a solid work around like I'd hoped. I'm curious to hear whether it works for Colvin. To double check though: forwardCredentials is only supported in Solr >

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-03 Thread Zheng Lin Edwin Yeo
Hi Jason, Thanks for your reply. I have tried to add the "forwardCredentials": true in the security.json, but I still get the same error. Regards, Edwin On Mon, 3 Jun 2019 at 22:19, Colvin Cowie wrote: > Hi, thanks I'll give that a go when I get a chance. > > I was trying to reply to an older

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-03 Thread Colvin Cowie
Hi, thanks I'll give that a go when I get a chance. I was trying to reply to an older thread ( http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201904.mbox/%3CCAF2DzVXeVZqnixnkbzw0La1ui5N5-RG9PwfMBHG9vmkfBSMzJA%40mail.gmail.com%3E), which I don't have in my mailbox, so obviously didn't re

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-03 Thread Jason Gerlowski
Hi Colvin, We're still taking a look at fixing the bug, but as a workaround in the meantime, you can look into adding a "forwardCredentials":true property under the "authentication" section of security.json. That seems to fix the issue in my reproduction at least. e.g. { "authentication": {

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-03 Thread Jason Gerlowski
One last note: as far as I can tell, nothing about this issue is specific to JSON Faceting or the JSON request API. It can be triggered just as easily with "/select?q=*:*". The bug created for this is: SOLR-13510 On Mon, Jun 3, 2019 at 9:17 AM Jason Gerlowski wrote: > > I'm also able to reprodu

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-03 Thread Jason Gerlowski
I'm also able to reproduce this bug on master. A few more notes about the bad behavior: - the behavior occurs regardless of the specific permissions configured in security.json. (i.e. whether the top permission is "all", or "security-edit", or there are no permissions at all.) - I tried looking

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-02 Thread Colvin Cowie
Hello. I encountered this issue too and wrote this up before I found this thread, but I thought I might as well post it still, if it helps... Currently I'm trying to move our product on to Solr 8.1.1. We are currently using 6.6.6, so things have definitely moved on. We use the BasicAuthPlugin + R

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-04-30 Thread Erick Erickson
Patches welcome! > On Apr 30, 2019, at 8:17 PM, Zheng Lin Edwin Yeo wrote: > > Hi, > > Any expected timeline on when we can solve this bug? > > Regards, > Edwin > > On Fri, 26 Apr 2019 at 00:21, Zheng Lin Edwin Yeo > wrote: > >> Thanks Jan. >> >> I have created a bug in JIRA under >> https

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-04-30 Thread Zheng Lin Edwin Yeo
Hi, Any expected timeline on when we can solve this bug? Regards, Edwin On Fri, 26 Apr 2019 at 00:21, Zheng Lin Edwin Yeo wrote: > Thanks Jan. > > I have created a bug in JIRA under > https://issues.apache.org/jira/browse/SOLR-13421 > > Regards, > Edwin > > On Thu, 25 Apr 2019 at 19:53, Jan Hø

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-04-25 Thread Zheng Lin Edwin Yeo
Thanks Jan. I have created a bug in JIRA under https://issues.apache.org/jira/browse/SOLR-13421 Regards, Edwin On Thu, 25 Apr 2019 at 19:53, Jan Høydahl wrote: > Please create a bug for this in JIRA. I think that HttpShardHandler needs > to handle shards from shards param the same as the auto-

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-04-25 Thread Jan Høydahl
Please create a bug for this in JIRA. I think that HttpShardHandler needs to handle shards from shards param the same as the auto-computed shards it gets from ZK, but have not looked into it in detail yet. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 25. apr. 201

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-04-25 Thread Zheng Lin Edwin Yeo
Regarding the issue, we have found that if we put only one collections in the shards (can be any collection), there will not be error, and it can always produce the correct output. If we put 2 collections, there will not be error 90% of the time (only 10% of the time the issue will occur). However

Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-04-24 Thread Zheng Lin Edwin Yeo
Hi, I am using the below JSON Facet to retrieve the count of all the different collections in one query. https://localhost:8983/solr/collection1/select?q=testing&shards=https://localhost:8983/solr/collection1,https://localhost:8983/solr/collection2,https://localhost:8983/solr/collection3,https:/