Azure / Azure/azure-service-bus-java

Proxy usage of ManagementClient class

Open
#392 1 comment 0 reactions 1 assignee Claimed by @nemakam View on GitHub
feature Investigate
Dominant language
Java
Stars
62
Forks
63
PR merge metrics
No merged PRs in 30d

Description

My question is the following:
The company I work at, uses corporate proxies. I'm working on SpringBoot microservices in Azure.
To be able to run these services locally, we need to specify our HTTP and HTTPS proxies in VM options, and everything is fine, well except in case of the ManagementClient. ManagementClient seems not to pick up these proxy settings, and all of the requests sent by it, are timing out.

java.util.concurrent.TimeoutException: Request timeout to "namespace-placeholder".servicebus.windows.net:443 after 30000 ms

Did some research, and it seems ManagementClient's sendManagementHttpRequestAsync() method sends out a request, and at this point proxy settings are not present, so all requests are timing out. As i've seen asynchttpclient's RequestBuilder provides an indirect way to set this up, but it's not used.

Is there a way to set this up which i'm missing?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.