You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by six23 <23...@gmail.com> on 2020/04/10 18:46:33 UTC
solrQuery exception :
org.apache.solr.client.solrj.SolrServerException: IOException occured when
talking to server at: https://solrIP:8983/solr
Hi,
I have enabled Solr to use SSL communication in my environment. I could get
https://localhost:8983/solr and curl it from the tomcat8 server with no
issue. But
I'm getting this is error in the log tomcat log " solrQuery exception :
org.apache.solr.client.solrj.SolrServerException: IOException occured when
talking to server at: https://solrIP:8983/solr"
Am i missing a configuration or step somewhere to let tomcat to communicate
with solr ?
Can tomcat access SSL Solr directly ? or do i have to set up more
configuration on tomcat ?
Any advice would be appreciated.
Thanks
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: solrQuery exception : org.apache.solr.client.solrj.SolrServerException: IOException occured when talking to server at: https://solrIP:8983/solr
Posted by Jörn Franke <jo...@gmail.com>.
Is it a self signed certificate ? Enterprise CAs? Then you need to add the certificates to tomcat, because Java needs to validate them (to avoid man-in-the-middle attacks).
Curl may not validate the certificate?!
> Am 11.04.2020 um 13:42 schrieb six23 <23...@gmail.com>:
>
> Hi,
> I have enabled Solr to use SSL communication in my environment. I could get
> https://localhost:8983/solr and curl it from the tomcat8 server with no
> issue. But
> I'm getting this is error in the log tomcat log " solrQuery exception :
> org.apache.solr.client.solrj.SolrServerException: IOException occured when
> talking to server at: https://solrIP:8983/solr"
> Am i missing a configuration or step somewhere to let tomcat to communicate
> with solr ?
> Can tomcat access SSL Solr directly ? or do i have to set up more
> configuration on tomcat ?
>
>
>
> Any advice would be appreciated.
> Thanks
>
>
>
> --
> Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html