lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JesseBuesking <jessebuesk...@gmail.com>
Subject Default query error "Server refused connection"
Date Thu, 27 Sep 2012 19:10:30 GMT
When trying to invoke a search query against my SolrCloud setup (from the
solr manager), I'm receiving the following error:

50032*:*xmlorg.apache.solr.client.solrj.SolrServerException: Server refused
connection
	at:
http://dm-search-sr-01:8983/solr/core-01org.apache.solr.common.SolrException:
org.apache.solr.client.solrj.SolrServerException: Server refused connection
	at: http://dm-search-sr-01:8983/solr/core-01
	at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:300)
	at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1656)
	at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:454)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:275)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
	at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
	at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source) Caused by:
org.apache.solr.client.solrj.SolrServerException: Server refused connection
	at: http://dm-search-sr-01:8983/solr/core-01
	at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:407)
	at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:182)
	at
org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:165)
	at
org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:132)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source) ... 3 more Caused
by: org.apache.http.conn.HttpHostConnectException: Connection to
http://dm-search-sr-01:8983 refused
	at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
	at
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
	at
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
	at
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:575)
	at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
	at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
	at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
	at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
	at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:353)
... 11 more Caused by: java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123)
	at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
... 19 more 500

The query it's sending is the default:
http://localhost:8080/solr/core-01/select?q=*%3A*&wt=xml

I can successfully run imports/etc, but for some reason it looks like the
server won't play nice for search queries.  Any ideas on what would cause
this/ tips for trying to debug this issue?

As I've mentioned over in this thread
http://lucene.472066.n3.nabble.com/Change-config-to-use-port-8080-instead-of-port-8983-td4010663.html,
I've noticed that it looks like it's trying to run against port 8983 (can be
seen from the error message provided).  Could this be causing the error?



--
View this message in context: http://lucene.472066.n3.nabble.com/Default-query-error-Server-refused-connection-tp4010806.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message