Comments (8)
Thank you for your feedback. Tagging and routing to the team member best able to assist.
from azure-sdk-for-net.
@michael-eckhart-woellkart : By service contract, the Service Bus service will return a MessagingEntityNotFound
response if a queue does not exist. The client reflects this error. In your case, you are seeing timeouts because the client was unable to create a connection, authorize, create an AMQP link, and send the data within the 10 seconds that you provided when overriding the default TryTimeout
.
As a result, the end-to-end service operation did not complete, the service did not send its error response, and the client was therefore unable to observe and surface it. To verify the behavior, I'd suggest testing without changing the default TryTimeout
and using a single ServiceBusSender
instance.
from azure-sdk-for-net.
Hi @michael-eckhart-woellkart. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
from azure-sdk-for-net.
Hi @jsquire, thanks for the very fast response.
I just put the timeout to 10 seconds for testing, productive we use the default timeout and still have this issue (there we have more queues) and I think it should not be normal that checking if there is a queue takes more then 30 seconds.
One ServiceBusSender
does not work, as the ServiceBusSender
is only for one queue, and we have a lot of different queues.
from azure-sdk-for-net.
/unresolve
from azure-sdk-for-net.
@michael-eckhart-woellkart: You're sharing one connection across all of your senders, which is going to cause queueing of traffic to occur. You're also starting a large number of background processes, each of which are highly asynchronous and need to be scheduled. As there are no fairness guarantees with thread pool scheduling, it is possible that some of these will be waiting for a while. Much depends on your host environment. All of this is unrelated to the Azure SDK packages - it's how the .NET runtime and network stack work.
Depending on the state of your network, potential transient errors, and similar, it can sometimes take 30-60 seconds to establish the connection, perform auth, open an AMQP link, and complete a service operation. Given that your sample shares a connection, all of your senders are blocked on the first two steps completing, and then they'll race to complete the latter two. All of those stages are highly asynchronous and will be fighting for time to complete.
As stated, to test the base error condition, use a single sender pointed at a queue that does not exist and use the default TryTimeout
.
With respect to your scenario, if you are seeing timeouts that indicates that you are trying to do too much at once and the TryTimeout
is inadequate due to your high degree of concurrency. To mitigate this, I'd suggest either revising your implementation to control concurrency to a degree that is appropriate for your host environment or upping the TryTimeout
to a value that allows all of those concurrent operations to complete.
from azure-sdk-for-net.
Hi @michael-eckhart-woellkart. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
from azure-sdk-for-net.
Hi @michael-eckhart-woellkart, since you haven’t asked that we /unresolve
the issue, we’ll close this out. If you believe further discussion is needed, please add a comment /unresolve
to reopen the issue.
from azure-sdk-for-net.
Related Issues (20)
- [BUG] Clarification on Handling Escape Characters in Azure Key Vault Secrets HOT 3
- [FEATURE REQ] Restore include options in DefaultAzureCredentialOptions. HOT 12
- [QUERY] Controlling the "type" name of an OTEL activity in Application Insights HOT 4
- [FEATURE REQ] SqlDatabaseResource.ExportAsync() / DatabaseExportDefinition to allow Managed Identity HOT 4
- Does uploading files by azure core is supported HOT 3
- [BUG] Unable to use Multipart Form data content types with Azure Core functionalities. HOT 3
- [BUG] Provisioning of zone redundant Hyperscale database with geo backup redundancy is not supported. Zone redundant Hyperscale databases must use either zone or geo zone backup redundancy. HOT 2
- Azure AI Translation Text Samples Issue HOT 1
- [QUERY] Monitoring ServiceBusProcessor HOT 7
- [QUERY] How to reproduce the dependency behavior from the app insights SDK? HOT 8
- Using LogExporter to connect to AppInsights and set message and Custom Dimensions field HOT 7
- [BUG] Persistence check failed exception on Windows HOT 4
- [BUG] Azure.AI.OpenAI: Exceeding rate limits results in a retry which ends with 401 Unauthorized HOT 5
- [QUERY] Integrating Azure AD Token Authorization in .NET by passing authorization token HOT 4
- [BUG] - ACA Jobs - Stopping Job .Net SDK throwing The requested operation requires an element of type 'Object', but the target element has type 'String'. HOT 8
- [BUG] Azure Blob Storage upload threw InvalidQueryParameterValue when using SDK HOT 2
- Valid values for the ImageReference Properties HOT 1
- Type forward system events from Azure.Messaging.EventGrid to Azure.Messaging.EventGrid.SystemEvents
- My version is not in this enum HOT 7
- Add sample demonstrating publishing CNCF CloudEvent to Event Grid namespace topic
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-net.