org.springframework.data.solr.UncategorizedSolrException: IOException occured when talking to server at: spring.data.solr.host;

konvicted 007 <[email protected]>
Newsgroups gmane.comp.apache.webservices.general,gmane.comp.jakarta.lucene.user,gmane.comp.java.activemq.devel
Message-ID <CAKeDzcU2YHETbAmHLXv+kSns_cJyCwZ-F_ViqXF_z-bC30Exww__20115.7357356109$1551108532$gmane$org@mail.gmail.com>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.