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

Dapr client stopped processing events from event hub after a long idle time #2966

Closed
skbar50 opened this issue Jul 4, 2023 · 6 comments
Closed
Labels
kind/bug Something isn't working pinned Issue does not get stale
Milestone

Comments

@skbar50
Copy link

skbar50 commented Jul 4, 2023

Problem description

We are facing an issue with dapr. One of our application subscribes to an event hub. Recently we are observing the application stops receiving events from the event hub. The issue doesn't occur regularly. This usually happens if there is a long gap after the last event received.

The pod has some other functionalities which are working fine. Other pods make api calls running on this pod through dapr. That also works fine. Only the receiving of events doesn't work until we restart.

We are using dapr version 1.10.4.

What version of Dapr?

1.10.4

@skbar50 skbar50 added the kind/bug Something isn't working label Jul 4, 2023
@yaron2 yaron2 transferred this issue from dapr/dapr Jul 5, 2023
@mukundansundar mukundansundar added this to the v1.12 milestone Jul 5, 2023
@ItalyPaleAle
Copy link
Contributor

ItalyPaleAle commented Jul 6, 2023

@skbar50 could you please try with Dapr 1.11.1?

In the 1.11 branch we are using a newer, stable SDK for Azure Event Hubs and I suspect that will have fixed a lot of issues already.

@skbar50
Copy link
Author

skbar50 commented Jul 10, 2023

Thank you for your replies. We are in the process of upgrading to Dapr 1.11.1. I will let you know how this works out for us.

@berndverst
Copy link
Member

@skbar50 we are aware that Dapr 1.10.X may suffer from authentication tokens expiring after ~7 days which can cause events to not be processed. A decision was made not to backport this fix to 1.10.X in Dapr open source - though the fix has been available in Azure Container Apps and and the AKS extension with Dapr 1.10.8. Any Dapr 1.11.X release should mitigate this issue.

We included another EventHubs improvement in 1.11.2 that was just released (though we have never seen the issue this improves in the wild). I strongly recommend upgrading to 1.11.2 from 1.10.X due to massive amounts of improvements in stability for EventHubs (caused by switching to a completely Storage SDK, and several significant version upgrades of the EventHubs SDKs and amqp SDKs)

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Aug 23, 2023
@github-actions
Copy link

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 2023
@artursouza artursouza removed the stale label Oct 5, 2023
@artursouza artursouza modified the milestones: v1.12, v1.13 Oct 5, 2023
@artursouza artursouza added the pinned Issue does not get stale label Oct 5, 2023
@artursouza artursouza reopened this Oct 5, 2023
@ItalyPaleAle ItalyPaleAle modified the milestones: v1.13, v1.14 Feb 26, 2024
@ItalyPaleAle
Copy link
Contributor

Fixed by #3344

@ItalyPaleAle ItalyPaleAle modified the milestones: v1.14, v1.13 Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working pinned Issue does not get stale
Projects
None yet
Development

No branches or pull requests

5 participants