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

Report unauthorized subscription #2148

Open
ygoe opened this issue Jan 31, 2025 · 0 comments
Open

Report unauthorized subscription #2148

ygoe opened this issue Jan 31, 2025 · 0 comments
Labels
feature-request New feature or request

Comments

@ygoe
Copy link

ygoe commented Jan 31, 2025

Describe the feature request

The public MQTT broker on broker.emqx.io doesn't allow subscribing to #. The client MQTTX tells me after I try that it has failed because I'm not authorized to do that. MQTTnet doesn't tell me. I've looked around for any members of the result object or the client itself but couldn't find anything and no exception is thrown. The subscription was apparently successful but I receive no data after that.

Which project is your feature request related to?

MQTTnet's MqttClient class, I guess, or anywhere, I don't know what you mean.

Describe the solution you'd like

Best would be an exception or some information in the MqttClientSubscribeResult class.

Describe alternatives you've considered

N/A

Additional context

Image

@ygoe ygoe added the feature-request New feature or request label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant