lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@openindex.io>
Subject RE: refused connection
Date Fri, 28 Jun 2019 08:16:53 GMT
Hello,

If you get a Connection Refused, then normally the server is just offline. But, something
weird is hiding in your stack trace, you should check it out further:

> Caused by: java.net.ConnectException: Cannot assign requested address
> (connect failed)

I have not seen this before.

Regards,
Markus 
 
-----Original message-----
> From:Midas A <test.midas@gmail.com>
> Sent: Friday 28th June 2019 10:03
> To: solr-user@lucene.apache.org
> Subject: Re: refused connection
> 
> Please reply .  THis error is coming intermittently.
> 
> On Fri, Jun 28, 2019 at 11:50 AM Midas A <test.midas@gmail.com> wrote:
> 
> > Hi All ,
> >
> > I am getting following error while indexing . Please suggest resolution.
> >
> > We are using kafka consumer to index solr .
> >
> >
> > org.apache.solr.client.solrj.SolrServerException: Server
> > *refused connection* at: http://host:port/solr/research
> > at
> > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:656)
> > ~[solr-solrj-8.1.1.jar!/:8.1.1 fcbe46c28cef11bc058779afba09521de1b19bef -
> > ab - 2019-05-22 15:20:04]
> > at
> > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255)
> > ~[solr-solrj-8.1.1.jar!/:8.1.1 fcbe46c28cef11bc058779afba09521de1b19bef -
> > ab - 2019-05-22 15:20:04]
> > at
> > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244)
> > ~[solr-solrj-8.1.1.jar!/:8.1.1 fcbe46c28cef11bc058779afba09521de1b19bef -
> > ab - 2019-05-22 15:20:04]
> > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:207)
> > ~[solr-solrj-8.1.1.jar!/:8.1.1 fcbe46c28cef11bc058779afba09521de1b19bef -
> > ab - 2019-05-22 15:20:04]
> > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:177)
> > ~[solr-solrj-8.1.1.jar!/:8.1.1 fcbe46c28cef11bc058779afba09521de1b19bef -
> > ab - 2019-05-22 15:20:04]
> > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:138)
> > ~[solr-solrj-8.1.1.jar!/:8.1.1 fcbe46c28cef11bc058779afba09521de1b19bef -
> > ab - 2019-05-22 15:20:04]
> > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:156)
> > ~[solr-solrj-8.1.1.jar!/:8.1.1 fcbe46c28cef11bc058779afba09521de1b19bef -
> > ab - 2019-05-22 15:20:04]
> > at
> > com.monster.blue.jay.repositories.impl.ResumesDocumentRepositoryImpl.pushToSolr(ResumesDocumentRepositoryImpl.java:425)
> > [classes!/:1.0.0]
> > at
> > com.monster.blue.jay.repositories.impl.ResumesDocumentRepositoryImpl.createResumeDocument(ResumesDocumentRepositoryImpl.java:397)
> > [classes!/:1.0.0]
> > at
> > com.monster.blue.jay.repositories.impl.ResumesDocumentRepositoryImpl$$FastClassBySpringCGLIB$$e5ddf9e4.invoke(<generated>)
> > [classes!/:1.0.0]
> > at
> > org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> > [spring-core-5.0.7.RELEASE.jar!/:5.0.7.RELEASE]
> > at
> > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)
> > [spring-aop-5.0.7.RELEASE.jar!/:5.0.7.RELEASE]
> > at
> > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> > [spring-aop-5.0.7.RELEASE.jar!/:5.0.7.RELEASE]
> > at
> > org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)
> > [spring-tx-5.0.7.RELEASE.jar!/:5.0.7.RELEASE]
> > at
> > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
> > [spring-aop-5.0.7.RELEASE.jar!/:5.0.7.RELEASE]
> > at
> > org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
> > [spring-aop-5.0.7.RELEASE.jar!/:5.0.7.RELEASE]
> > at
> > com.monster.blue.jay.repositories.impl.ResumesDocumentRepositoryImpl$$EnhancerBySpringCGLIB$$3885a0b4.createResumeDocument(<generated>)
> > [classes!/:1.0.0]
> > at
> > com.monster.blue.jay.services.ResumeDocumentService.getResumeDocument(ResumeDocumentService.java:46)
> > [classes!/:1.0.0]
> > at
> > com.monster.blue.jay.runable.impl.ParallelGroupProcessor$GroupIndexingTaskCallable.call(ParallelGroupProcessor.java:200)
> > [classes!/:1.0.0]
> > at
> > com.monster.blue.jay.runable.impl.ParallelGroupProcessor$GroupIndexingTaskCallable.call(ParallelGroupProcessor.java:148)
> > [classes!/:1.0.0]
> > at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_121]
> > at
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> > [na:1.8.0_121]
> > at
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> > [na:1.8.0_121]
> > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]
> > Caused by: org.apache.http.conn.HttpHostConnectException: Connect to
> > 10.216.204.70:3112 [/10.216.204.70] failed: Cannot assign requested
> > address (connect failed)
> > at
> > org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:159)
> > ~[httpclient-4.5.5.jar!/:4.5.5]
> > at
> > org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
> > ~[httpclient-4.5.5.jar!/:4.5.5]
> > at
> > org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)
> > ~[httpclient-4.5.5.jar!/:4.5.5]
> > at
> > org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
> > ~[httpclient-4.5.5.jar!/:4.5.5]
> > at
> > org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
> > ~[httpclient-4.5.5.jar!/:4.5.5]
> > at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
> > ~[httpclient-4.5.5.jar!/:4.5.5]
> > at
> > org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
> > ~[httpclient-4.5.5.jar!/:4.5.5]
> > at
> > org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
> > ~[httpclient-4.5.5.jar!/:4.5.5]
> > at
> > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
> > ~[httpclient-4.5.5.jar!/:4.5.5]
> > at
> > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
> > ~[httpclient-4.5.5.jar!/:4.5.5]
> > at
> > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:548)
> > ~[solr-solrj-8.1.1.jar!/:8.1.1 fcbe46c28cef11bc058779afba09521de1b19bef -
> > ab - 2019-05-22 15:20:04]
> > ... 23 common frames omitted
> > Caused by: java.net.ConnectException: Cannot assign requested address
> > (connect failed)
> > at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_121]
> > at
> > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
> > ~[na:1.8.0_121]
> > at
> > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
> > ~[na:1.8.0_121]
> > at
> > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
> > ~[na:1.8.0_121]
> > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> > ~[na:1.8.0_121]
> > at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_121]
> > at
> > org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75)
> > ~[httpclient-4.5.5.jar!/:4.5.5]
> > at
> > org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
> > ~[httpclient-4.5.5.jar!/:4.5.5]
> > ... 33 common frames omitted
> >
> >
> 

Mime
View raw message