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

Timothy Potter edited comment on SOLR-15026 at 12/14/20, 3:51 PM:
------------------------------------------------------------------

Not related to this issue ^ for sure ... so maybe open a new JIRA and I'll take 
a look.

How did you start the server? {{ant server}} doesn't start a Solr, just builds 
so you can start one right? When I run your 2 commands, I get:
{code}
ant server
bin/solr create -c test -s 1 -d _default
Failed to determine the port of a local Solr instance, cannot create test!
{code}

If I start, then create works:
{code}
bin/solr start
*** [WARN] *** Your open file limit is currently 2560.  
 It should be set to 65000 to avoid operational disruption. 
 If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in 
your profile or solr.in.sh
*** [WARN] ***  Your Max Processes Limit is currently 11136. 
 It should be set to 65000 to avoid operational disruption. 
 If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in 
your profile or solr.in.sh
Waiting up to 180 seconds to see Solr running on port 8983 [-]  
Started Solr server on port 8983 (pid=18118). Happy searching!

(⎈ |docker-desktop:tjp)~/dev/oss/lucene-solr/8x/solr$ bin/solr create -c test 
-s 1 -d _default
WARNING: Using _default configset with data driven schema functionality. NOT 
RECOMMENDED for production use.
         To turn off: bin/solr config -c test -p 8983 -action set-user-property 
-property update.autoCreateFields -value false

Created new core 'test'
{code}


was (Author: thelabdude):
Not related to this issue ^ for sure ... so maybe open a new JIRA and I'll take 
a look.

How did you start the server? {{ant server}} doesn't start a Solr, just builds 
so you can start one right? When I run your 2 commands, I get:
{code}
ant server
bin/solr create -c test -s 1 -d _default
Failed to determine the port of a local Solr instance, cannot create test!
{code}

> MiniSolrCloudCluster can inconsistently get confused about when it's using SSL
> ------------------------------------------------------------------------------
>
>                 Key: SOLR-15026
>                 URL: https://issues.apache.org/jira/browse/SOLR-15026
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Chris M. Hostetter
>            Priority: Major
>
> A new test added in SOLR-14934 caused the following reproducible failure to 
> pop up on jenkins...
> {noformat}
> hossman@slate:~/lucene/dev [j11] [master] $ ./gradlew -p solr/test-framework/ 
> test --tests MiniSolrCloudClusterTest.testSolrHomeAndResourceLoaders 
> -Dtests.seed=806A85748BD81F48 -Dtests.multiplier=2 -Dtests.slow=true 
> -Dtests.locale=ln-CG -Dtests.timezone=Asia/Thimbu -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> Starting a Gradle Daemon (subsequent builds will be faster)
> > Task :randomizationInfo
> Running tests with randomization seed: tests.seed=806A85748BD81F48
> > Task :solr:test-framework:test
> org.apache.solr.cloud.MiniSolrCloudClusterTest > 
> testSolrHomeAndResourceLoaders FAILED
>     org.apache.solr.client.solrj.SolrServerException: IOException occurred 
> when talking to server at: https://127.0.0.1:38681/solr
>         at 
> __randomizedtesting.SeedInfo.seed([806A85748BD81F48:37548FA7602CB5FD]:0)
>         at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:712)
>         at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:269)
>         at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:251)
>         at 
> org.apache.solr.client.solrj.impl.LBSolrClient.doRequest(LBSolrClient.java:390)
>         at 
> org.apache.solr.client.solrj.impl.LBSolrClient.request(LBSolrClient.java:360)
>         at 
> org.apache.solr.client.solrj.impl.BaseCloudSolrClient.sendRequest(BaseCloudSolrClient.java:1168)
>         at 
> org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:931)
>         at 
> org.apache.solr.client.solrj.impl.BaseCloudSolrClient.request(BaseCloudSolrClient.java:865)
>         at 
> org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:229)
>         at 
> org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:246)
>         at 
> org.apache.solr.cloud.MiniSolrCloudClusterTest.testSolrHomeAndResourceLoaders(MiniSolrCloudClusterTest.java:125)
> ...
>         Caused by:
>         javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
>             at 
> java.base/sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:439)
> {noformat}
> The problem sems to be that even though the MiniSolrCloudCluster being 
> instantiated isn't _intentionally_ using any SSL randomization (it just uses 
> {{JettyConfig.builder().build()}} the CloudSolrClient returned by 
> {{cluster.getSolrClient()}} is evidnetly picking up the ranodmized SSL and 
> trying to use it to talk to the cluster.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to