Skip to content
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

QueueClient.SendMessage - Retry failed after 6 tries #43685

Open
marcilio-souza opened this issue Apr 26, 2024 · 1 comment
Open

QueueClient.SendMessage - Retry failed after 6 tries #43685

marcilio-souza opened this issue Apr 26, 2024 · 1 comment
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. needs-team-attention 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 This issue is responsible by Azure service team. Storage Storage Service (Queues, Blobs, Files)

Comments

@marcilio-souza
Copy link

Library name and version

Azure.Storage.Queues Version=12.17.1 (C#)

Describe the bug

In our scenario we have the following:

Timer (each 20minutes add a message to Queue1)
Queue1 (process message and add another message to Queue2)
Queue2 (should process message sent from Queue1).

Queue1 and Queue2 are different applications.

The problem is that a lot of times in the day, SendMessage (Queue1 -> Queue2) fails and returns follow error:

Retry failed after 6 tries. Retry settings can be adjusted in ClientOptions.Retry or by configuring a custom retry policy in ClientOptions.RetryPolicy. 
 (An attempt was made to access a socket in a way forbidden by its access permissions. (QUEUEGROUPNAME.queue.core.windows.net:443)) 

Sometimes it works, sometimes don't.

Expected behavior

Queue1 add message to Queue2 successfully.

Actual behavior

Queue1 fails to send message to Queue2 (notice that they are different applications.)

Reproduction Steps

string message = Convert.ToBase64String(Encoding.UTF8.GetBytes(myQueueItem));

string connectionString = @"__myconnections_string____core.windows.net";
QueueClient queueClient = new QueueClient(connectionString, "proc-calculation-items");
queueClient.SendMessage(message);

Environment

Azure AppService

@github-actions github-actions bot added 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. needs-team-attention 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 This issue is responsible by Azure service team. Storage Storage Service (Queues, Blobs, Files) labels Apr 26, 2024
Copy link

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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. needs-team-attention 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 This issue is responsible by Azure service team. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

No branches or pull requests

1 participant