-
Notifications
You must be signed in to change notification settings - Fork 8
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
Using MQTT .Net Client with a proxy server #212
Comments
Hello @SmartLifeSolutions, thanks for contributing to the HiveMQ community! We will respond as soon as possible. |
Hi @SmartLifeSolutions - How are you connecting the client? Through websockets? If it's a transparent proxy, it should work out of the box but it sounds like it isn't. This client doesn't support specifying an HTTP Proxy yet. Let me know on the above and potentially we can plan out adding proxy support sooner than later. |
Hi Peter,
I am using the HiveMQ MQTT Client (.Net) version 0.23 installed by NuGet Package Manager into a Visual Studio 2022 asp.net 8.0 project. I don’t know if it is using websockets, or not.
I didn’t have any problems on Azure, but since I’ve tried to get my app running on IONOS Windows Hosting, I have had to set the httpClienthandler.Proxy to their WebProxy - http://winproxy.server.lan:3128 – for all REST API calls. These are now all working for me.
It would be really great to have proxy support in the MQTT Client so that it will work in IONOS hosting.
From: Peter Giacomo Lombardo ***@***.***>
Date: Monday, 11 November 2024 at 13:06
To: hivemq/hivemq-mqtt-client-dotnet ***@***.***>
Cc: Graham Jackson ***@***.***>, Mention ***@***.***>
Subject: Re: [hivemq/hivemq-mqtt-client-dotnet] Using MQTT .Net Client with a proxy server (Issue #212)
Hi @SmartLifeSolutions<https://github.com/SmartLifeSolutions> - How are you connecting the client? Through websockets?
If it's a transparent proxy, it should work out of the box but it sounds like it isn't.
This client doesn't support specifying an HTTP Proxy yet.
Let me know on the above and potentially we can plan out adding proxy support sooner than later.
—
Reply to this email directly, view it on GitHub<#212 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMVG3PHWNTS57YTOVZTG33L2ACTWRAVCNFSM6AAAAABRRX4U6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRYGEZTMNRRGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Checklist
issues
.discussions
.❓ Question
I am developing an asp.net 8.0 app that is using the MQTT .Net Client to communicate with customer systems. This has been working fine up to now running within Visual Studio 2022 and deployed to Azure Web Hosting. However, I want to migrate the app to run on IONOS Windows Web Hosting. However, IONOS is routing all http traffic through a proxy server. I have had to modify all our REST API HttpClients to use the required proxy server, but I can't find a way to do with the MQTT .Net Client. Is this possible or do I need to find another solution?
📎 Additional context
The text was updated successfully, but these errors were encountered: