microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

AudioVideoPlaybackBot - Using Cloud Services (extended support)

Open
#687 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

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)?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with WorkerRole/AzureConfiguration.cs at lines 414 and 563, then inspect WorkerRole.cs at line 95 and the referenced service configuration values. Reproduce the Cloud Service extended support deployment error and trace the public FQDN lookup. Done means the configuration supports the stated virtual network and deployment no longer fails with “No such host is known”.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
cloud, infrastructure, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.