Hi,

 

the Lucene/Solr team is not responsible for the Spring integration of Solr. 
Please ask the team around the spring framework for help.

 

In general this looks like a bad configuration: “spring.data.solr.host” does 
not look like a valid hostname.

 

Uwe

 

-----

Uwe Schindler

Achterdiek 19, D-28357 Bremen

http://www.thetaphi.de <http://www.thetaphi.de/> 

eMail: [email protected]

 

From: konvicted 007 <[email protected]> 
Sent: Saturday, February 23, 2019 11:29 PM
To: [email protected]; [email protected]; 
[email protected]
Subject: org.springframework.data.solr.UncategorizedSolrException: IOException 
occured when talking to server at: spring.data.solr.host;

 

Hi,

 

I am using Spring app to call Solr and findAll but it fails with below 
exception :

 

I checked below


1)SOlR is UP and able to fetch from direct call to SOlR 

http://localhost:8983/solr/Subscriptions/select?q=subscription_id:1

2)Spring app is working fine when not making call to SOLR but fails during SOLR 
fetch

 

 

2019-02-23 14:08:52.026 ERROR 20245 --- [nio-8080-exec-1] 
o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet 
[dispatcherServlet] in context with path [] threw exception [Request processing 
failed; nested exception is 
org.springframework.data.solr.UncategorizedSolrException: IOException occured 
when talking to server at: spring.data.solr.host; nested exception is 
org.apache.solr.client.solrj.SolrServerException: IOException occured when 
talking to server at: spring.data.solr.host] with root cause

 

org.apache.http.ProtocolException: Target host is not specified

               at 
org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
 ~[httpclient-4.5.6.jar:4.5.6]

               at 
org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
 ~[httpclient-4.5.6.jar:4.5.6]

-- 

Regards,
Rachit.

Reply via email to