{"payload":{"allShortcutsEnabled":false,"fileTree":{"sdk/servicebus/Azure.Messaging.ServiceBus":{"items":[{"name":"api","path":"sdk/servicebus/Azure.Messaging.ServiceBus/api","contentType":"directory"},{"name":"assets","path":"sdk/servicebus/Azure.Messaging.ServiceBus/assets","contentType":"directory"},{"name":"perf","path":"sdk/servicebus/Azure.Messaging.ServiceBus/perf","contentType":"directory"},{"name":"samples","path":"sdk/servicebus/Azure.Messaging.ServiceBus/samples","contentType":"directory"},{"name":"src","path":"sdk/servicebus/Azure.Messaging.ServiceBus/src","contentType":"directory"},{"name":"stress","path":"sdk/servicebus/Azure.Messaging.ServiceBus/stress","contentType":"directory"},{"name":"tests","path":"sdk/servicebus/Azure.Messaging.ServiceBus/tests","contentType":"directory"},{"name":"Azure.Messaging.ServiceBus.sln","path":"sdk/servicebus/Azure.Messaging.ServiceBus/Azure.Messaging.ServiceBus.sln","contentType":"file"},{"name":"CHANGELOG.md","path":"sdk/servicebus/Azure.Messaging.ServiceBus/CHANGELOG.md","contentType":"file"},{"name":"CONTRIBUTING.md","path":"sdk/servicebus/Azure.Messaging.ServiceBus/CONTRIBUTING.md","contentType":"file"},{"name":"Directory.Build.props","path":"sdk/servicebus/Azure.Messaging.ServiceBus/Directory.Build.props","contentType":"file"},{"name":"MigrationGuide.md","path":"sdk/servicebus/Azure.Messaging.ServiceBus/MigrationGuide.md","contentType":"file"},{"name":"MigrationGuide_WindowsAzureServiceBus.md","path":"sdk/servicebus/Azure.Messaging.ServiceBus/MigrationGuide_WindowsAzureServiceBus.md","contentType":"file"},{"name":"README.md","path":"sdk/servicebus/Azure.Messaging.ServiceBus/README.md","contentType":"file"},{"name":"TROUBLESHOOTING.md","path":"sdk/servicebus/Azure.Messaging.ServiceBus/TROUBLESHOOTING.md","contentType":"file"},{"name":"assets.json","path":"sdk/servicebus/Azure.Messaging.ServiceBus/assets.json","contentType":"file"}],"totalCount":16},"sdk/servicebus":{"items":[{"name":"Azure.Messaging.ServiceBus","path":"sdk/servicebus/Azure.Messaging.ServiceBus","contentType":"directory"},{"name":"Azure.ResourceManager.ServiceBus","path":"sdk/servicebus/Azure.ResourceManager.ServiceBus","contentType":"directory"},{"name":"Microsoft.Azure.Management.ServiceBus","path":"sdk/servicebus/Microsoft.Azure.Management.ServiceBus","contentType":"directory"},{"name":"Microsoft.Azure.ServiceBus","path":"sdk/servicebus/Microsoft.Azure.ServiceBus","contentType":"directory"},{"name":"Microsoft.Azure.WebJobs.Extensions.ServiceBus","path":"sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus","contentType":"directory"},{"name":"ci.data.yml","path":"sdk/servicebus/ci.data.yml","contentType":"file"},{"name":"ci.mgmt.yml","path":"sdk/servicebus/ci.mgmt.yml","contentType":"file"},{"name":"ci.yml","path":"sdk/servicebus/ci.yml","contentType":"file"},{"name":"service.projects","path":"sdk/servicebus/service.projects","contentType":"file"},{"name":"test-resources-post.ps1","path":"sdk/servicebus/test-resources-post.ps1","contentType":"file"},{"name":"test-resources.json","path":"sdk/servicebus/test-resources.json","contentType":"file"},{"name":"tests.data.yml","path":"sdk/servicebus/tests.data.yml","contentType":"file"},{"name":"tests.yml","path":"sdk/servicebus/tests.yml","contentType":"file"}],"totalCount":13},"sdk":{"items":[{"name":"advisor","path":"sdk/advisor","contentType":"directory"},{"name":"agrifood","path":"sdk/agrifood","contentType":"directory"},{"name":"alertsmanagement","path":"sdk/alertsmanagement","contentType":"directory"},{"name":"analysisservices","path":"sdk/analysisservices","contentType":"directory"},{"name":"anomalydetector","path":"sdk/anomalydetector","contentType":"directory"},{"name":"apimanagement","path":"sdk/apimanagement","contentType":"directory"},{"name":"appcomplianceautomation","path":"sdk/appcomplianceautomation","contentType":"directory"},{"name":"appconfiguration","path":"sdk/appconfiguration","contentType":"directory"},{"name":"applicationinsights","path":"sdk/applicationinsights","contentType":"directory"},{"name":"appplatform","path":"sdk/appplatform","contentType":"directory"},{"name":"arc-scvmm","path":"sdk/arc-scvmm","contentType":"directory"},{"name":"attestation","path":"sdk/attestation","contentType":"directory"},{"name":"authorization","path":"sdk/authorization","contentType":"directory"},{"name":"automanage","path":"sdk/automanage","contentType":"directory"},{"name":"automation","path":"sdk/automation","contentType":"directory"},{"name":"avs","path":"sdk/avs","contentType":"directory"},{"name":"azurestack","path":"sdk/azurestack","contentType":"directory"},{"name":"azurestackhci","path":"sdk/azurestackhci","contentType":"directory"},{"name":"batch","path":"sdk/batch","contentType":"directory"},{"name":"batchai","path":"sdk/batchai","contentType":"directory"},{"name":"billing","path":"sdk/billing","contentType":"directory"},{"name":"billingbenefits","path":"sdk/billingbenefits","contentType":"directory"},{"name":"blueprint","path":"sdk/blueprint","contentType":"directory"},{"name":"botservice","path":"sdk/botservice","contentType":"directory"},{"name":"cdn","path":"sdk/cdn","contentType":"directory"},{"name":"changeanalysis","path":"sdk/changeanalysis","contentType":"directory"},{"name":"chaos","path":"sdk/chaos","contentType":"directory"},{"name":"cognitivelanguage","path":"sdk/cognitivelanguage","contentType":"directory"},{"name":"cognitiveservices","path":"sdk/cognitiveservices","contentType":"directory"},{"name":"communication","path":"sdk/communication","contentType":"directory"},{"name":"compute","path":"sdk/compute","contentType":"directory"},{"name":"confidentialledger","path":"sdk/confidentialledger","contentType":"directory"},{"name":"confluent","path":"sdk/confluent","contentType":"directory"},{"name":"connectedvmwarevsphere","path":"sdk/connectedvmwarevsphere","contentType":"directory"},{"name":"consumption","path":"sdk/consumption","contentType":"directory"},{"name":"containerapps","path":"sdk/containerapps","contentType":"directory"},{"name":"containerinstance","path":"sdk/containerinstance","contentType":"directory"},{"name":"containerregistry","path":"sdk/containerregistry","contentType":"directory"},{"name":"containerservice","path":"sdk/containerservice","contentType":"directory"},{"name":"contentsafety","path":"sdk/contentsafety","contentType":"directory"},{"name":"core","path":"sdk/core","contentType":"directory"},{"name":"cosmosdb","path":"sdk/cosmosdb","contentType":"directory"},{"name":"cosmosdbforpostgresql","path":"sdk/cosmosdbforpostgresql","contentType":"directory"},{"name":"costmanagement","path":"sdk/costmanagement","contentType":"directory"},{"name":"customer-insights","path":"sdk/customer-insights","contentType":"directory"},{"name":"customproviders","path":"sdk/customproviders","contentType":"directory"},{"name":"databox","path":"sdk/databox","contentType":"directory"},{"name":"databoxedge","path":"sdk/databoxedge","contentType":"directory"},{"name":"datadog","path":"sdk/datadog","contentType":"directory"},{"name":"datafactory","path":"sdk/datafactory","contentType":"directory"},{"name":"datalake-analytics","path":"sdk/datalake-analytics","contentType":"directory"},{"name":"datalake-store","path":"sdk/datalake-store","contentType":"directory"},{"name":"datamigration","path":"sdk/datamigration","contentType":"directory"},{"name":"dataprotection","path":"sdk/dataprotection","contentType":"directory"},{"name":"datashare","path":"sdk/datashare","contentType":"directory"},{"name":"deploymentmanager","path":"sdk/deploymentmanager","contentType":"directory"},{"name":"desktopvirtualization","path":"sdk/desktopvirtualization","contentType":"directory"},{"name":"devcenter","path":"sdk/devcenter","contentType":"directory"},{"name":"deviceprovisioningservices","path":"sdk/deviceprovisioningservices","contentType":"directory"},{"name":"deviceupdate","path":"sdk/deviceupdate","contentType":"directory"},{"name":"devspaces","path":"sdk/devspaces","contentType":"directory"},{"name":"devtestlabs","path":"sdk/devtestlabs","contentType":"directory"},{"name":"digitaltwins","path":"sdk/digitaltwins","contentType":"directory"},{"name":"dns","path":"sdk/dns","contentType":"directory"},{"name":"dnsresolver","path":"sdk/dnsresolver","contentType":"directory"},{"name":"dynatrace","path":"sdk/dynatrace","contentType":"directory"},{"name":"edgegateway","path":"sdk/edgegateway","contentType":"directory"},{"name":"edgeorder","path":"sdk/edgeorder","contentType":"directory"},{"name":"elastic","path":"sdk/elastic","contentType":"directory"},{"name":"elasticsan","path":"sdk/elasticsan","contentType":"directory"},{"name":"eng","path":"sdk/eng","contentType":"directory"},{"name":"entra","path":"sdk/entra","contentType":"directory"},{"name":"eventgrid","path":"sdk/eventgrid","contentType":"directory"},{"name":"eventhub","path":"sdk/eventhub","contentType":"directory"},{"name":"extendedlocation","path":"sdk/extendedlocation","contentType":"directory"},{"name":"extensions","path":"sdk/extensions","contentType":"directory"},{"name":"fluidrelay","path":"sdk/fluidrelay","contentType":"directory"},{"name":"formrecognizer","path":"sdk/formrecognizer","contentType":"directory"},{"name":"frontdoor","path":"sdk/frontdoor","contentType":"directory"},{"name":"grafana","path":"sdk/grafana","contentType":"directory"},{"name":"graphrbac","path":"sdk/graphrbac","contentType":"directory"},{"name":"graphservices","path":"sdk/graphservices","contentType":"directory"},{"name":"guestconfiguration","path":"sdk/guestconfiguration","contentType":"directory"},{"name":"hdinsight","path":"sdk/hdinsight","contentType":"directory"},{"name":"healthbot","path":"sdk/healthbot","contentType":"directory"},{"name":"healthcareapis","path":"sdk/healthcareapis","contentType":"directory"},{"name":"healthinsights","path":"sdk/healthinsights","contentType":"directory"},{"name":"hybridaks","path":"sdk/hybridaks","contentType":"directory"},{"name":"hybridcompute","path":"sdk/hybridcompute","contentType":"directory"},{"name":"hybridconnectivity","path":"sdk/hybridconnectivity","contentType":"directory"},{"name":"hybriddatamanager","path":"sdk/hybriddatamanager","contentType":"directory"},{"name":"hybridkubernetes","path":"sdk/hybridkubernetes","contentType":"directory"},{"name":"identity","path":"sdk/identity","contentType":"directory"},{"name":"insights","path":"sdk/insights","contentType":"directory"},{"name":"iot","path":"sdk/iot","contentType":"directory"},{"name":"iotcentral","path":"sdk/iotcentral","contentType":"directory"},{"name":"iothub","path":"sdk/iothub","contentType":"directory"},{"name":"keyvault","path":"sdk/keyvault","contentType":"directory"},{"name":"kubernetesconfiguration","path":"sdk/kubernetesconfiguration","contentType":"directory"},{"name":"kusto","path":"sdk/kusto","contentType":"directory"},{"name":"labservices","path":"sdk/labservices","contentType":"directory"},{"name":"loadtestservice","path":"sdk/loadtestservice","contentType":"directory"},{"name":"locationbasedservices","path":"sdk/locationbasedservices","contentType":"directory"},{"name":"logic","path":"sdk/logic","contentType":"directory"},{"name":"logz","path":"sdk/logz","contentType":"directory"},{"name":"machinelearning","path":"sdk/machinelearning","contentType":"directory"},{"name":"machinelearningcompute","path":"sdk/machinelearningcompute","contentType":"directory"},{"name":"machinelearningservices","path":"sdk/machinelearningservices","contentType":"directory"},{"name":"maintenance","path":"sdk/maintenance","contentType":"directory"},{"name":"managednetwork","path":"sdk/managednetwork","contentType":"directory"},{"name":"managednetworkfabric","path":"sdk/managednetworkfabric","contentType":"directory"},{"name":"managedserviceidentity","path":"sdk/managedserviceidentity","contentType":"directory"},{"name":"managedservices","path":"sdk/managedservices","contentType":"directory"},{"name":"managementgroups","path":"sdk/managementgroups","contentType":"directory"},{"name":"managementpartner","path":"sdk/managementpartner","contentType":"directory"},{"name":"maps","path":"sdk/maps","contentType":"directory"},{"name":"marketplace","path":"sdk/marketplace","contentType":"directory"},{"name":"marketplaceordering","path":"sdk/marketplaceordering","contentType":"directory"},{"name":"mediaservices","path":"sdk/mediaservices","contentType":"directory"},{"name":"metricsadvisor","path":"sdk/metricsadvisor","contentType":"directory"},{"name":"mgmtcommon","path":"sdk/mgmtcommon","contentType":"directory"},{"name":"mixedreality","path":"sdk/mixedreality","contentType":"directory"},{"name":"mobilenetwork","path":"sdk/mobilenetwork","contentType":"directory"},{"name":"modelsrepository","path":"sdk/modelsrepository","contentType":"directory"},{"name":"monitor","path":"sdk/monitor","contentType":"directory"},{"name":"mysql","path":"sdk/mysql","contentType":"directory"},{"name":"netapp","path":"sdk/netapp","contentType":"directory"},{"name":"network","path":"sdk/network","contentType":"directory"},{"name":"networkcloud","path":"sdk/networkcloud","contentType":"directory"},{"name":"networkfunction","path":"sdk/networkfunction","contentType":"directory"},{"name":"newrelicobservability","path":"sdk/newrelicobservability","contentType":"directory"},{"name":"nginx","path":"sdk/nginx","contentType":"directory"},{"name":"notificationhubs","path":"sdk/notificationhubs","contentType":"directory"},{"name":"objectanchors","path":"sdk/objectanchors","contentType":"directory"},{"name":"openai","path":"sdk/openai","contentType":"directory"},{"name":"openenergyplatform","path":"sdk/openenergyplatform","contentType":"directory"},{"name":"operationalinsights","path":"sdk/operationalinsights","contentType":"directory"},{"name":"orbital","path":"sdk/orbital","contentType":"directory"},{"name":"paloaltonetworks.ngfw","path":"sdk/paloaltonetworks.ngfw","contentType":"directory"},{"name":"peering","path":"sdk/peering","contentType":"directory"},{"name":"personalizer","path":"sdk/personalizer","contentType":"directory"},{"name":"policyinsights","path":"sdk/policyinsights","contentType":"directory"},{"name":"postgresql","path":"sdk/postgresql","contentType":"directory"},{"name":"powerbidedicated","path":"sdk/powerbidedicated","contentType":"directory"},{"name":"privatedns","path":"sdk/privatedns","contentType":"directory"},{"name":"providerhub","path":"sdk/providerhub","contentType":"directory"},{"name":"purview","path":"sdk/purview","contentType":"directory"},{"name":"quantum","path":"sdk/quantum","contentType":"directory"},{"name":"qumulo","path":"sdk/qumulo","contentType":"directory"},{"name":"quota","path":"sdk/quota","contentType":"directory"},{"name":"recoveryservices-backup","path":"sdk/recoveryservices-backup","contentType":"directory"},{"name":"recoveryservices-siterecovery","path":"sdk/recoveryservices-siterecovery","contentType":"directory"},{"name":"recoveryservices","path":"sdk/recoveryservices","contentType":"directory"},{"name":"redis","path":"sdk/redis","contentType":"directory"},{"name":"redisenterprise","path":"sdk/redisenterprise","contentType":"directory"},{"name":"relay","path":"sdk/relay","contentType":"directory"},{"name":"remoterendering","path":"sdk/remoterendering","contentType":"directory"},{"name":"reservations","path":"sdk/reservations","contentType":"directory"},{"name":"resourcegraph","path":"sdk/resourcegraph","contentType":"directory"},{"name":"resourcehealth","path":"sdk/resourcehealth","contentType":"directory"},{"name":"resourcemanager","path":"sdk/resourcemanager","contentType":"directory"},{"name":"resourcemover","path":"sdk/resourcemover","contentType":"directory"},{"name":"resources","path":"sdk/resources","contentType":"directory"},{"name":"scheduler","path":"sdk/scheduler","contentType":"directory"},{"name":"schemaregistry","path":"sdk/schemaregistry","contentType":"directory"},{"name":"search","path":"sdk/search","contentType":"directory"},{"name":"securitycenter","path":"sdk/securitycenter","contentType":"directory"},{"name":"securitydevops","path":"sdk/securitydevops","contentType":"directory"},{"name":"securityinsights","path":"sdk/securityinsights","contentType":"directory"},{"name":"selfhelp","path":"sdk/selfhelp","contentType":"directory"},{"name":"servermanagement","path":"sdk/servermanagement","contentType":"directory"},{"name":"servicebus","path":"sdk/servicebus","contentType":"directory"},{"name":"servicefabric","path":"sdk/servicefabric","contentType":"directory"},{"name":"servicefabricmanagedclusters","path":"sdk/servicefabricmanagedclusters","contentType":"directory"},{"name":"servicelinker","path":"sdk/servicelinker","contentType":"directory"},{"name":"servicenetworking","path":"sdk/servicenetworking","contentType":"directory"},{"name":"signalr","path":"sdk/signalr","contentType":"directory"},{"name":"sphere","path":"sdk/sphere","contentType":"directory"},{"name":"sqlmanagement","path":"sdk/sqlmanagement","contentType":"directory"},{"name":"sqlvirtualmachine","path":"sdk/sqlvirtualmachine","contentType":"directory"},{"name":"storage","path":"sdk/storage","contentType":"directory"},{"name":"storagecache","path":"sdk/storagecache","contentType":"directory"},{"name":"storagemover","path":"sdk/storagemover","contentType":"directory"},{"name":"storagepool","path":"sdk/storagepool","contentType":"directory"},{"name":"storagesync","path":"sdk/storagesync","contentType":"directory"},{"name":"storsimple","path":"sdk/storsimple","contentType":"directory"},{"name":"streamanalytics","path":"sdk/streamanalytics","contentType":"directory"},{"name":"subscription","path":"sdk/subscription","contentType":"directory"},{"name":"support","path":"sdk/support","contentType":"directory"},{"name":"synapse","path":"sdk/synapse","contentType":"directory"},{"name":"tables","path":"sdk/tables","contentType":"directory"},{"name":"template","path":"sdk/template","contentType":"directory"},{"name":"textanalytics","path":"sdk/textanalytics","contentType":"directory"},{"name":"timeseriesinsights","path":"sdk/timeseriesinsights","contentType":"directory"},{"name":"trafficmanager","path":"sdk/trafficmanager","contentType":"directory"},{"name":"translation","path":"sdk/translation","contentType":"directory"},{"name":"videoanalyzer","path":"sdk/videoanalyzer","contentType":"directory"},{"name":"voiceservices","path":"sdk/voiceservices","contentType":"directory"},{"name":"webpubsub","path":"sdk/webpubsub","contentType":"directory"},{"name":"websites","path":"sdk/websites","contentType":"directory"},{"name":"workloadmonitor","path":"sdk/workloadmonitor","contentType":"directory"},{"name":"workloads","path":"sdk/workloads","contentType":"directory"}],"totalCount":202},"":{"items":[{"name":".config","path":".config","contentType":"directory"},{"name":".devcontainer","path":".devcontainer","contentType":"directory"},{"name":".github","path":".github","contentType":"directory"},{"name":".vscode","path":".vscode","contentType":"directory"},{"name":"common","path":"common","contentType":"directory"},{"name":"doc","path":"doc","contentType":"directory"},{"name":"eng","path":"eng","contentType":"directory"},{"name":"samples","path":"samples","contentType":"directory"},{"name":"sdk","path":"sdk","contentType":"directory"},{"name":"tools","path":"tools","contentType":"directory"},{"name":".editorconfig","path":".editorconfig","contentType":"file"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".vsconfig","path":".vsconfig","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"Directory.Build.props","path":"Directory.Build.props","contentType":"file"},{"name":"Directory.Build.targets","path":"Directory.Build.targets","contentType":"file"},{"name":"LICENSE.txt","path":"LICENSE.txt","contentType":"file"},{"name":"NOTICE.txt","path":"NOTICE.txt","contentType":"file"},{"name":"NuGet.Config","path":"NuGet.Config","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"SECURITY.md","path":"SECURITY.md","contentType":"file"},{"name":"SUPPORT.md","path":"SUPPORT.md","contentType":"file"},{"name":"build.proj","path":"build.proj","contentType":"file"},{"name":"global.json","path":"global.json","contentType":"file"},{"name":"mgmt.proj","path":"mgmt.proj","contentType":"file"},{"name":"swagger_to_sdk_config.json","path":"swagger_to_sdk_config.json","contentType":"file"}],"totalCount":27}},"fileTreeProcessingTime":19.528811,"foldersToFetch":[],"reducedMotionEnabled":null,"repo":{"id":2928944,"defaultBranch":"main","name":"azure-sdk-for-net","ownerLogin":"Azure","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2011-12-06T23:32:47.000Z","ownerAvatar":"https://web.archive.org/web/20230813063331/https://avatars.githubusercontent.com/u/6844498?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"main","listCacheKey":"v0:1691791061.0","canEdit":false,"refType":"branch","currentOid":"7afdcb19b264a9f83ac23eb3e6f4cd8c19d153c5"},"path":"sdk/servicebus/Azure.Messaging.ServiceBus/TROUBLESHOOTING.md","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/Azure/azure-sdk-for-net/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null,"repoAlertsPath":"/Azure/azure-sdk-for-net/security/dependabot","repoSecurityAndAnalysisPath":"/Azure/azure-sdk-for-net/settings/security_analysis","repoOwnerIsOrg":true,"currentUserCanAdminRepo":false},"displayName":"TROUBLESHOOTING.md","displayUrl":"https://web.archive.org/web/20230813063331/https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/servicebus/Azure.Messaging.ServiceBus/TROUBLESHOOTING.md?raw=true","headerInfo":{"blobSize":"34.6 KB","deleteInfo":{"deleteTooltip":"You must be signed in to make or propose changes"},"editInfo":{"editTooltip":"You must be signed in to make or propose changes"},"ghDesktopPath":"https://web.archive.org/web/20230813063331/https://desktop.github.com","gitLfsPath":null,"onBranch":true,"shortPath":"0c3e8fa","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sdk-for-net%2Fblob%2Fmain%2Fsdk%2Fservicebus%2FAzure.Messaging.ServiceBus%2FTROUBLESHOOTING.md","isCSV":false,"isRichtext":true,"toc":[{"level":1,"text":"Troubleshooting Service Bus issues","anchor":"troubleshooting-service-bus-issues","htmlText":"Troubleshooting Service Bus issues"},{"level":2,"text":"Table of contents","anchor":"table-of-contents","htmlText":"Table of contents"},{"level":2,"text":"Handle Service Bus Exceptions","anchor":"handle-service-bus-exceptions","htmlText":"Handle Service Bus Exceptions"},{"level":3,"text":"Find information about a ServiceBusException","anchor":"find-information-about-a-servicebusexception","htmlText":"Find information about a ServiceBusException"},{"level":3,"text":"Other common exceptions","anchor":"other-common-exceptions","htmlText":"Other common exceptions"},{"level":2,"text":"Permissions issues","anchor":"permissions-issues","htmlText":"Permissions issues"},{"level":2,"text":"Connectivity issues","anchor":"connectivity-issues","htmlText":"Connectivity issues"},{"level":3,"text":"Timeout when connecting to service","anchor":"timeout-when-connecting-to-service","htmlText":"Timeout when connecting to service"},{"level":3,"text":"SSL handshake failures","anchor":"ssl-handshake-failures","htmlText":"SSL handshake failures"},{"level":3,"text":"Socket exhaustion errors","anchor":"socket-exhaustion-errors","htmlText":"Socket exhaustion errors"},{"level":3,"text":"Adding components to the connection string does not work","anchor":"adding-components-to-the-connection-string-does-not-work","htmlText":"Adding components to the connection string does not work"},{"level":4,"text":"\"TransportType=AmqpWebSockets\" Alternative","anchor":"transporttypeamqpwebsockets-alternative","htmlText":"\"TransportType=AmqpWebSockets\" Alternative"},{"level":4,"text":"\"Authentication=Managed Identity\" Alternative","anchor":"authenticationmanaged-identity-alternative","htmlText":"\"Authentication=Managed Identity\" Alternative"},{"level":2,"text":"Logging and diagnostics","anchor":"logging-and-diagnostics","htmlText":"Logging and diagnostics"},{"level":3,"text":"Enable logging","anchor":"enable-logging","htmlText":"Enable logging"},{"level":3,"text":"Distributed tracing","anchor":"distributed-tracing","htmlText":"Distributed tracing"},{"level":2,"text":"Troubleshoot sender issues","anchor":"troubleshoot-sender-issues","htmlText":"Troubleshoot sender issues"},{"level":3,"text":"Cannot send batch with multiple partition keys","anchor":"cannot-send-batch-with-multiple-partition-keys","htmlText":"Cannot send batch with multiple partition keys"},{"level":3,"text":"Batch fails to send","anchor":"batch-fails-to-send","htmlText":"Batch fails to send"},{"level":2,"text":"Troubleshoot receiver issues","anchor":"troubleshoot-receiver-issues","htmlText":"Troubleshoot receiver issues"},{"level":3,"text":"Number of messages returned does not match number requested in batch receive","anchor":"number-of-messages-returned-does-not-match-number-requested-in-batch-receive","htmlText":"Number of messages returned does not match number requested in batch receive"},{"level":3,"text":"Message or session lock is lost before lock expiration time","anchor":"message-or-session-lock-is-lost-before-lock-expiration-time","htmlText":"Message or session lock is lost before lock expiration time"},{"level":3,"text":"How to browse scheduled or deferred messages","anchor":"how-to-browse-scheduled-or-deferred-messages","htmlText":"How to browse scheduled or deferred messages"},{"level":3,"text":"How to browse session messages across all sessions","anchor":"how-to-browse-session-messages-across-all-sessions","htmlText":"How to browse session messages across all sessions"},{"level":3,"text":"NotSupportedException thrown when accessing message body","anchor":"notsupportedexception-thrown-when-accessing-message-body","htmlText":"NotSupportedException thrown when accessing message body"},{"level":2,"text":"Troubleshoot processor issues","anchor":"troubleshoot-processor-issues","htmlText":"Troubleshoot processor issues"},{"level":3,"text":"Autolock renewal is not working","anchor":"autolock-renewal-is-not-working","htmlText":"Autolock renewal is not working"},{"level":3,"text":"Processor appears to hang or have latency issues when using high concurrency","anchor":"processor-appears-to-hang-or-have-latency-issues-when-using-high-concurrency","htmlText":"Processor appears to hang or have latency issues when using high concurrency"},{"level":3,"text":"Session processor takes too long to switch sessions","anchor":"session-processor-takes-too-long-to-switch-sessions","htmlText":"Session processor takes too long to switch sessions"},{"level":3,"text":"Processor stops immediately","anchor":"processor-stops-immediately","htmlText":"Processor stops immediately"},{"level":2,"text":"Troubleshoot transactions","anchor":"troubleshoot-transactions","htmlText":"Troubleshoot transactions"},{"level":3,"text":"Supported operations","anchor":"supported-operations","htmlText":"Supported operations"},{"level":3,"text":"Timeout","anchor":"timeout","htmlText":"Timeout"},{"level":3,"text":"Operations in a transaction are not retried","anchor":"operations-in-a-transaction-are-not-retried","htmlText":"Operations in a transaction are not retried"},{"level":3,"text":"Transactions across entities are not working","anchor":"transactions-across-entities-are-not-working","htmlText":"Transactions across entities are not working"},{"level":2,"text":"Quotas","anchor":"quotas","htmlText":"Quotas"}],"lineInfo":{"truncatedLoc":"338","truncatedSloc":"226"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplateHelpUrl":"https://web.archive.org/web/20230813063331/https://docs.github.com/articles/about-issue-and-pull-request-templates","issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"loggedIn":false,"newDiscussionPath":"/Azure/azure-sdk-for-net/discussions/new","newIssuePath":"/Azure/azure-sdk-for-net/issues/new","planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/Azure/azure-sdk-for-net/blob/main/sdk/servicebus/Azure.Messaging.ServiceBus/TROUBLESHOOTING.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","dismissStackNoticePath":"/settings/dismiss-notice/publish_stack_from_file","releasePath":"/Azure/azure-sdk-for-net/releases/new?marketplace=true","showPublishActionBanner":false,"showPublishStackBanner":false},"renderImageOrRaw":false,"richText":"

Troubleshooting Service Bus issues

\n

This troubleshooting guide covers failure investigation techniques, common errors for the credential types in the Azure Service Bus .NET client library, and mitigation steps to resolve these errors.

\n

Table of contents

\n\n

Handle Service Bus Exceptions

\n

The Service Bus client library will surface exceptions when an error is encountered by a service operation or within the client. When possible, standard .NET exception types are used to convey error information. For scenarios specific to Service Bus, a ServiceBusException is thrown; this is the most common exception type that applications will encounter.

\n

The Service Bus clients will automatically retry exceptions that are considered transient, following the configured retry options. When an exception is surfaced to the application, either all retries were applied unsuccessfully, or the exception was considered non-transient. More information on configuring retry options can be found in the Customizing the retry options sample.

\n

For more information on Service Bus error scenarios and recommended ways to resolve them, please see the Service Bus Messaging Exceptions guidance.

\n

Find information about a ServiceBusException

\n

The exception includes some contextual information to assist in understanding the context of the error and its relative severity. These are:

\n\n

As an example of how to handle a ServiceBusException and filter by the Reason, see the following:

\n
try\n{\n    // Receive messages using the receiver client\n}\ncatch (ServiceBusException ex) when\n    (ex.Reason == ServiceBusFailureReason.ServiceTimeout)\n{\n    // Take action based on a service timeout\n}
\n

Other common exceptions

\n\n

Permissions issues

\n

An UnauthorizedAccessException indicates that the provided credentials do not allow for the requested action to be performed. The Message property contains details about the failure.

\n

The following verification steps are recommended, depending on the type of authorization provided when constructing the ServiceBusClient:

\n\n

For more possible solutions, see: Troubleshooting guide for Azure Service Bus.

\n

Connectivity issues

\n

Timeout when connecting to service

\n

Depending on the host environment and network, this may present to applications as either a TimeoutException, OperationCanceledException, or a ServiceBusException with Reason of ServiceTimeout and most often occurs when the client cannot find a network path to the service.

\n

To troubleshoot:

\n\n

SSL handshake failures

\n

This error can occur when an intercepting proxy is used. To verify, it is recommended that the application be tested in the host environment with the proxy disabled.

\n

Socket exhaustion errors

\n

Applications should prefer treating the Service Bus types as singletons, creating and using a single instance through the lifetime of the application. Each new ServiceBusClient created results in a new AMQP connection, which uses a socket. The ServiceBusClient type manages the connection for all types created from that instance. Each ServiceBusReceiver, ServiceBusSessionReceiver, ServiceBusSender, and ServiceBusProcessor manages its own AMQP link for the associated Service Bus entity. When using a ServiceBusSessionProcessor, multiple AMQP links may be established depending on the number of sessions that are being processed concurrently.

\n

The clients are safe to cache when idle; they will ensure efficient management of network, CPU, and memory use, minimizing their impact during periods of inactivity. It is also important that either CloseAsync or DisposeAsync be called when a client is no longer needed to ensure that network resources are properly cleaned up.

\n

Adding components to the connection string does not work

\n

The current generation of the Service Bus client library supports connection strings only in the form published by the Azure portal. These are intended to provide basic location and shared key information only; configuring behavior of the clients is done through its options.

\n

Previous generations of the Service Bus clients allowed for some behavior to be configured by adding key/value components to a connection string. These components are no longer recognized and have no effect on client behavior.

\n

\"TransportType=AmqpWebSockets\" Alternative

\n

To configure web socket use, see: Configuring the transport.

\n

\"Authentication=Managed Identity\" Alternative

\n

To authenticate with Managed Identity, see: Identity and Shared Access Credentials.

\n

For more information about the Azure.Identity library, see: Authentication and the Azure SDK.

\n

Logging and diagnostics

\n

The Service Bus client library is fully instrumented for logging information at various levels of detail using the .NET EventSource to emit information. Logging is performed for each operation and follows the pattern of marking the starting point of the operation, it's completion, and any exceptions encountered. Additional information that may offer insight is also logged in the context of the associated operation.

\n

Enable logging

\n

The Service Bus client logs are available to any EventListener by opting into the sources starting with \"Azure-Messaging-ServiceBus\" or by opting into all sources that have the trait \"AzureEventSource\". To make capturing logs from the Azure client libraries easier, the Azure.Core library used by Service Bus offers an AzureEventSourceListener.

\n

For more information, see: Logging with the Azure SDK for .NET.

\n

Distributed tracing

\n

The Service Bus client library supports distributed tracing though integration with the Application Insights SDK. It also has experimental support for the the OpenTelemetry specification via the .NET ActivitySource type introduced in .NET 5. In order to enable ActivitySource support for use with OpenTelemetry, see ActivitySource support.

\n

In order to use the GA DiagnosticActivity support, you can integrate with the Application Insights SDK. More details can be found in ApplicationInsights with Azure Monitor.

\n

The library creates the following spans:

\n

Message
\nServiceBusSender.Send
\nServiceBusSender.Schedule
\nServiceBusSender.Cancel
\nServiceBusReceiver.Receive
\nServiceBusReceiver.ReceiveDeferred
\nServiceBusReceiver.Peek
\nServiceBusReceiver.Abandon
\nServiceBusReceiver.Complete
\nServiceBusReceiver.DeadLetter
\nServiceBusReceiver.Defer
\nServiceBusReceiver.RenewMessageLock
\nServiceBusSessionReceiver.RenewSessionLock
\nServiceBusSessionReceiver.GetSessionState
\nServiceBusSessionReceiver.SetSessionState
\nServiceBusProcessor.ProcessMessage
\nServiceBusSessionProcessor.ProcessSessionMessage
\nServiceBusRuleManager.CreateRule
\nServiceBusRuleManager.DeleteRule
\nServiceBusRuleManager.GetRules

\n

Most of the spans are self-explanatory and are started and stopped during the operation that bears its name. The span that ties the others together is Message. The way that the message is traced is via the the Diagnostic-Id that is set in the ServiceBusMessage.ApplicationProperties property by the library during send and schedule operations. In Application Insights, Message spans will be displayed as linking out to the various other spans that were used to interact with the message, e.g. the ServiceBusReceiver.Receive span, the ServiceBusSender.Send span, and the ServiceBusReceiver.Complete span would all be linked from the Message span. Here is an example of what this looks like in Application Insights:

\n

\"image\"

\n

In the above screenshot, we see the end-to-end transaction that can be viewed in Application Insights in the portal. In this scenario, the application is sending messages and using the ServiceBusSessionProcessor to process them. The Message activity is linked to ServiceBusSender.Send, ServiceBusReceiver.Receive, ServiceBusSessionProcessor.ProcessSessionMessage, and ServiceBusReceiver.Complete.

\n

Troubleshoot sender issues

\n

Cannot send batch with multiple partition keys

\n

When sending to a partition-enabled entity, all messages included in a single send operation must have the same PartitionKey. If your entity is session-enabled, the same requirement holds true for the SessionId property. In order to send messages with different PartitionKey or SessionId values, group the messages in separate ServiceBusMessageBatch instances or include them in separate calls to the SendMessagesAsync overload that takes a set of ServiceBusMessage instances.

\n

Batch fails to send

\n

We define a message batch as either ServiceBusMessageBatch containing 2 or more messages, or a call to SendMessagesAsync where 2 or more messages are passed in. The service does not allow a message batch to exceed 1MB. This is true whether or not the Premium large message support feature is enabled. If you intend to send a message greater than 1MB, it must be sent individually rather than grouped with other messages. Unfortunately, the ServiceBusMessageBatch type does not currently support validating that a batch does not contain any messages greater than 1MB as the size is constrained by the service and may change. So if you intend to use the premium large message support feature, you will need to ensure you send messages over 1MB individually. See this GitHub discussion for more info.

\n

Troubleshoot receiver issues

\n

Number of messages returned does not match number requested in batch receive

\n

When attempting to do a batch receive, i.e. passing a maxMessages value of 2 or greater to the ReceiveMessagesAsync method, you are not guaranteed to receive the number of messages requested, even if the queue or subscription has that many messages available at that time, and even if the entire configured maxWaitTime has not yet elapsed. To maximize throughput and avoid lock expiration, once the first message comes over the wire, the receiver will wait an additional 20ms for any additional messages before dispatching the messages for processing. The maxWaitTime controls how long the receiver will wait to receive the first message - subsequent messages will be waited for 20ms. Therefore, your application should not assume that all messages available will be received in one call.

\n

Message or session lock is lost before lock expiration time

\n

The Service Bus service leverages the AMQP protocol, which is stateful. Due to the nature of the protocol, if the link that connects the client and the service is detached after a message is received, but before the message is settled, the message is not able to be settled on reconnecting the link. Links can be detached due to a short-term transient network failure, a network outage, or due to the service enforced 10-minute idle timeout. The reconnection of the link happens automatically as a part of any operation that requires the link, i.e. settling or receiving messages. Because of this, you may encounter ServiceBusException with Reason of MessageLockLost or SessionLockLost even if the lock expiration time has not yet passed.

\n

How to browse scheduled or deferred messages

\n

Scheduled and deferred messages are included when peeking messages. They can be identified by the ServiceBusReceivedMessage.State property. Once you have the SequenceNumber of a deferred message, you can receive it with a lock via the ReceiveDeferredMessagesAsync method.

\n

When working with topics, you cannot peek scheduled messages on the subscription, as the messages remain in the topic until the scheduled enqueue time. As a workaround, you can construct a ServiceBusReceiver passing in the topic name in order to peek such messages. Note that no other operations with the receiver will work when using a topic name.

\n

How to browse session messages across all sessions

\n

You can use a regular ServiceBusReceiver to peek across all sessions. To peek for a specific session you can use the ServiceBusSessionReceiver, but you will need to obtain a session lock.

\n

NotSupportedException thrown when accessing message body

\n

This issue occurs most often in interop scenarios when receiving a message sent from a different library that uses a different AMQP message body format. If you are interacting with these types of messages, see the AMQP message body sample to learn how to access the message body.

\n

Troubleshoot processor issues

\n

Autolock renewal is not working

\n

Autolock renewal relies on the system time to determine when to renew a lock for a message or session. If your system time is not accurate, e.g. your clock is slow, then lock renewal may not happen before the lock is lost. Ensure that your system time is accurate if autolock renewal is not working.

\n

Processor appears to hang or have latency issues when using high concurrency

\n

This is often caused by thread starvation, particularly when using the session processor and using a very high value for MaxConcurrentSessions, relative to the number of cores on the machine. The first thing to check would be to make sure you are not doing sync-over-async in any of your event handlers. Sync-over-async is an easy way to cause deadlocks and thread starvation. Even if you are not doing sync over async, any pure sync code in your handlers could contribute to thread starvation. If you've determined that this is not the issue, e.g. because you have pure async code, you can try increasing your TryTimeout. This will relieve pressure on the threadpool by reducing the number of context switches and timeouts that may occur when using the session processor in particular. The default value for TryTimeout is 60 seconds, but it can be set all the way up to 1 hour. We recommend testing with the TryTimeout set to 5 minutes as a starting point and iterate from there. If none of these suggestions work, you may simply need to scale out to multiple hosts, reducing the concurrency in your application, but running the application on multiple hosts to achieve the desired overall concurrency.

\n

Further reading:

\n\n

Session processor takes too long to switch sessions

\n

This can be configured using the SessionIdleTimeout, which tells the processor how long to wait to receive a message from a session, before giving up and moving to another one. This is useful if you have many sparsely populated sessions, where each session may only have a few messages. If you expect that each session will have many messages that trickle in, setting this too low can be counter productive, as it will result in unnecessary closing of the session.

\n

Processor stops immediately

\n

This is often observed for demo or testing scenarios. StartProcessingAsync returns immediately after the processor has started. Calling this method will not block and keep your application alive while the processor is running, so you'll need some other mechanism to do so. For demos or testing, it may be sufficient to just add a Console.ReadKey() call after you start the processor. For production scenarios, you will likely want to use some sort of framework integration like BackgroundService to provide convenient application lifecycle hooks that can be used for starting and disposing the processor.

\n

Troubleshoot transactions

\n

For general information about transactions in Service Bus, see the Overview of Service Bus transaction processing.

\n

Supported operations

\n

Not all operations are supported when using transactions. To see the list of supported transactions, see Operations within a transaction scope.

\n

Timeout

\n

A transaction times out after a period of time, so it is important that processing that occurs within a transaction scope adheres to this timeout.

\n

Operations in a transaction are not retried

\n

This is by design. Consider the following scenario - you are attempting to complete a message within a transaction, but there is some transient error that occurs, e.g. ServiceBusException with a Reason of ServiceCommunicationProblem. Suppose the request does actually make it to the service. If the client were to retry, the service would see two complete requests. The first complete will not be finalized until the transaction is committed. The second complete is not able to even be evaluated before the first complete finishes. The transaction on the client is waiting for the complete to finish. This creates a deadlock where the service is waiting for the client to complete the transaction, but the client is waiting for the service to acknowledge the second complete operation. The transaction will eventually timeout after 2 minutes, but this is a bad user experience. For this reason, we do not retry operations within a transaction.

\n

Transactions across entities are not working

\n

In order to perform transactions that involve multiple entities, you'll need to set the ServiceBusClientOptions.EnableCrossEntityTransactions property to true. For details, see the Transactions across entities sample.

\n

Quotas

\n

Information about Service Bus quotas can be found here.

\n
","renderedFileInfo":null,"shortPath":null,"tabSize":4,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"repoOwner":"Azure","repoName":"azure-sdk-for-net","showInvalidCitationWarning":false,"citationHelpUrl":"https://web.archive.org/web/20230813063331/https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","showDependabotConfigurationBanner":false,"actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timedOut":false,"notAnalyzed":true,"symbols":[]}},"copilotInfo":null,"csrf_tokens":{"/Azure/azure-sdk-for-net/branches":{"post":"OKPhZrukxolluGnJYbT7BIiXXQ6-LkIRomc3b7iQb-PFZxfP9kodA6CVwipTQWUFJCGs5pihlxKbgFlGJoQoUw"},"/repos/preferences":{"post":"066zSbQ5JEt_IFnY5NkebV90PR6QhIWMCKNt0rkNarxNy6LBJVQNID4-ecfdV9NZlYS_q6Wyp8Pqrf1wITCgMw"}}},"title":"azure-sdk-for-net/sdk/servicebus/Azure.Messaging.ServiceBus/TROUBLESHOOTING.md at main ยท Azure/azure-sdk-for-net"}