Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
8.8
-
None
Description
This always returns true on Mac OS X (not sure about Linux):
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
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.
Attachments
Issue Links
- is caused by
-
SOLR-12182 Can not switch urlScheme in 7x if there are any cores in the cluster
- Reopened
- links to