Skip to content

[BUG] Azure Java SDK timeout requesting target resources #36808

Open
@waynewang1989

Description

@waynewang1989

Describe the bug
Azure Java SDK timeout requesting target resources. Affected API calls:

  1. networkInterfaces.listByResourceGroupAsync

networkInterfaces.listByResourceGroupAsync(resourceGroupName); did not finish in 10 minutes
Started at: Sep 13, 2023 @ 04:31:01.173

Sep 13, 2023 @ 04:41:01.1042023-09-13T04:41:01.104Z [trace_id=88c824331585d7ab58eebae3480e67b4] [transaction_id=da9357b3a571afd8] INFO [Thread-2080 ] c.a.r.n.i.N.listByResourceGroup.performLogging:359 - {'az.sdk.message':'HTTP request','method':'GET','url':'https://management.azure.com/subscriptions//resourceGroups//providers/Microsoft.Network/networkInterfaces?api-version=2022-11-01','tryCount':'1','contentLength':0}

  1. networkInterfaces.listByResourceGroupAsync
    INFO [Thread-2045 ] c.a.r.n.i.N.listByResourceGroup.performLogging:359 - {"az.sdk.message":"HTTP request","method":"GET","url":https://management.azure.com/subscriptions/******/resourceGroups/******/providers/Microsoft.Network/networkInterfaces?api-version=2022-11-01,"tryCount":"1","contentLength":0}

Exception or Stack Trace
No response returned from Azure SDK, Causing the service call timeout

To Reproduce
We use a syinced call with networkInterfaces.listByResourceGroupAsync().block()

Code Snippet
this.networkInterfaces.listByResourceGroupAsync(resourceGroupName);

Expected behavior
API do return the expected value or thrown error on error. Any response instead of not responding is required.

Screenshots
NA

Setup (please complete the following information):

  • Library/Libraries:
com.azure.resourcemanager azure-resourcemanager ${com.azure.resourcemanager.version} - Java version: [OpenJDK 11]
  • Frameworks: Spring Boot

Additional context
NA

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added

Metadata

Metadata

Assignees

Labels

ARMMgmtThis issue is related to a management-plane library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-triageWorkflow: This issue needs the team to triage.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions