Forum Discussion
AudioVideoPlaybackBot not joining meeting - Server Internal Error. DiagCode: 500#3002.@
Hello, Nivedipa-MSFT. Thank you for your response and sorry for my delay.
I've checked all the items, but I get the same error. Here are my notes:
1.- My ngrok config file seems OK:
authtoken: AUTH_TOKEN
tunnels:
signaling:
addr: 9442
proto: tls
hostname: bot.biometricvox.com
key: C:\path\to\certificate\private.key
crt: C:\path\to\certificate\public.crt
media:
addr: 8445
proto: tcpNgrok tunnels all communications from bot.biometricvox to my private port 9442, where AudioVideoPlaybackBot responds. The logs suggest that there is signaling communication between my bot and the public Microsoft Graph infraestructure, since I am getting the 500 server error from Microsoft Graph to my webhook https://bot.biometricvox.com/api/calling,
When I launch ngrok I get this output:
ngrok by @@inconshreveable (Ctrl+C to quit) Session
Status online
Account XXX XXX (Plan: Pro)
Version 2.3.41
Region United States (us)
Web Interface http://127.0.0.1:4040
Forwarding tcp://0.tcp.ngrok.io:19853 -> localhost:8445
Forwarding tls://bot.biometricvox.com -> localhost:9442
I've got CNAME DNS registries from bot.biometricvox.com to our ngrok domain, and from 0.bot.biometricvox.com to 0.tcp.ngrok.io. I have put 19853 as my public port in AzureConfiguration.cs file, and 0.bot.biometricvox.com as public FQDN for media.
2.- The wildcard is installed in the machine, and matches the certificate used in ngrok configuration file. If I modify the thumbprint in the AudioVideoPlaybackBot source code I get an exception, so it suggest it's working.
3.- The endpoint of the bot channel MS Teams registration webhook is https://bot.biometricvox.com/api/calling, since AudioVideoPlaybackBot does not appear to have any endpoint like /api/messages. Changing the bot registration to /api/messages did not change the 500#3002 error.
4.- I gave all Calls.* permissions to the bot, and the tenant administrator accepted them in our tenant.
Once again, thank you very much for your time. I'm struggling a little bit to get the samle bot working since there is so much configuration to do, and the error message is not very descriptive 🙂
- Nivedipa-MSFTJun 13, 2024
Microsoft
rubenrubio - Could you please share your repro video to investigate further?- Nivedipa-MSFTJun 27, 2024
Microsoft
rubenrubio - Could you please share your repro video to investigate further?- rubenrubioJul 12, 2024Copper ContributorI finally figured it out.
I was using a wildcard certificate *.biometricvox.com. This certificate is only valid for direct subdomains, such as bot.biometricvox.com, but not for sub-subdomains like 0.bot.biometricvox.com. I was using bot.biometricvox.com for signaling (which worked) and 0.bot.biometricvox.com for media (CNAME to 0.tcp.ngrok.io).
As soon I used a simple subdomain for media, like 0bot.biometricvox.com, it started working.
Thank you very much for your time and interest and sorry for the delay in my answers.