[jira] [Updated] (SOLR-9188) BlockUnknown property makes inter-node communication impossible

2016-10-25 Thread Noble Paul (JIRA)

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

Noble Paul updated SOLR-9188:
-
Fix Version/s: (was: 6.2.1)

> BlockUnknown property makes inter-node communication impossible
> ---
>
> Key: SOLR-9188
> URL: https://issues.apache.org/jira/browse/SOLR-9188
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 6.0
>Reporter: Piotr Tempes
>Assignee: Noble Paul
>Priority: Critical
>  Labels: BasicAuth, Security
> Fix For: 6.3, master (7.0)
>
> Attachments: SOLR-9188.patch, solr9188-errorlog.txt
>
>
> When I setup my solr cloud without blockUnknown property it works as 
> expected. When I want to block non authenticated requests I get following 
> stacktrace during startup (see attached file).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-9188) BlockUnknown property makes inter-node communication impossible

2016-10-25 Thread Noble Paul (JIRA)

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

Noble Paul updated SOLR-9188:
-
Attachment: SOLR-9188.patch

> BlockUnknown property makes inter-node communication impossible
> ---
>
> Key: SOLR-9188
> URL: https://issues.apache.org/jira/browse/SOLR-9188
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 6.0
>Reporter: Piotr Tempes
>Assignee: Noble Paul
>Priority: Critical
>  Labels: BasicAuth, Security
> Fix For: 6.2.1, 6.3, master (7.0)
>
> Attachments: SOLR-9188.patch, solr9188-errorlog.txt
>
>
> When I setup my solr cloud without blockUnknown property it works as 
> expected. When I want to block non authenticated requests I get following 
> stacktrace during startup (see attached file).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-9188) BlockUnknown property makes inter-node communication impossible

2016-09-11 Thread Shalin Shekhar Mangar (JIRA)

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

Shalin Shekhar Mangar updated SOLR-9188:

Fix Version/s: 6.2.1

> BlockUnknown property makes inter-node communication impossible
> ---
>
> Key: SOLR-9188
> URL: https://issues.apache.org/jira/browse/SOLR-9188
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 6.0
>Reporter: Piotr Tempes
>Assignee: Noble Paul
>Priority: Critical
>  Labels: BasicAuth, Security
> Fix For: 6.2.1, 6.3, master (7.0)
>
> Attachments: solr9188-errorlog.txt
>
>
> When I setup my solr cloud without blockUnknown property it works as 
> expected. When I want to block non authenticated requests I get following 
> stacktrace during startup (see attached file).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-9188) BlockUnknown property makes inter-node communication impossible

2016-08-26 Thread JIRA

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

Jan Høydahl updated SOLR-9188:
--
Attachment: solr9188-errorlog.txt

> BlockUnknown property makes inter-node communication impossible
> ---
>
> Key: SOLR-9188
> URL: https://issues.apache.org/jira/browse/SOLR-9188
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 6.0
>Reporter: Piotr Tempes
>Priority: Critical
>  Labels: BasicAuth, Security
> Attachments: solr9188-errorlog.txt
>
>
> When I setup my solr cloud without blockUnknown property it works as 
> expected. When I want to block non authenticated requests I get following 
> stacktrace during startup (see attached file).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-9188) BlockUnknown property makes inter-node communication impossible

2016-08-26 Thread JIRA

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

