microsoft-graph-comms-samples icon indicating copy to clipboard operation
microsoft-graph-comms-samples copied to clipboard

AudioVideoPlaybackBot - Using Cloud Services (extended support)

Open chanheelee-thumb opened this issue 2 years ago • 0 comments

Issue

While trying to upload AudioVideoPlayback to cloud services (extended support), I am encountering deployment errors. I assume it's to do with the DNS but can't figure out where i went wrong.

Values I'm using:

  • Service DNS in service config file: xyz.cloudapp.net
  • CName in service config file: xyz.mydomain.com
  • Public IP's DNS: xyz.eastus.cloudapp.net

Error in Deployment

[2024-01-02T06:02:06.000Z] Last exit time: [2024/01/02, 06:02:07.993]. Last exit code: 0.
Role instance AVPWorkerRole_IN_1 has state RoleStateStarting. Role Instance details: Recovering role... Unhandled Exception:  No such host is known
   at System.Net.Dns.GetAddrInfo(String name)
   at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
   at Sample.AudioVideoPlaybackBot.WorkerRole.AzureConfiguration.GetInstancePublicIpAddress(String publicFqdn) in C:\Users\chanh\MS-Sample\Samples\V1.0Samples\LocalMediaSamples\AudioVideoPlaybackBot\WorkerRole\AzureConfiguration.cs:line 563
   at Sample.AudioVideoPlaybackBot.WorkerRole.AzureConfiguration.Initialize() in C:\Users\chanh\MS-Sample\Samples\V1.0Samples\LocalMediaSamples\AudioVideoPlaybackBot\WorkerRole\AzureConfiguration.cs:line 414
   at Sample.AudioVideoPlaybackBot.WorkerRole.WorkerRole.OnStart() in C:\Users\chanh\MS-Sample\Samples\V1.0Samples\LocalMediaSamples\AudioVideoPlaybackBot\WorkerRole\WorkerRole.cs:line 95
   at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.InitializeRoleInternal(RoleType roleTypeEnum)
   at Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge.<InitializeRole>b__0()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

' [2024-01-02T06:02:11.000Z] Last exit time: [2024/01/02, 06:01:56.139]. Last exit code: 0.

Question

How can I format the service configuration file to correctly include the Virtual Network so that I can deploy this project to Cloud Service (extended support)?

chanheelee-thumb avatar Dec 28 '23 10:12 chanheelee-thumb