Skip to main content
New Participant
February 5, 2024

"Access Denied" exception while connecting to MQTT Broker

  • February 5, 2024
  • 1 reply
  • 640 views

There is a need to have "connect" & "subscribe" functionality using mqtt on our oculus native app. 

We have used M2Mqtt & Mqttnet libraries in our unity c# and developed the test application. It is working as expected in unity on laptop and is able to successfully communicate to mqtt broker with both the libraries.

However, after exporting to oculus quest2 none works. M2Mqtt is showing "upLibrary" exception and Mqttnet is showing "Access Denied.. MqttConnectionException". Appreciate some guidance ASAP

 

 

1 reply

Inspiring
September 20, 2025

Can you share some part of the code that is not working for the Q2. I am looking for a solution myself for the Q3 and I can try to look into that?