[QUERY] [Duplicate] Azure.RequestFailedException: Multiple condition headers are not supported #47635
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
duplicate
This issue is the duplicate of another issue
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
Library name and version
Azure.Messaging.Eventhubs.Processor.5.11.5
Describe the bug
We are encountering a recurring issue within our high-throughput data pipeline service that utilizes Azure Event Hubs. The problem manifests as an unhandled exception during the processing of Event Hub messages, specifically during the operation "Executing a load balancing cycle." The inner exception is an Azure.RequestFailedException with the message "Multiple condition headers are not supported," resulting in a 400 status code.
Impact:
When this error occurs frequently, it causes the affected pod to lock the partition for an extended period. Consequently, data accumulates in the Event Hub until the transient error resolves automatically, at which point the checkpoint is released. This behavior leads to significant data latency, sometimes extending to several days, which severely impacts our data processing timelines.
Troubleshooting Steps Taken:
Expected behavior
The EventProcessorClient should handle load balancing without encountering exceptions of "Multiple condition headers are not supported", ensuring continuous event processing.
Actual behavior
The process fails with a RequestFailedException indicating that multiple condition headers are not supported.
Additional Context:
Inner Exception: Azure.RequestFailedException: Multiple condition headers are not supported.
Stack Trace:
scss
Copy code
at Azure.Storage.Blobs.BlockBlobRestClient.UploadAsync(...)
at Azure.Storage.Blobs.Specialized.BlockBlobClient.UploadInternal(...)
at Azure.Storage.PartitionedUploader
2.UploadInternal(...) at Azure.Storage.Blobs.BlobClient.StagedUploadInternal(...) at Azure.Messaging.EventHubs.Primitives.BlobCheckpointStoreInternal.ClaimOwnershipAsync(...) at Azure.Messaging.EventHubs.Primitives.EventProcessor
1.DelegatingCheckpointStore.ClaimOwnershipAsync(...)at Azure.Messaging.EventHubs.Primitives.PartitionLoadBalancer.RenewOwnershi
Reproduction Steps
Troubleshooting Steps Taken:
SDK Logs Analysis: We have enabled and reviewed the Event Hubs SDK logs but did not find any relevant traces that indicate the root cause or potential fixes for this issue.
Configuration Review: We have verified that we are not adding any manual headers to the storage checkpoint operations. Additionally, there are no proxy services in our architecture that could be injecting additional headers into the requests.
Environment
Linux OS
.NET 8
Azure EventHub premium tier
It happens in all environments we have
The text was updated successfully, but these errors were encountered: