AnsweredAssumed Answered

local search server refuses connections to port 21000 for activity ingress

Question asked by edovale Employee on May 8, 2014
Latest reply on Jun 24, 2014 by gdinning

Folks,

I am baffled by the fact that I can't get my local jive instance to connect to the activity ingress on the search server.

My local jive instance keeps on spitting the following logs:

 


2014-05-08 10:40:11,377 [pool-21-thread-1] [-1::REGULAR] ERROR com.jivesoftware.service.activity.ingress.client.impl.http.HttpClientDeliveryCallback - Error delivery bytes to ingress endpoint
com.jivesoftware.service.common.http.HttpClientException: Error executing POST request to: http://localhost:21000 path: /activityStream/entries JSON body: {"tenantId":{"tenantId":"93e5884d-0683-4443-b9c7-bde5604ce58a-dev","actorId":0,"timestampInMillis":1399472662155},"rawActivityStreamEntries":["eyJmYW1pbHkiOiJhY3Rpdml0eSIsInR5cGUiOiJtb2RpZmllZCIsInRhcmdldE9iamVjdCI6eyJ0eXBlIjo2MDAsImlkIjoxNDE2fSwidGFyZ2V0T2JqZWN0T3V0Y29tZUlkcyI6W10sInRhcmdldE9iamVjdENyZWF0ZWRUaW1lc3RhbXBNaWxsaXMiOjEzOTkzOTE5MTAwMzcsInRhcmdldE9iamVjdFN1YmplY3QiOiI3MDAgdGVzdCBwcm9qZWN0IiwidGFyZ2V0T2JqZWN0U2VhcmNoQXV0aG9ySWRzIjpbMV0sInRhcmdldE9iamVjdEdyb3VwUGFyZW50Ijp7InR5cGUiOjYwMCwiaWQiOjE0MTZ9LCJhY3Rpdml0eVRlbmFudElkIjoiOTNlNTg4NGQtMDY4My00NDQzLWI5YzctYmRlNTYwNGNlNThhLWRldiIsInRhcmdldE9iamVjdEJvZHkiOiI3MDAtdGVzdC1wcm9qZWN0IDcwMCB0ZXN0IHByb2plY3QiLCJ0YXJnZXRPYmplY3RUYWdzIjpbXSwiYWN0aXZpdHlUaW1lWm9uZSI6IkFtZXJpY2EvVG9yb250byIsInRhcmdldE9iamVjdExvY2FsZSI6eyJsYW5ndWFnZSI6ImVuIiwiY291bnRyeSI6IiJ9LCJhY3Rpdml0eVR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LWJkZTU2MDRjZTU4YS1kZXYiLCJ0YXJnZXRPYmplY3RCb2R5IjoiTWFzdGVyIENvbnRyYWN0OiAwMDAwMjUxNTE3ICAgIFJlcXVlc3QgSUQ6IEE1MDAyMDAxMyAgQ1NBIEdyb3VwIENvbnRhY3Q6IEFybm
  at com.jivesoftware.service.common.http.ApacheHttpClient31BackedHttpClient.postJson(ApacheHttpClient31BackedHttpClient.java:67)
  at com.jivesoftware.service.tenant.SingleTenantServiceCallStatusHttpClient.postJson(SingleTenantServiceCallStatusHttpClient.java:48)
  at com.jivesoftware.service.activity.ingress.client.impl.http.HttpClientDeliveryCallback.deliver(HttpClientDeliveryCallback.java:62)
  at com.jivesoftware.service.phasedqueue.guaranteeddelivery.FileQueueBackGuaranteedDeliveryFactory$QueueProcessorPool$1.process(FileQueueBackGuaranteedDeliveryFactory.java:128)
  at com.jivesoftware.service.phasedqueue.processor.PhasedQueueProcessor.processBatch(PhasedQueueProcessor.java:83)
  at com.jivesoftware.service.phasedqueue.processor.PhasedQueueProcessor.run(PhasedQueueProcessor.java:73)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
  at java.util.concurrent.FutureTask.run(FutureTask.java:166)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:722)
Caused by: java.net.ConnectException: Connection refused
  at java.net.PlainSocketImpl.socketConnect(Native Method)
  at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
  at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
  at java.net.Socket.connect(Socket.java:579)
  at java.net.Socket.connect(Socket.java:528)
  at java.net.Socket.<init>(Socket.java:425)
  at java.net.Socket.<init>(Socket.java:280)
  at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
  at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
  at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)
  ... 1 more
2014-05-08 10:40:12,381 [pool-21-thread-1] [-1::REGULAR] INFO org.apache.commons.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused

 

 

This is happening as my search server is running fine. I have configured my jive instance to use the in premise search service located at localhost:30000.

 

Any hints will be much appreciated.

I am running jive 7.0.1.

Outcomes