[BUG] SharedAccessSignatureProvider.tokenTimeToLive default throws opaque exception #6312
Labels
Authorization
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
Service Attention
Workflow: This issue is responsible by Azure service team.
Service Bus
When using the ASB client to publish to a topic:
The
SharedAccessSignatureProvider.tokenTimeToLive
field, if left at its default value (as is incredibly simple to do when configuring via MassTransit), causes an obscure exception to be thrown by the framework Timer class on first received message - this is because of a lack of validation in the Microsoft code, leading to negative numbers in the wrong places.ActiveClientLinkManager
is the place to look for the offending code, and the best explanation can be found attached to the end of this closed issue in the archived repo: Azure/azure-service-bus-dotnet#399 (comment)This is likely to be affecting a large proportion of people using Azure Service Bus via MassTransit - sensible default behaviour is needed!
The text was updated successfully, but these errors were encountered: