[ https://issues.apache.org/jira/browse/SOLR-15046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17251057#comment-17251057 ]
ASF subversion and git services commented on SOLR-15046: -------------------------------------------------------- Commit fa41ea51d4ecbdbe22bd99c3de824ad832179904 in lucene-solr's branch refs/heads/master from Christine Poerschke [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=fa41ea5 ] Add two solr/CHANGES.txt entries for SOLR-14981 and SOLR-15046. (#2149) So that 8.8.0 sections match on master and branch_8x branches. > bin/solr check to see if solr.jetty.https.port should be set always returns > true > -------------------------------------------------------------------------------- > > Key: SOLR-15046 > URL: https://issues.apache.org/jira/browse/SOLR-15046 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: scripts and tools > Affects Versions: 8.8 > Reporter: Timothy Potter > Assignee: Timothy Potter > Priority: Minor > Fix For: 8.8 > > Time Spent: 20m > Remaining Estimate: 0h > > This always returns {{true}} on Mac OS X (not sure about Linux): > {code} > if [ "$SOLR_SSL_ENABLED" ]; then > # If using SSL and solr.jetty.https.port not set explicitly, use the > jetty.port > SSL_PORT_PROP="-Dsolr.jetty.https.port=$SOLR_PORT" > SOLR_OPTS+=($SOLR_SSL_OPTS "$SSL_PORT_PROP") > fi > {code} > On master, we do {{if [ "$SOLR_SSL_ENABLED" == "true" ]; then}} > The problem is that ZkContainer (when zkRun enabled) looks to see if > {{solr.jetty.https.port}} is set, and if so, then it assumes TLS is enabled. > So this little BASH bug causes Solr's HttpShardHandler to connect via https. -- 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