Jan Høydahl updated SOLR-9188:
--
Description: When I setup my solr cloud without blockUnknown property it 
works as expected. When I want to block non authenticated requests I get 
following stacktrace during startup (see attached file).  (was: When I setup my 
solr cloud without blockUnknown property it works as expected. When I want to 
block non authenticated requests I get following stacktrace during startup:

{code}
2016-06-06 05:49:16.360 INFO  
(coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa s:shard1 
r:core_node1 x:testowa_shard1_replica3] o.a.s.c.ShardLeaderElectionContext 
Enough replicas found to continue.
2016-06-06 05:49:16.360 INFO  
(coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa s:shard1 
r:core_node1 x:testowa_shard1_replica3] o.a.s.c.ShardLeaderElectionContext I 
may be the new leader - try and sync
2016-06-06 05:49:16.361 INFO  
(coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa s:shard1 
r:core_node1 x:testowa_shard1_replica3] o.a.s.c.SyncStrategy Sync replicas to 
https://172.30.92.66:8983/solr/testowa_shard1_replica3/
2016-06-06 05:49:16.364 INFO  
(coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa s:shard1 
r:core_node1 x:testowa_shard1_replica3] o.a.s.u.PeerSync PeerSync: 
core=testowa_shard1_replica3 url=https://172.30.92.66:8983/solr START 
replicas=[https://172.30.182.43:8983/solr/testowa_shard1_replica1/, 
https://172.30.182.44:8983/solr/testowa_shard1_replica2/] nUpdates=100
2016-06-06 05:49:16.365 INFO  
(OverseerStateUpdate-240112591792046141-172.30.92.66:8983_solr-n_000150) [  
 ] o.a.s.c.o.ReplicaMutator Update state numShards=1 message={
  "core":"retailers_shard1_replica1",
  "core_node_name":"core_node1",
  "roles":null,
  "base_url":"https://172.30.182.44:8983/solr";,
  "node_name":"172.30.182.44:8983_solr",
  "numShards":"1",
  "state":"active",
  "shard":"shard1",
  "collection":"retailers",
  "operation":"state"}
2016-06-06 05:49:16.481 INFO  
(OverseerStateUpdate-240112591792046141-172.30.92.66:8983_solr-n_000150) [  
 ] o.a.s.c.o.ZkStateWriter going to update_collection 
/collections/retailers/state.json version: 89
2016-06-06 05:49:17.758 WARN  
(coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa s:shard1 
r:core_node1 x:testowa_shard1_replica3] o.a.s.u.PeerSync PeerSync: 
core=testowa_shard1_replica3 url=https://172.30.92.66:8983/solr  exception 
talking to https://172.30.182.44:8983/solr/testowa_shard1_replica2/, failed
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at https://172.30.182.44:8983/solr/testowa_shard1_replica2: 
Expected mime type application/octet-stream but got text/html. 


Error 401 Unauthorized request, Response code: 401

HTTP ERROR 401
Problem accessing /solr/testowa_shard1_replica2/get. Reason:
Unauthorized request, Response code: 401



at 
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:545)
at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:241)
at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:230)
at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1219)
at 
org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:198)
at 
org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:163)
at java.util.concurrent.FutureTask.run(FutureTask.java:277)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:522)
at java.util.concurrent.FutureTask.run(FutureTask.java:277)
at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$$Lambda$3.C403EBB0.run(Unknown
 Source)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:785)
2016-06-06 05:49:17.761 INFO  
(coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa s:shard1 
r:core_node1 x:testowa_shard1_replica3] o.a.s.u.PeerSync PeerSync: 
core=testowa_shard1_replica3 url=https://172.30.92.66:8983/solr DONE. sync 
failed
2016-06-06 05:49:17.76

[jira] [Updated] (SOLR-9188) BlockUnknown property makes inter-node communication impossible

2016-08-26 Thread JIRA

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

Jan Høydahl updated SOLR-9188:
--
Labels: BasicAuth Security  (was: )

> BlockUnknown property makes inter-node communication impossible
> ---
>
> Key: SOLR-9188
> URL: https://issues.apache.org/jira/browse/SOLR-9188
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 6.0
>Reporter: Piotr Tempes
>Priority: Critical
>  Labels: BasicAuth, Security
>
> When I setup my solr cloud without blockUnknown property it works as 
> expected. When I want to block non authenticated requests I get following 
> stacktrace during startup:
> {code}
> 2016-06-06 05:49:16.360 INFO  
> (coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
> x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa 
> s:shard1 r:core_node1 x:testowa_shard1_replica3] 
> o.a.s.c.ShardLeaderElectionContext Enough replicas found to continue.
> 2016-06-06 05:49:16.360 INFO  
> (coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
> x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa 
> s:shard1 r:core_node1 x:testowa_shard1_replica3] 
> o.a.s.c.ShardLeaderElectionContext I may be the new leader - try and sync
> 2016-06-06 05:49:16.361 INFO  
> (coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
> x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa 
> s:shard1 r:core_node1 x:testowa_shard1_replica3] o.a.s.c.SyncStrategy Sync 
> replicas to https://172.30.92.66:8983/solr/testowa_shard1_replica3/
> 2016-06-06 05:49:16.364 INFO  
> (coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
> x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa 
> s:shard1 r:core_node1 x:testowa_shard1_replica3] o.a.s.u.PeerSync PeerSync: 
> core=testowa_shard1_replica3 url=https://172.30.92.66:8983/solr START 
> replicas=[https://172.30.182.43:8983/solr/testowa_shard1_replica1/, 
> https://172.30.182.44:8983/solr/testowa_shard1_replica2/] nUpdates=100
> 2016-06-06 05:49:16.365 INFO  
> (OverseerStateUpdate-240112591792046141-172.30.92.66:8983_solr-n_000150) 
> [   ] o.a.s.c.o.ReplicaMutator Update state numShards=1 message={
>   "core":"retailers_shard1_replica1",
>   "core_node_name":"core_node1",
>   "roles":null,
>   "base_url":"https://172.30.182.44:8983/solr";,
>   "node_name":"172.30.182.44:8983_solr",
>   "numShards":"1",
>   "state":"active",
>   "shard":"shard1",
>   "collection":"retailers",
>   "operation":"state"}
> 2016-06-06 05:49:16.481 INFO  
> (OverseerStateUpdate-240112591792046141-172.30.92.66:8983_solr-n_000150) 
> [   ] o.a.s.c.o.ZkStateWriter going to update_collection 
> /collections/retailers/state.json version: 89
> 2016-06-06 05:49:17.758 WARN  
> (coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
> x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa 
> s:shard1 r:core_node1 x:testowa_shard1_replica3] o.a.s.u.PeerSync PeerSync: 
> core=testowa_shard1_replica3 url=https://172.30.92.66:8983/solr  exception 
> talking to https://172.30.182.44:8983/solr/testowa_shard1_replica2/, failed
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at https://172.30.182.44:8983/solr/testowa_shard1_replica2: 
> Expected mime type application/octet-stream but got text/html. 
> 
> 
> Error 401 Unauthorized request, Response code: 401
> 
> HTTP ERROR 401
> Problem accessing /solr/testowa_shard1_replica2/get. Reason:
> Unauthorized request, Response code: 401
> 
> 
>   at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:545)
>   at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:241)
>   at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:230)
>   at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1219)
>   at 
> org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:198)
>   at 
> org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:163)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:277)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:522)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:277)
>   at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>   at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$$Lambda$3.C403EBB0.run(Unknown
>  Source)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Work

