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

Corporate proxy for iot-service-client #766

Closed
alam-R opened this issue Apr 30, 2020 · 14 comments
Closed

Corporate proxy for iot-service-client #766

alam-R opened this issue Apr 30, 2020 · 14 comments
Assignees
Labels
enhancement fix checked in Fix checked into main or preview, but not yet released.

Comments

@alam-R
Copy link

alam-R commented Apr 30, 2020

  • OS and version used: Centos 7

  • Java runtime used: 1.8

  • SDK version used: 1.21

Hey there,

I couldn't find an answer so my question is:
Is it possible to define an unauthenticated internal proxy for iot-service-client? If so, is there a sample or a reference?

Thanks!

@timtay-microsoft
Copy link
Member

What features do you need proxy support for on the service client? Is this for registry manager (device identity management) or service client (messaging, file upload notification)?

@timtay-microsoft timtay-microsoft added the customer input needed issue lacks enough data for a proper investigation label May 1, 2020
@alam-R
Copy link
Author

alam-R commented May 1, 2020

This is for the registry manager. I was wondering if I could specify my company's internal network when I am trying to connect to my IoT Hub.

@timtay-microsoft
Copy link
Member

Currently the registry manager does not have proxy support, but I can look into adding it

@alam-R
Copy link
Author

alam-R commented May 1, 2020

It would be most helpful for our application which runs behind a corporate proxy, thanks!

@alam-R
Copy link
Author

alam-R commented May 4, 2020

Thank you very much @timtay-microsoft for your effort.
But we will need also proxy support for the service client for messaging. Is this also possible?

@timtay-microsoft
Copy link
Member

That depends, what kind of proxy do you use, and which protocol do you use for messaging (amqps or amqps_ws)?

@timtay-microsoft
Copy link
Member

I could feasibly add proxy support for typical HTTP proxies if you are using amqps_ws, similar to how we have it on the device client side.

@alam-R
Copy link
Author

alam-R commented May 5, 2020

Yes we are using the websocket version of the AMQPS, so again we would be grateful if you could add support for HTTP proxies.
Thank you!

@timtay-microsoft timtay-microsoft added enhancement and removed customer input needed issue lacks enough data for a proper investigation labels May 5, 2020
@timtay-microsoft
Copy link
Member

Yeah, that's feasible. I'll try to get that feature in soon. Do you need authentication for these proxies?

@alam-R
Copy link
Author

alam-R commented May 5, 2020

No, not at the moment at least!

@timtay-microsoft timtay-microsoft added the fix checked in Fix checked into main or preview, but not yet released. label May 12, 2020
@alam-R
Copy link
Author

alam-R commented May 14, 2020

Thank you @timtay-microsoft, I've used the updates and works like a charm!
Do you know when it will be released?

@timtay-microsoft
Copy link
Member

Glad to hear it! We're hoping to get the release out within the next week

@timtay-microsoft
Copy link
Member

Proxy support has now been released as of service client version 1.22.0, so I'm closing this issue.

@az-iot-builder-01
Copy link
Collaborator

@timtay-microsoft, @alam-R, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement fix checked in Fix checked into main or preview, but not yet released.
Projects
None yet
Development

No branches or pull requests

3 participants