cancel
Showing results for 
Search instead for 
Did you mean: 

Access Denied while connecting MQTT broker.

Vboculus123
Honored Guest

Hi oculus community,
 I have built a .apk file in unity and connecting it to an MQTT broker, I had built the app in unity and installed in my OCULUS Quest 2 using a Mobile VR application available in the meta quest store. When I run the application installed in the oculus it is not being connected to MQTT broker, I have checked that network settings and permissions are on and security firewalls are not restricting the device. It is popping an error that Access is denied --> MqttCammunication.Exception. Is there anyway to solve the issue? Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

MetaQuestSupport
Community Manager
Community Manager

Hi Vboculus123! We hate to hear that you're having trouble connecting to the MQTT broker. We'd be more than happy to assist you with this issue. First we will provide a super helpful resource that you can access here. If you're not able to find a resolution, please don't hesitate to reach back out to us! 

If you're the author of a thread, remember to mark a reply as the Accepted Solution to help others find answers!

View solution in original post

11 REPLIES 11

MetaQuestSupport
Community Manager
Community Manager

Hi Vboculus123! We hate to hear that you're having trouble connecting to the MQTT broker. We'd be more than happy to assist you with this issue. First we will provide a super helpful resource that you can access here. If you're not able to find a resolution, please don't hesitate to reach back out to us! 

If you're the author of a thread, remember to mark a reply as the Accepted Solution to help others find answers!

MetaQuestSupport
Community Manager
Community Manager

We're reaching back out to see if you still needed more assistance with your issue. If you find that you do, please don't hesitate to reach back out to us!

If you're the author of a thread, remember to mark a reply as the Accepted Solution to help others find answers!

Vboculus123
Honored Guest

Hi @MetaQuestSupport 

Thanks for the reply, I was able to solve the issue with the link you shared in the previous reply.

Awesome! Were glad you're back on track! Don't hesitate in reaching out if you ever need assistance in anything else!

If you're the author of a thread, remember to mark a reply as the Accepted Solution to help others find answers!

Hi @Vboculus123 
I have the same problem. Unfortunately, I could not find any information to solve the problem in the link from @MetaQuestSupport. Can you tell me how you fixed it?
Thanks in advance!

Hey there, @cucurbita155369 and welcome to the VR Forums!

If you haven't found a solution in the above link then it seems your query will be best handled by the big brains over in the Developer Team 🧠

To contact them please:

  1. Navigate to Developer Support
  2. Log in to your Meta Horizon Developer account
    1. Note: In order to access the Developer Support Portal, your account must be verified as a developer. For more information on verifying as a developer, please review our FAQ page.
  3. In the top right, click Contact Us. 

Hope this helps. Look forward to seeing you engage on more community posts in future 🫡

@Vboculus123 
I was unable to follow the information in the link, so please tell me how you resolved it.

sapphireflame21
Honored Guest

I'm also having an issue with this and can't find a solution on the whole wide Internet. Is it possible to use MQTT in Quest 3? If not, is there an alternative so I can receive data from a python program ran on PC to Quest 3 *somehow*? 

The link is gone. For the love of god, users need to mention how they fixed the problem before marking as Solved so those having same issue can fix too.

By adding the permission settings to the AndroidManifest, I was able to get MQTT for Unity to work

https://youtu.be/s0xmgifXtqs
https://assetstore.unity.com/packages/tools/network/mqtt-for-unity-265888

Still need help?

Did this answer your question? If it didn’t, use our search to find other topics or create your own and other members of the community will help out.

If you need an agent to help with your Meta device, please contact our store support team here.

Having trouble with a Facebook or Instagram account? The best place to go for help with those accounts is the Facebook Help Center or the Instagram Help Center. This community can't help with those accounts.

Check out some popular posts here:

Getting Help from the Meta Quest Community

Tips and Tricks: Charging your Meta Quest Headset

Tips and Tricks: Help with Pairing your Meta Quest

Trouble With Facebook/Instagram Accounts?