[jira] [Commented] (SOLR-15237) Distributed search with index sharding is not working with basic authentication plugin enabled

2021-03-10 Thread Samir Huremovic (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-15237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17298856#comment-17298856
 ] 

Samir Huremovic commented on SOLR-15237:


In our case it is more about backwards-compatibility. The last few versions 
were updated painlessly and since initially traditional distributed search was 
used, it was kept that way.

Of course if there is some limitation, then it should be documented. For many 
systems this would of course be a big deal (if they cannot use basic auth), but 
at least the situation is clear.

Currently though, it looks more like a bug. And after I had a look at some 
other, similar issues across almost all major versions, it seems that this part 
of the code is a bit fragile.

> Distributed search with index sharding is not working with basic 
> authentication plugin enabled
> --
>
> Key: SOLR-15237
> URL: https://issues.apache.org/jira/browse/SOLR-15237
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Authentication
>Affects Versions: 7.7.3, 8.7, 8.8.1
>Reporter: Samir Huremovic
>Priority: Critical
>  Labels: Authentication
>
> Issue confirmed for 7.7.3, 8.7 and 8.8.1.
> Steps to reproduce are:
> 1. Following the docs for setting up distributed search 
> (https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html).
> 1.1 Stop both nodes after confirming that distributed search works without 
> basic auth (last step).
> 2. Enable basic authentication plugin for both nodes, example for node1 
> {{example/nodes/node1/security.json}}:
> {noformat}
> "authentication":{ 
>"blockUnknown": true, 
>"class":"solr.BasicAuthPlugin",
>"credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= 
> Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, 
>"realm":"My Solr users", 
>"forwardCredentials": false 
> }}
> {noformat}
> 3. Configure {{shardsWhitelist}} in {{solr.xml}} for both nodes, example for 
> node1 {{example/nodes/node1/solr.xml}}
> {noformat}
>  class="HttpShardHandlerFactory">
> ${socketTimeout:60}
> ${connTimeout:6}
> localhost:8984,localhost:8985
>   
> {noformat}
> 4. Start both nodes.
> 5. Confirm that searching on one node with basic auth works with {{curl 
> --user solr:SolrRocks 
> "http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}}
> 6. Confirm that searching on both nodes does not work with {{curl --user 
> solr:SolrRocks 
> "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"}}
> Error:
> {noformat}
> ❯ curl --user solr:SolrRocks 
> "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";
> 
> 
> 
>   401
>   173
>   
> *:*
>  name="shards">localhost:8985/solr/core1,localhost:8984/solr/core1
> true
> id,name
> xml
>   
> 
> 
>   
>  name="error-class">org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
>  name="root-error-class">org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
>   
>   Error from server at null: Expected mime type 
> application/octet-stream but got text/html. 
> 
> 
> Error 401 require authentication
> 
> 

HTTP ERROR 401 require authentication

> > > > > >
URI:/solr/core1/select
STATUS:401
MESSAGE:require > authentication
SERVLET:default
> > > > 401 > > > {noformat} > See also SOLR-14569 that seems similar, but the patch provided does not help > after I applied it to 8.8.1, therefore I think this is not the same issue. > Adjust priority as necessary. For cases where basic auth is required this > means we cannot use Solr as of now. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org

[jira] [Commented] (SOLR-15237) Distributed search with index sharding is not working with basic authentication plugin enabled

2021-03-10 Thread Samir Huremovic (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-15237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17298785#comment-17298785
 ] 

Samir Huremovic commented on SOLR-15237:


Not sure how relevant this is (maybe it's by design), but a distributed search 
across only one shard (same node too, see port) has the same error:
{{curl --user solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8984/solr/core1&fl=id,name&wt=xml"}}

> Distributed search with index sharding is not working with basic 
> authentication plugin enabled
> --
>
> Key: SOLR-15237
> URL: https://issues.apache.org/jira/browse/SOLR-15237
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Authentication
>Affects Versions: 7.7.3, 8.7, 8.8.1
>Reporter: Samir Huremovic
>Priority: Critical
>  Labels: Authentication
>
> Issue confirmed for 7.7.3, 8.7 and 8.8.1.
> Steps to reproduce are:
> 1. Following the docs for setting up distributed search 
> (https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html).
> 1.1 Stop both nodes after confirming that distributed search works without 
> basic auth (last step).
> 2. Enable basic authentication plugin for both nodes, example for node1 
> {{example/nodes/node1/security.json}}:
> {noformat}
> "authentication":{ 
>"blockUnknown": true, 
>"class":"solr.BasicAuthPlugin",
>"credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= 
> Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, 
>"realm":"My Solr users", 
>"forwardCredentials": false 
> }}
> {noformat}
> 3. Configure {{shardsWhitelist}} in {{solr.xml}} for both nodes, example for 
> node1 {{example/nodes/node1/solr.xml}}
> {noformat}
>  class="HttpShardHandlerFactory">
> ${socketTimeout:60}
> ${connTimeout:6}
> localhost:8984,localhost:8985
>   
> {noformat}
> 4. Start both nodes.
> 5. Confirm that searching on one node with basic auth works with {{curl 
> --user solr:SolrRocks 
> "http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}}
> 6. Confirm that searching on both nodes does not work with {{curl --user 
> solr:SolrRocks 
> "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"}}
> Error:
> {noformat}
> ❯ curl --user solr:SolrRocks 
> "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";
> 
> 
> 
>   401
>   173
>   
> *:*
>  name="shards">localhost:8985/solr/core1,localhost:8984/solr/core1
> true
> id,name
> xml
>   
> 
> 
>   
>  name="error-class">org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
>  name="root-error-class">org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
>   
>   Error from server at null: Expected mime type 
> application/octet-stream but got text/html. 
> 
> 
> Error 401 require authentication
> 
> 

HTTP ERROR 401 require authentication

> > > > > >
URI:/solr/core1/select
STATUS:401
MESSAGE:require > authentication
SERVLET:default
> > > > 401 > > > {noformat} > See also SOLR-14569 that seems similar, but the patch provided does not help > after I applied it to 8.8.1, therefore I think this is not the same issue. > Adjust priority as necessary. For cases where basic auth is required this > means we cannot use Solr as of now. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org

[jira] [Updated] (SOLR-15237) Distributed search with index sharding is not working with basic authentication plugin enabled

2021-03-10 Thread Samir Huremovic (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-15237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Samir Huremovic updated SOLR-15237:
---
Description: 
Issue confirmed for 7.7.3, 8.7 and 8.8.1.

Steps to reproduce are:
1. Following the docs for setting up distributed search 
(https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html).
1.1 Stop both nodes after confirming that distributed search works without 
basic auth (last step).
2. Enable basic authentication plugin for both nodes, example for node1 
{{example/nodes/node1/security.json}}:
{noformat}
"authentication":{ 
   "blockUnknown": true, 
   "class":"solr.BasicAuthPlugin",
   "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= 
Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, 
   "realm":"My Solr users", 
   "forwardCredentials": false 
}}
{noformat}
3. Configure {{shardsWhitelist}} in {{solr.xml}} for both nodes, example for 
node1 {{example/nodes/node1/solr.xml}}
{noformat}

${socketTimeout:60}
${connTimeout:6}
localhost:8984,localhost:8985
  
{noformat}
4. Start both nodes.
5. Confirm that searching on one node with basic auth works with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}}
6. Confirm that searching on both nodes does not work with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"}}

Error:
{noformat}
❯ curl --user solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";




  401
  173
  
*:*
localhost:8985/solr/core1,localhost:8984/solr/core1
true
id,name
xml
  


  
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
  
  Error from server at null: Expected mime type 
application/octet-stream but got text/html. 


Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSAGE:require authentication
SERVLET:default
401 {noformat} See also SOLR-14569 that seems similar, but the patch provided does not help after I applied it to 8.8.1, therefore I think this is not the same issue. Adjust priority as necessary. For cases where basic auth is required this means we cannot use Solr as of now. was: Issue confirmed for 7.7.3, 8.7 and 8.8.1. Steps to reproduce are: 1. Following the docs for setting up distributed search (https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html). 1.1 Stop both nodes after confirming that distributed search works without basic auth (last step). 2. Enable basic authentication plugin for both nodes, example for node1 {{example/nodes/node1/security.json}}: {noformat} "authentication":{ "blockUnknown": true, "class":"solr.BasicAuthPlugin", "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, "realm":"My Solr users", "forwardCredentials": false }} {noformat} 3. Configure {{shardsWhitelist}} in {{solr.xml}} for both nodes, example for node1 {{example/nodes/node1/solr.xml}} {noformat} ${socketTimeout:60} ${connTimeout:6} localhost:8984,localhost:8985 {noformat} 4. Start both nodes. 5. Confirm that searching on one node with basic auth works with {{curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}} 6. Confirm that searching on both nodes does not work with {{curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"; Error: {noformat} ❯ curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"; 401 173 *:* localhost:8985/solr/core1,localhost:8984/solr/core1 true id,name xml org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException Error from server at null: Expected mime type application/octet-stream but got text/html. Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
S

[jira] [Updated] (SOLR-15237) Distributed search with index sharding is not working with basic authentication plugin enabled



 [ 
https://issues.apache.org/jira/browse/SOLR-15237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Samir Huremovic updated SOLR-15237:
---
Affects Version/s: 7.7.3
  Description: 
Issue confirmed for 7.7.3, 8.7 and 8.8.1.

Steps to reproduce are:
1. Following the docs for setting up distributed search 
(https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html).
1.1 Stop both nodes after confirming that distributed search works without 
basic auth (last step).
2. Enable basic authentication plugin for both nodes, example for node1 
{{example/nodes/node1/security.json}}:
{noformat}
"authentication":{ 
   "blockUnknown": true, 
   "class":"solr.BasicAuthPlugin",
   "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= 
Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, 
   "realm":"My Solr users", 
   "forwardCredentials": false 
}}
{noformat}
3. Configure {{shardsWhitelist}} in {{solr.xml}} for both nodes, example for 
node1 {{example/nodes/node1/solr.xml}}
{noformat}

${socketTimeout:60}
${connTimeout:6}
localhost:8984,localhost:8985
  
{noformat}
4. Start both nodes.
5. Confirm that searching on one node with basic auth works with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}}
6. Confirm that searching on both nodes does not work with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";

Error:
{noformat}
❯ curl --user solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";




  401
  173
  
*:*
localhost:8985/solr/core1,localhost:8984/solr/core1
true
id,name
xml
  


  
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
  
  Error from server at null: Expected mime type 
application/octet-stream but got text/html. 


Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSAGE:require authentication
SERVLET:default
401 {noformat} See also SOLR-14569 that seems similar, but the patch provided does not help after I applied it to 8.8.1, therefore I think this is not the same issue. Adjust priority as necessary. For cases where basic auth is required this means we cannot use Solr as of now. was: Issue confirmed for 8.7 and 8.8.1. Steps to reproduce are: 1. Following the docs for setting up distributed search (https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html). 1.1 Stop both nodes after confirming that distributed search works without basic auth (last step). 2. Enable basic authentication plugin for both nodes, example for node1 {{example/nodes/node1/security.json}}: {noformat} "authentication":{ "blockUnknown": true, "class":"solr.BasicAuthPlugin", "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, "realm":"My Solr users", "forwardCredentials": false }} {noformat} 3. Configure {{shardsWhitelist}} in {{solr.xml}} for both nodes, example for node1 {{example/nodes/node1/solr.xml}} {noformat} ${socketTimeout:60} ${connTimeout:6} localhost:8984,localhost:8985 {noformat} 4. Start both nodes. 5. Confirm that searching on one node with basic auth works with {{curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}} 6. Confirm that searching on both nodes does not work with {{curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"; Error: {noformat} ❯ curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"; 401 173 *:* localhost:8985/solr/core1,localhost:8984/solr/core1 true id,name xml org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException Error from server at null: Expected mime type application/octet-stream but got text/html. Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1

[jira] [Updated] (SOLR-15237) Distributed search with index sharding is not working with basic authentication plugin enabled



 [ 
https://issues.apache.org/jira/browse/SOLR-15237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Samir Huremovic updated SOLR-15237:
---
Description: 
Issue confirmed for 8.7 and 8.8.1.

Steps to reproduce are:
1. Following the docs for setting up distributed search 
(https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html).
1.1 Stop both nodes after confirming that distributed search works without 
basic auth (last step).
2. Enable basic authentication plugin for both nodes, example for node1 
{{example/nodes/node1/security.json}}:
{noformat}
"authentication":{ 
   "blockUnknown": true, 
   "class":"solr.BasicAuthPlugin",
   "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= 
Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, 
   "realm":"My Solr users", 
   "forwardCredentials": false 
}}
{noformat}
3. Configure {{shardsWhitelist}} in {{solr.xml}} for both nodes, example for 
node1 {{example/nodes/node1/solr.xml}}
{noformat}

${socketTimeout:60}
${connTimeout:6}
localhost:8984,localhost:8985
  
{noformat}
4. Start both nodes.
5. Confirm that searching on one node with basic auth works with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}}
6. Confirm that searching on both nodes does not work with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";

Error:
{noformat}
❯ curl --user solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";




  401
  173
  
*:*
localhost:8985/solr/core1,localhost:8984/solr/core1
true
id,name
xml
  


  
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
  
  Error from server at null: Expected mime type 
application/octet-stream but got text/html. 


Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSAGE:require authentication
SERVLET:default
401 {noformat} See also SOLR-14569 that seems similar, but the patch provided does not help after I applied it to 8.8.1, therefore I think this is not the same issue. Adjust priority as necessary. For cases where basic auth is required this means we cannot use Solr as of now. was: Issue confirmed for 8.7 and 8.8.1. Steps to reproduce are: 1. Following the docs for setting up distributed search (https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html). 1.1 Stop both nodes after confirming that distributed search works without basic auth (last step). 2. Enable basic authentication plugin for both nodes, example for {{example/nodes/node1/security.json}}: {noformat} "authentication":{ "blockUnknown": true, "class":"solr.BasicAuthPlugin", "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, "realm":"My Solr users", "forwardCredentials": false }} {noformat} 3. Configure {{shardsWhitelist}} in {{solr.xml}} of each node {{example/nodes/node1/solr.xml}} {noformat} ${socketTimeout:60} ${connTimeout:6} localhost:8984,localhost:8985 {noformat} 4. Start both nodes. 5. Confirm that searching on one node with basic auth works with {{curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}} 6. Confirm that searching on both nodes does not work with {{curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"; Error: {noformat} ❯ curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"; 401 173 *:* localhost:8985/solr/core1,localhost:8984/solr/core1 true id,name xml org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException Error from server at null: Expected mime type application/octet-stream but got text/html. Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSA

[jira] [Updated] (SOLR-15237) Distributed search with index sharding is not working with basic authentication plugin enabled



 [ 
https://issues.apache.org/jira/browse/SOLR-15237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Samir Huremovic updated SOLR-15237:
---
Description: 
Issue confirmed for 8.7 and 8.8.1.

Steps to reproduce are:
1. Following the docs for setting up distributed search 
(https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html).
1.1 Stop both nodes after confirming that distributed search works without 
basic auth (last step).
2. Enable basic authentication plugin for both nodes, example for 
{{example/nodes/node1/security.json}}:
{noformat}
"authentication":{ 
   "blockUnknown": true, 
   "class":"solr.BasicAuthPlugin",
   "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= 
Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, 
   "realm":"My Solr users", 
   "forwardCredentials": false 
}}
{noformat}
3. Configure {{shardsWhitelist}} in {{solr.xml}} of each node 
{{example/nodes/node1/solr.xml}}
{noformat}

${socketTimeout:60}
${connTimeout:6}
localhost:8984,localhost:8985
  
{noformat}
4. Start both nodes.
5. Confirm that searching on one node with basic auth works with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}}
6. Confirm that searching on both nodes does not work with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";

Error:
{noformat}
❯ curl --user solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";




  401
  173
  
*:*
localhost:8985/solr/core1,localhost:8984/solr/core1
true
id,name
xml
  


  
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
  
  Error from server at null: Expected mime type 
application/octet-stream but got text/html. 


Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSAGE:require authentication
SERVLET:default
401 {noformat} See also SOLR-14569 that seems similar, but the patch provided does not help after I applied it to 8.8.1, therefore I think this is not the same issue. Adjust priority as necessary. For cases where basic auth is required this means we cannot use Solr as of now. was: Issue confirmed for 8.7 and 8.8.1. Steps to reproduce are: 1. Following the docs for setting up distributed search (https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html). 1.1 Stop both nodes after confirming that distributed search works without basic auth (last step). 2. Enable basic authentication plugin for both nodes, example for {{example/nodes/node1/security.json}}: {{"authentication":{ "blockUnknown": true, "class":"solr.BasicAuthPlugin", "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, "realm":"My Solr users", "forwardCredentials": false 3. Configure {{shardsWhitelist}} in {{solr.xml}} of each node {{example/nodes/node1/solr.xml}} {{ ${socketTimeout:60} ${connTimeout:6} localhost:8984,localhost:8985 }} 4. Start both nodes. 5. Confirm that searching on one node with basic auth works with {{curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}} 6. Confirm that searching on both nodes does not work with {{curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"; Error: {{❯ curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"; 401 173 *:* localhost:8985/solr/core1,localhost:8984/solr/core1 true id,name xml org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException Error from server at null: Expected mime type application/octet-stream but got text/html. Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSAGE:require authentication
SERVLET:d

[jira] [Updated] (SOLR-15237) Distributed search with index sharding is not working with basic authentication plugin enabled



 [ 
https://issues.apache.org/jira/browse/SOLR-15237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Samir Huremovic updated SOLR-15237:
---
Description: 
Issue confirmed for 8.7 and 8.8.1.

Steps to reproduce are:
1. Following the docs for setting up distributed search 
(https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html).
1.1 Stop both nodes after confirming that distributed search works without 
basic auth (last step).
2. Enable basic authentication plugin for both nodes, example for 
{{example/nodes/node1/security.json}}:
{{"authentication":{ 
   "blockUnknown": true, 
   "class":"solr.BasicAuthPlugin",
   "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= 
Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, 
   "realm":"My Solr users", 
   "forwardCredentials": false 

3. Configure {{shardsWhitelist}} in {{solr.xml}} of each node 
{{example/nodes/node1/solr.xml}}
{{
${socketTimeout:60}
${connTimeout:6}
localhost:8984,localhost:8985
  }}
4. Start both nodes.
5. Confirm that searching on one node with basic auth works with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}}
6. Confirm that searching on both nodes does not work with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";

Error:
{{❯ curl --user solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";




  401
  173
  
*:*
localhost:8985/solr/core1,localhost:8984/solr/core1
true
id,name
xml
  


  
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
  
  Error from server at null: Expected mime type 
application/octet-stream but got text/html. 


Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSAGE:require authentication
SERVLET:default
401 }} See also SOLR-14569 that seems similar, but the patch provided does not help after I applied it to 8.8.1, therefore I think this is not the same issue. Adjust priority as necessary. For cases where basic auth is required this means we cannot use Solr as of now. was: Issue confirmed for 8.7 and 8.8.1. Steps to reproduce are: 1. Following the docs for setting up distributed search (https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html). 1.1 Stop both nodes after confirming that distributed search works without basic auth (last step). 2. Enable basic authentication plugin for both nodes, example for {{example/nodes/node1/security.json}}: {{ { "authentication":{ "blockUnknown": true, "class":"solr.BasicAuthPlugin", "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, "realm":"My Solr users", "forwardCredentials": false }} }} 3. Configure {{shardsWhitelist}} in {{solr.xml}} of each node {{example/nodes/node1/solr.xml}} {{ ${socketTimeout:60} ${connTimeout:6} localhost:8984,localhost:8985 }} 4. Start both nodes. 5. Confirm that searching on one node with basic auth works with {{curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}} 6. Confirm that searching on both nodes does not work with {{curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"; Error: {{❯ curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"; 401 173 *:* localhost:8985/solr/core1,localhost:8984/solr/core1 true id,name xml org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException Error from server at null: Expected mime type application/octet-stream but got text/html. Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSAGE:require authentication
SERVLET:default
401

[jira] [Created] (SOLR-15237) Distributed search with index sharding is not working with basic authentication plugin enabled

Samir Huremovic created SOLR-15237:
--

 Summary: Distributed search with index sharding is not working 
with basic authentication plugin enabled
 Key: SOLR-15237
 URL: https://issues.apache.org/jira/browse/SOLR-15237
 Project: Solr
  Issue Type: Bug
  Security Level: Public (Default Security Level. Issues are Public)
  Components: Authentication
Affects Versions: 8.8.1, 8.7
Reporter: Samir Huremovic


Issue confirmed for 8.7 and 8.8.1.

Steps to reproduce are:
1. Following the docs for setting up distributed search 
(https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html).
1.1 Stop both nodes after confirming that distributed search works without 
basic auth (last step).
2. Enable basic authentication plugin for both nodes, example for 
{{example/nodes/node1/security.json}}:
{{
{
"authentication":{ 
   "blockUnknown": true, 
   "class":"solr.BasicAuthPlugin",
   "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= 
Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, 
   "realm":"My Solr users", 
   "forwardCredentials": false 
}}

}}
3. Configure {{shardsWhitelist}} in {{solr.xml}} of each node 
{{example/nodes/node1/solr.xml}}
{{
  
${socketTimeout:60}
${connTimeout:6}
localhost:8984,localhost:8985
  
}}
4. Start both nodes.
5. Confirm that searching on one node with basic auth works with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}}
6. Confirm that searching on both nodes does not work with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";

Error:
{{
❯ curl --user solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";




  401
  173
  
*:*
localhost:8985/solr/core1,localhost:8984/solr/core1
true
id,name
xml
  


  
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
  
  Error from server at null: Expected mime type 
application/octet-stream but got text/html. 


Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSAGE:require authentication
SERVLET:default
401 }} See also SOLR-14569 that seems similar, but the patch provided does not help after I applied it to 8.8.1, therefore I think this is not the same issue. Adjust priority as necessary. For cases where basic auth is required this means we cannot use Solr as of now. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org

[jira] [Updated] (SOLR-15237) Distributed search with index sharding is not working with basic authentication plugin enabled



 [ 
https://issues.apache.org/jira/browse/SOLR-15237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Samir Huremovic updated SOLR-15237:
---
Description: 
Issue confirmed for 8.7 and 8.8.1.

Steps to reproduce are:
1. Following the docs for setting up distributed search 
(https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html).
1.1 Stop both nodes after confirming that distributed search works without 
basic auth (last step).
2. Enable basic authentication plugin for both nodes, example for 
{{example/nodes/node1/security.json}}:
{{ {
"authentication":{ 
   "blockUnknown": true, 
   "class":"solr.BasicAuthPlugin",
   "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= 
Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, 
   "realm":"My Solr users", 
   "forwardCredentials": false 
}} }}
3. Configure {{shardsWhitelist}} in {{solr.xml}} of each node 
{{example/nodes/node1/solr.xml}}
{{
${socketTimeout:60}
${connTimeout:6}
localhost:8984,localhost:8985
  }}
4. Start both nodes.
5. Confirm that searching on one node with basic auth works with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}}
6. Confirm that searching on both nodes does not work with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";

Error:
{{❯ curl --user solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";




  401
  173
  
*:*
localhost:8985/solr/core1,localhost:8984/solr/core1
true
id,name
xml
  


  
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
  
  Error from server at null: Expected mime type 
application/octet-stream but got text/html. 


Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSAGE:require authentication
SERVLET:default
401 }} See also SOLR-14569 that seems similar, but the patch provided does not help after I applied it to 8.8.1, therefore I think this is not the same issue. Adjust priority as necessary. For cases where basic auth is required this means we cannot use Solr as of now. was: Issue confirmed for 8.7 and 8.8.1. Steps to reproduce are: 1. Following the docs for setting up distributed search (https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html). 1.1 Stop both nodes after confirming that distributed search works without basic auth (last step). 2. Enable basic authentication plugin for both nodes, example for {{example/nodes/node1/security.json}}: {{ { "authentication":{ "blockUnknown": true, "class":"solr.BasicAuthPlugin", "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, "realm":"My Solr users", "forwardCredentials": false }} }} 3. Configure {{shardsWhitelist}} in {{solr.xml}} of each node {{example/nodes/node1/solr.xml}} {{ ${socketTimeout:60} ${connTimeout:6} localhost:8984,localhost:8985 }} 4. Start both nodes. 5. Confirm that searching on one node with basic auth works with {{curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}} 6. Confirm that searching on both nodes does not work with {{curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"; Error: {{ ❯ curl --user solr:SolrRocks "http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"; 401 173 *:* localhost:8985/solr/core1,localhost:8984/solr/core1 true id,name xml org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException Error from server at null: Expected mime type application/octet-stream but got text/html. Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSAGE:require authentication
SERVLET:default

[jira] [Created] (SOLR-15236) Distributed search with index sharding is not working with basic authentication plugin enabled

Samir Huremovic created SOLR-15236:
--

 Summary: Distributed search with index sharding is not working 
with basic authentication plugin enabled
 Key: SOLR-15236
 URL: https://issues.apache.org/jira/browse/SOLR-15236
 Project: Solr
  Issue Type: Bug
  Security Level: Public (Default Security Level. Issues are Public)
  Components: Authentication
Affects Versions: 8.8.1, 8.7
 Environment: Archi Linux, Zulu JDK11, Solr 8.8.1
Reporter: Samir Huremovic


Issue confirmed for 8.7 and 8.8.1.

Steps to reproduce are:
1. Following the docs for setting up distributed search 
(https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html).
1.1 Stop both nodes after confirming that distributed search works without 
basic auth (last step).
2. Enable basic authentication plugin for both nodes, example for 
{{example/nodes/node1/security.json}}:
{{
{
"authentication":{ 
   "blockUnknown": true, 
   "class":"solr.BasicAuthPlugin",
   "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= 
Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, 
   "realm":"My Solr users", 
   "forwardCredentials": false 
}}

}}
3. Configure {{shardsWhitelist}} in {{solr.xml}} of each node 
{{example/nodes/node1/solr.xml}}
{{
  
${socketTimeout:60}
${connTimeout:6}
localhost:8984,localhost:8985
  
}}
4. Start both nodes.
5. Confirm that searching on one node with basic auth works with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}}
6. Confirm that searching on both nodes does not work with {{curl --user 
solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";

Error:
{{
❯ curl --user solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";




  401
  173
  
*:*
localhost:8985/solr/core1,localhost:8984/solr/core1
true
id,name
xml
  


  
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
  
  Error from server at null: Expected mime type 
application/octet-stream but got text/html. 


Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSAGE:require authentication
SERVLET:default
401 }} See also SOLR-14569 that seems similar, but the patch provided does not help after I applied it to 8.8.1, therefore I think this is not the same issue. Adjust priority as necessary. For cases where basic auth is required this means we cannot use Solr as of now. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org

[jira] [Created] (SOLR-15235) Distributed search with index sharding is not working with basic authentication plugin enabled

Samir Huremovic created SOLR-15235:
--

 Summary: Distributed search with index sharding is not working 
with basic authentication plugin enabled
 Key: SOLR-15235
 URL: https://issues.apache.org/jira/browse/SOLR-15235
 Project: Solr
  Issue Type: Bug
  Security Level: Public (Default Security Level. Issues are Public)
  Components: Authentication
Affects Versions: 8.8.1, 8.7
 Environment: Arch Linux, zulu JDK 11, Solr 8.8.1
Reporter: Samir Huremovic


Steps to reproduce (from 
https://solr.apache.org/guide/8_8/distributed-search-with-index-sharding.html)
1. Create two local servers and index two files as described in the docs.
2. Check that search is working as described in the docs.
3. Stop the instances.
4. Add {{security.json}} for both nodes with configuration for auth plugin, for 
example
{{{
"authentication":{ 
   "blockUnknown": true, 
   "class":"solr.BasicAuthPlugin",
   "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= 
Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, 
   "realm":"My Solr users", 
   "forwardCredentials": false 

5. Add both nodes to the {{shardsWhitelist}} in both node's {{solr.xml}}, e.g. 
{{example/nodes/node1/solr.xml}}:
{{
  
${socketTimeout:60}
${connTimeout:6}
localhost:8984,localhost:8985
  
}}
6. Start both nodes again.
7. Try searching on a single node, should work: {{curl --user solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&wt=xml&indent=true"}}
8. Try distributed search on both nodes, should not work anymore: 
{{//localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml"}}

Error:
{{
❯ curl --user solr:SolrRocks 
"http://localhost:8984/solr/core1/select?q=*:*&indent=true&shards=localhost:8985/solr/core1,localhost:8984/solr/core1&fl=id,name&wt=xml";




  401
  173
  
*:*
localhost:8985/solr/core1,localhost:8984/solr/core1
true
id,name
xml
  


  
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException
  
  Error from server at null: Expected mime type 
application/octet-stream but got text/html. 


Error 401 require authentication

HTTP ERROR 401 require authentication

URI:/solr/core1/select
STATUS:401
MESSAGE:require authentication
SERVLET:default
401 }} Please adjust the priority if needed, for us this means we cannot use Solr with basic auth enabled, which means cannot use it at all in cases where it is a requirement. I have linked a related issue that seems to be similar. I have applied the patch from that issue to 8.8.1 and it did not help in my case, therefore I think it is not the exact same issue. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org

[jira] [Commented] (SOLR-14973) Solr 8.6 is shipping libraries that are incompatible with each other



[ 
https://issues.apache.org/jira/browse/SOLR-14973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237211#comment-17237211
 ] 

Samir Huremovic commented on SOLR-14973:


Confirmed fixed in 8.7.

> Solr 8.6 is shipping libraries that are incompatible with each other
> 
>
> Key: SOLR-14973
> URL: https://issues.apache.org/jira/browse/SOLR-14973
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: contrib - Solr Cell (Tika extraction)
>Affects Versions: 8.6
>Reporter: Samir Huremovic
>Priority: Major
>  Labels: tika-parsers
>
> Hi,
> since Solr 8.6 the version of {{tika-parsers}} was updated to {{1.24}}. This 
> version of {{tika-parsers}} needs the {{poi}} library in version {{4.1.2}} 
> (see https://issues.apache.org/jira/browse/TIKA-3047) 
> Solr has version {{4.1.1}} of poi included.
> This creates (at least) a problem for parsing {{.xls}} files. The following 
> exception gets thrown by trying to post an {{.xls}} file in the techproducts 
> example:
> {{java.lang.NoSuchMethodError: 
> org.apache.poi.hssf.record.common.UnicodeString.getExtendedRst()Lorg/apache/poi/hssf/record/common/ExtRst;}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Updated] (SOLR-14973) Solr 8.6 is shipping libraries that are incompatible with each other



 [ 
https://issues.apache.org/jira/browse/SOLR-14973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Samir Huremovic updated SOLR-14973:
---
Description: 
Hi,

since Solr 8.6 the version of {{tika-parsers}} was updated to {{1.24}}. This 
version of {{tika-parsers}} needs the {{poi}} library in version {{4.1.2}} (see 
https://issues.apache.org/jira/browse/TIKA-3047) 

Solr has version {{4.1.1}} of poi included.

This creates (at least) a problem for parsing {{.xls}} files. The following 
exception gets thrown by trying to post an {{.xls}} file in the techproducts 
example:
{{java.lang.NoSuchMethodError: 
org.apache.poi.hssf.record.common.UnicodeString.getExtendedRst()Lorg/apache/poi/hssf/record/common/ExtRst;}}

  was:
Hi,

since Solr 8.6 the version of `tika-parsers` was updated to `1.24`. This 
version of `tika-parsers` needs the `poi` library in version `4.1.2` (see 
https://issues.apache.org/jira/browse/TIKA-3047) 

Solr has version `4.1.1` of poi included.

This creates (at least) a problem for parsing `.xls` files. The following 
exception gets thrown by trying to post an `.xls` file in the techproducts 
example:
```
java.lang.NoSuchMethodError: 
org.apache.poi.hssf.record.common.UnicodeString.getExtendedRst()Lorg/apache/poi/hssf/record/common/ExtRst;
```


> Solr 8.6 is shipping libraries that are incompatible with each other
> 
>
> Key: SOLR-14973
> URL: https://issues.apache.org/jira/browse/SOLR-14973
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: contrib - Solr Cell (Tika extraction)
>Affects Versions: 8.6
>Reporter: Samir Huremovic
>Priority: Major
>  Labels: tika-parsers
>
> Hi,
> since Solr 8.6 the version of {{tika-parsers}} was updated to {{1.24}}. This 
> version of {{tika-parsers}} needs the {{poi}} library in version {{4.1.2}} 
> (see https://issues.apache.org/jira/browse/TIKA-3047) 
> Solr has version {{4.1.1}} of poi included.
> This creates (at least) a problem for parsing {{.xls}} files. The following 
> exception gets thrown by trying to post an {{.xls}} file in the techproducts 
> example:
> {{java.lang.NoSuchMethodError: 
> org.apache.poi.hssf.record.common.UnicodeString.getExtendedRst()Lorg/apache/poi/hssf/record/common/ExtRst;}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Created] (SOLR-14973) Solr 8.6 is shipping libraries that are incompatible with each other

Samir Huremovic created SOLR-14973:
--

 Summary: Solr 8.6 is shipping libraries that are incompatible with 
each other
 Key: SOLR-14973
 URL: https://issues.apache.org/jira/browse/SOLR-14973
 Project: Solr
  Issue Type: Bug
  Security Level: Public (Default Security Level. Issues are Public)
  Components: contrib - Solr Cell (Tika extraction)
Affects Versions: 8.6
Reporter: Samir Huremovic


Hi,

since Solr 8.6 the version of `tika-parsers` was updated to `1.24`. This 
version of `tika-parsers` needs the `poi` library in version `4.1.2` (see 
https://issues.apache.org/jira/browse/TIKA-3047) 

Solr has version `4.1.1` of poi included.

This creates (at least) a problem for parsing `.xls` files. The following 
exception gets thrown by trying to post an `.xls` file in the techproducts 
example:
```
java.lang.NoSuchMethodError: 
org.apache.poi.hssf.record.common.UnicodeString.getExtendedRst()Lorg/apache/poi/hssf/record/common/ExtRst;
```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org