Re: Intermittent BasicAuthPlugin Not Authorized

2019-06-12 Thread Erick Erickson
Thanks for letting us know… Erick > On Jun 12, 2019, at 10:42 AM, Brian Lininger wrote: > > Turns out that the problem wasn't intermittent, but that our streaming code > isn't properly setting the credentials on the client. Not sure why that is > yet, but it's not an issue with Solr, it just l

Re: Intermittent BasicAuthPlugin Not Authorized

2019-06-12 Thread Brian Lininger
Turns out that the problem wasn't intermittent, but that our streaming code isn't properly setting the credentials on the client. Not sure why that is yet, but it's not an issue with Solr, it just looked intermittent because of the intermittent use of streaming in our application... On Wed, Jun

Re: Intermittent BasicAuthPlugin Not Authorized

2019-06-12 Thread Colvin Cowie
Hi Brian, That's correct, we never had any issues with authentication on Solr 6.x, as far as I remember. Have you checked Solr's own logs to see whether the 401s are coming from internode requests between shards, or if they are coming from the initial request to Solr from the client? I believe for

Re: Intermittent BasicAuthPlugin Not Authorized

2019-06-11 Thread Brian Lininger
Thanks Erick, I had read thru https://issues.apache.org/jira/browse/SOLR-13510 earlier today but it seemed specific to Solr 8 as Colvin Cowie wasn't able to reproduce on 7.7.0 or 7.7.1. I am going to see if the 'forwardCredentials' workaround resolves this for 6.6.6, fingers crossed Brian On

Re: Intermittent BasicAuthPlugin Not Authorized

2019-06-11 Thread Erick Erickson
Looks like: https://issues.apache.org/jira/browse/SOLR-13510 > On Jun 11, 2019, at 3:08 PM, Brian Lininger wrote: > > Hello Solr Experts, > I've hit an issue with Solr and BasicAuth that is stumping me at the > moment. We've configured a basic security.json to require BasicAuth > credentials fo

Intermittent BasicAuthPlugin Not Authorized

2019-06-11 Thread Brian Lininger
Hello Solr Experts, I've hit an issue with Solr and BasicAuth that is stumping me at the moment. We've configured a basic security.json to require BasicAuth credentials for read/update to all collections in Solr, but we allow un-authenticated requests to Solr admin endpoint (don't ask why). It lo