-
Notifications
You must be signed in to change notification settings - Fork 452
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
Service Bus QuotaExceededException prevents host from starting #770
Comments
Update: it turns out I was using the wrong connection string. I specified my Event Hub connection string when I should have been using my Service Bus connection string. Nevertheless, I still expect that this kind of configuration mistake would not prevent the entire host from starting. The error message was a bit misleading, but I do wonder whether a real quota exception might have the same effect of killing the host. |
It does look like the same root issue as #635. |
Yes, in general any errors happening during host startup or from startup of the various listeners for the functions will prevent the host from starting. This is how the underlying core WebJobs SDK JobHost has always worked. It would require some redesign/rework in the core SDK to change this behavior. |
@cgillum What was the user error that led to choosing the wrong connection string? We're trying to see how likely it will be that other customers will run into it. |
I was configuring it using app settings and copied the connection string from the wrong resource in the portal. Event Hub and Service Bus connection strings look very similar (same underlying platform and client SDK), so I'm not too surprised I made this mistake. From: Donna Malayeri notifications@github.com @cgillumhttps://github.com/cgillum What was the user error that led to choosing the wrong connection string? We're trying to see how likely it will be that other customers will run into it. You are receiving this because you were mentioned. |
Closing since this its not related to host. Following up over email. |
I have a function app with multiple functions. One of them has a Service Bus queue trigger. For some reason calls to the queue fail with QuotaExceededException (details below). This exception in the queue listener is causing the entire host to fail.
Repro steps
Provide the steps required to reproduce the problem
Expected behavior
I would expect to be unable to run my Service Bus function. However, I would expect all other trigger types to continue running as they did before.
Actual behavior
Host fails to start and none of my triggers run (including my timer trigger). Here is the relevant exception call stack in the host log file.
Known workarounds
I probably need to fix my Service Bus subscription to get rid of the quota problem.
Related information
Possibly related issue (about listener startup failure behavior): #635
The text was updated successfully, but these errors were encountered: