question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

4.4.2 does not work with Gov-hosted bots

See original GitHub issue

Currently connecting to an Azure Gov bot does not work on the 4.4.2 version of the emulator.

  • Connect via endpoint
    • The connect via endpoint dialog does not include the “Azure for US Government Learn more.” checkbox that is available when adding a new endpoint to the bot file.
    • Webchat correctly renders, but all messages are Unauthorized
    • Emulator emits the standard “incorrect MSA AppID and MSA AppPassword message”
  • Connect via bot file
    • The “Azure for US Government Learn more.” was checked.
    • Webchat does not finish rendering.
    • No data on if any activities are sent to the bot

Above data was from testing with @hristp The bot hosted in Azure Gov was working with the Test in WebChat in the portal.

Completion criteria:

  • Connecting to bot in Azure Gov via endpoint should work
    • ~[ ] Need extendable UI for different sovereign regions~ Not needed until we add more National Clouds
  • Connecting to bot in Azure Gov via .bot file should work
    • ~[ ] Need extendable UI for different sovereign regions~ Not needed until we add more National Clouds
  • Inspector mode also works with bot in Azure Gov
  • OAuth with a Gov bot should work
  • Add protocol support ("livechat" and "inspector") (new arg for public, .us)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
hristpcommented, Jun 4, 2019

Consider using the string “AzureUSGovernment” for Fairfax, to be consistent with naming throughout Azure CLI.

0reactions
stevengumcommented, Jun 11, 2019

The work being done is currently on the stgum/gov branch (first commit).

Completed:

  • Refactor to pass ChannelService in
  • Protocol support for the Channel Service via cloud
    • example: &cloud=azureusgovernment

WIP:

  • Tests
  • Add UI to connect to bot via Endpoint
  • Additional cleanup
Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found