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

Proxy usage of ManagementClient class #392

Open
suti211 opened this issue Nov 14, 2019 · 1 comment
Open

Proxy usage of ManagementClient class #392

suti211 opened this issue Nov 14, 2019 · 1 comment

Comments

@suti211
Copy link

suti211 commented Nov 14, 2019

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?

@nemakam
Copy link
Contributor

nemakam commented Nov 19, 2019

@suti211, As you have already mentioned, this hasn't been integrated with Proxy and hasn't been tested. We will add it to our backlog items and plan accordingly. Thanks for opening this issue.
Meanwhile, feel free to open a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants