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