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

Azure Java SDK reaction to connection resets when using Azure blob #32749

Closed
mahmoudsamy27 opened this issue Jan 3, 2023 · 2 comments
Closed
Assignees
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. HttpClient needs-author-feedback Workflow: More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Storage Storage Service (Queues, Blobs, Files)

Comments

@mahmoudsamy27
Copy link

application based on Azure Java SDK is getting intermittent expected connection resets while communicating with azure blob storage.

the application crashes and not retrying the error properly. Here is the error:

--- [or-http-epoll-1] r.netty.http.client.HttpClientConnect : [5303716f-219, L:/10.x.x.x:59338 - R:removedthename.blob.core.windows.net/] The connection observed an error, the request cannot be retried as the headers/body were sent

->: io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer

Ask:

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 3, 2023
@alzimmermsft
Copy link
Member

Thanks for filing this @mahmoudsamy27.

There is this PR (#32648) which is improving inspection of errors to determine what should be retried. Though in the case you reported, is the NativeIoException being thrown or is it just being logged? If it's being thrown the PR I mentioned should help alleviate the request not being retried.

For the log message, this is something the Azure SDKs can't control as it's logged by Reactor Netty/Netty in their code and logging is determined by customer logging configurations.

@alzimmermsft alzimmermsft added Storage Storage Service (Queues, Blobs, Files) Client This issue points to a problem in the data-plane of the library. HttpClient labels Jan 3, 2023
@alzimmermsft alzimmermsft self-assigned this Jan 3, 2023
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jan 3, 2023
@alzimmermsft alzimmermsft added the needs-author-feedback Workflow: More information is needed from author to address the issue. label Jan 12, 2023
@ghost ghost added the no-recent-activity There has been no recent activity on this issue. label Jan 19, 2023
@ghost
Copy link

ghost commented Jan 19, 2023

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

@ghost ghost closed this as completed Feb 3, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 4, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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. HttpClient needs-author-feedback Workflow: More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

No branches or pull requests

2 participants