microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Echo bot on Service Fabric - Media Platform issue

Open
#848 1 comment 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

Hi, from version 1.28 of Microsoft.Skype.Bots.Media there is new requirement to startup script:

 # Delete ssl cert bindings
  netsh http delete sslcert ipport=%InstanceIpAddress%:%InstanceMediaControlPort%
  
  # Delete http registrations
  netsh http delete urlacl url=https://+:%InstanceMediaControlPort%/
  
  # Bind ssl cert to the IP/Port
  netsh http add sslcert ipport=%InstanceIpAddress%:%InstanceMediaControlPort% "appid={00000000-0000-0000-0000-000000000001}" cert=%ServerCertificate%
[...]

Getting enpoint port and certificate isn't such a problem, but how to get %InstanceIpAddress% ?
Working on Cloud Service I used:
<Variable name="InstanceIpAddress"> <RoleInstanceValue xpath="/RoleEnvironment/CurrentInstance/Endpoints/Endpoint[@name='InstanceMediaControlEndpoint']/@address" /> </Variable>

How to get that Ip when working as Service Fabric application?

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

No file or test is named. Start by locating the Service Fabric application's startup script and reviewing how its endpoint and certificate values are obtained; done means documenting a supported source for InstanceIpAddress and the required SSL binding commands for this deployment.

Written by the indexing model from the issue text.

Assessment

Domain
cloud, infrastructure
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.