Getting connection timed out error while connecting Event Hub

Hiteshkumar Chavda 6 Reputation points
2022-07-14T11:35:27.257+00:00

Hello All,

I am getting following error while sending or receiving any events on Configured Event Hub.

reactor.core.Exceptions$ErrorCallbackNotImplemented: com.azure.core.amqp.exception.AmqpException: Connection timed out: no further information, errorContext[NAMESPACE: myeventhub.servicebus.windows.net. ERROR CONTEXT: N/A]
Caused by: com.azure.core.amqp.exception.AmqpException: Connection timed out: no further information, errorContext[NAMESPACE: ecweventhub.servicebus.windows.net. ERROR CONTEXT: N/A]
at com.azure.core.amqp.implementation.ExceptionUtil.toException(ExceptionUtil.java:85)
at com.azure.core.amqp.implementation.handler.ConnectionHandler.notifyErrorContext(ConnectionHandler.java:332)
at com.azure.core.amqp.implementation.handler.ConnectionHandler.onTransportError(ConnectionHandler.java:235)
at org.apache.qpid.proton.engine.BaseHandler.handle(BaseHandler.java:191)
at org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:108)
at org.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:324)
at org.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:291)
at com.azure.core.amqp.implementation.ReactorExecutor.run(ReactorExecutor.java:91)
at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:68)
at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:28)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Could you please help me to find out the issue.

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
529 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruno Lucas 4,411 Reputation points MVP
    2022-07-15T05:00:51.937+00:00

    Hi @Hiteshkumar Chavda

    If your hub is receiving a feed from a source that is not code, you can try to scale that up and see if the problem disappear, like increasing Throughput units. Even if just to see if the problem disappear:
    https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-scalability

    if it is client code and the messages are large , you can try adjust some of those settings related to timeout:
    https://learn.microsoft.com/en-us/python/api/azure-eventhub/azure.eventhub.aio.eventhubproducerclient?view=azure-python

    Or if you are sending batches, reduce the batch size.

    0 comments No comments