[jira] [Updated] (SOLR-9188) BlockUnknown property makes inter-node communication impossible

2016-08-26 Thread JIRA

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

Jan Høydahl updated SOLR-9188:
--
Priority: Critical  (was: Major)

> BlockUnknown property makes inter-node communication impossible
> ---
>
> Key: SOLR-9188
> URL: https://issues.apache.org/jira/browse/SOLR-9188
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 6.0
>Reporter: Piotr Tempes
>Priority: Critical
>
> When I setup my solr cloud without blockUnknown property it works as 
> expected. When I want to block non authenticated requests I get following 
> stacktrace during startup:
> {code}
> 2016-06-06 05:49:16.360 INFO  
> (coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
> x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa 
> s:shard1 r:core_node1 x:testowa_shard1_replica3] 
> o.a.s.c.ShardLeaderElectionContext Enough replicas found to continue.
> 2016-06-06 05:49:16.360 INFO  
> (coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
> x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa 
> s:shard1 r:core_node1 x:testowa_shard1_replica3] 
> o.a.s.c.ShardLeaderElectionContext I may be the new leader - try and sync
> 2016-06-06 05:49:16.361 INFO  
> (coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
> x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa 
> s:shard1 r:core_node1 x:testowa_shard1_replica3] o.a.s.c.SyncStrategy Sync 
> replicas to https://172.30.92.66:8983/solr/testowa_shard1_replica3/
> 2016-06-06 05:49:16.364 INFO  
> (coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
> x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa 
> s:shard1 r:core_node1 x:testowa_shard1_replica3] o.a.s.u.PeerSync PeerSync: 
> core=testowa_shard1_replica3 url=https://172.30.92.66:8983/solr START 
> replicas=[https://172.30.182.43:8983/solr/testowa_shard1_replica1/, 
> https://172.30.182.44:8983/solr/testowa_shard1_replica2/] nUpdates=100
> 2016-06-06 05:49:16.365 INFO  
> (OverseerStateUpdate-240112591792046141-172.30.92.66:8983_solr-n_000150) 
> [   ] o.a.s.c.o.ReplicaMutator Update state numShards=1 message={
>   "core":"retailers_shard1_replica1",
>   "core_node_name":"core_node1",
>   "roles":null,
>   "base_url":"https://172.30.182.44:8983/solr";,
>   "node_name":"172.30.182.44:8983_solr",
>   "numShards":"1",
>   "state":"active",
>   "shard":"shard1",
>   "collection":"retailers",
>   "operation":"state"}
> 2016-06-06 05:49:16.481 INFO  
> (OverseerStateUpdate-240112591792046141-172.30.92.66:8983_solr-n_000150) 
> [   ] o.a.s.c.o.ZkStateWriter going to update_collection 
> /collections/retailers/state.json version: 89
> 2016-06-06 05:49:17.758 WARN  
> (coreZkRegister-1-thread-1-processing-n:172.30.92.66:8983_solr 
> x:testowa_shard1_replica3 s:shard1 c:testowa r:core_node1) [c:testowa 
> s:shard1 r:core_node1 x:testowa_shard1_replica3] o.a.s.u.PeerSync PeerSync: 
> core=testowa_shard1_replica3 url=https://172.30.92.66:8983/solr  exception 
> talking to https://172.30.182.44:8983/solr/testowa_shard1_replica2/, failed
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at https://172.30.182.44:8983/solr/testowa_shard1_replica2: 
> Expected mime type application/octet-stream but got text/html. 
> 
> 
> Error 401 Unauthorized request, Response code: 401
> 
> HTTP ERROR 401
> Problem accessing /solr/testowa_shard1_replica2/get. Reason:
> Unauthorized request, Response code: 401
> 
> 
>   at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:545)
>   at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:241)
>   at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:230)
>   at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1219)
>   at 
> org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:198)
>   at 
> org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:163)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:277)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:522)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:277)
>   at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>   at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$$Lambda$3.C403EBB0.run(Unknown
>  Source)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>   at