You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Timothy Potter (Jira)" <ji...@apache.org> on 2021/12/05 22:37:00 UTC

[jira] [Commented] (SOLR-15835) Collection creation failing with https

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

Timothy Potter commented on SOLR-15835:
---------------------------------------

did you set the `urlScheme` cluster property to `https`?

> Collection creation failing with https
> --------------------------------------
>
>                 Key: SOLR-15835
>                 URL: https://issues.apache.org/jira/browse/SOLR-15835
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: main (9.0)
>         Environment: * 
>            Reporter: Gus Heck
>            Priority: Blocker
>             Fix For: 9.0
>
>
> The following steps fail to create a collection and probably should:
>  # Follow the instructions at [http://localhost:63342/solr-root/solr-root.solr.solr-ref-guide/build/html-site/enabling-ssl.html] (9.0 refguide built locally)
>  # Add solr.xml to cloud/node1 (possibly should be added to the above )
>  # Start the server with the start command given in above ref guide page
>  # Open [https://localhost:8984/solr/#/] and observe our UI rendering properly
>  # Go to Collections page
>  # Click Add Collection
>  # Name: foo
>  # config set: _default
>  # click ( (/) Add Collection )
> Observed:
>  * Red error bar reading "Underlying core creation failed while creating collection: foo"
> Expected
>  * Collection created successfully
> The reasons appear similar to SOLR-15587 and the following log message reveals that shards are being addressed by http not https
> {code:java}
> 2021-12-05 21:52:02.855 ERROR (OverseerThreadFactory-19-thread-2) [] o.a.s.c.a.c.CollectionHandlingUtils Error from shard: http://localhost:8984/solr => org.apache.solr.client.solrj.SolrServerException
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org