Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to consumer after changing deployment server #147

Open
afrancoc2000 opened this issue Jul 12, 2018 · 0 comments
Open

Unable to connect to consumer after changing deployment server #147

afrancoc2000 opened this issue Jul 12, 2018 · 0 comments

Comments

@afrancoc2000
Copy link

Hi,

I'm getting this exception after I moved my app to a different server

[ERROR] [07/12/2018 08:36:19.965] [rt-diario-op-rabbit.default-channel-dispatcher-30] [akka://rt-diario/user/rabbit-control/subscription-seguros.cuadre.reintegro.generado-7/consumer] Recovery strategy failed, or something else went horribly wrong; Nacking with requeue = true, then shutting consumer down.
java.util.concurrent.TimeoutException: Futures timed out after [5 minutes]
	at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:219)
	at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:223)
	at scala.concurrent.Await$$anonfun$result$1.apply(package.scala:190)
	at akka.dispatch.MonitorableThreadFactory$AkkaForkJoinWorkerThread$$anon$3.block(ThreadPoolBuilder.scala:167)
	at akka.dispatch.forkjoin.ForkJoinPool.managedBlock(ForkJoinPool.java:3641)
	at akka.dispatch.MonitorableThreadFactory$AkkaForkJoinWorkerThread.blockOn(ThreadPoolBuilder.scala:165)
	at scala.concurrent.Await$.result(package.scala:190)
	at com.spingo.op_rabbit.impl.AsyncAckingRabbitConsumer.liftedTree1$1(AsyncAckingRabbitConsumer.scala:179)
	at com.spingo.op_rabbit.impl.AsyncAckingRabbitConsumer.handleAckOrNack(AsyncAckingRabbitConsumer.scala:178)
	at com.spingo.op_rabbit.impl.AsyncAckingRabbitConsumer$$anonfun$connected$1.applyOrElse(AsyncAckingRabbitConsumer.scala:85)
	at akka.actor.Actor$class.aroundReceive(Actor.scala:517)
	at com.spingo.op_rabbit.impl.AsyncAckingRabbitConsumer.aroundReceive(AsyncAckingRabbitConsumer.scala:21)
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:527)
	at akka.actor.ActorCell.invoke(ActorCell.scala:496)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
	at akka.dispatch.Mailbox.run(Mailbox.scala:224)
	at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
	at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

The exception doesn't say much, basically it timed out but I'm not sure where, if it is the consumer, does this means the connection started? I can connect from other servers and process my messages using the same app

I'm a little lost what should I check? What could be the problem?

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant