BotFramework-Composer: Unable to execute the bot on Azure functions

Describe the bug

Upon publishing the bot to Azure function, the Azure function goes down and doesnt respond to any request

I have followed the steps for publishing bot to Azure Function with resources created through the command line script

The Function App shows up the below error image

And the status of the runtime shows as error image

And the diagnosis says image


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Version

1.1.1

Browser

Chrome

  • Electron distribution
  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

Follow steps for Azure function as provided here https://docs.microsoft.com/en-us/composer/how-to-publish-bot

Expected behavior

The function should not error and the bot should reply over the bot channel registration test panel

Screenshots

Added above at relevant place

Additional context

The function apps were created through the commandline script as provided in the documentation

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (4 by maintainers)

Most upvoted comments

If you check PR #4570 , it captures the fix to make functions work again and some improvements to have it work in more environemnts. Options to get this fix are 1) wait for the next composer release or 2) eject your runtime and apply that fix to unblock right away. I’d wait until the PR is closed to adopt the fix to make sure we are happy with the final code.

Was able to reproduce the bug. I’ll work on a fix, most likely will go out on the next release of composer in early Nov. However once the change hits main, you could use composer from nightly build or from source. If the change only affects the runtime, then you could just update your runtime without updating composer. I won’t be sure of the exact scope of the fix until I finish it. I’ll update with details on how to get access when that happens.

This is an issue we are having as well with a bot we were hoping to put into production soon.

team, would you have an update here please? If we need to offer composer to our clients with Azure function as a PAYG option, this is just holding us down.

@saikumaru I also tracked the issue here if it has to do with the docs. https://github.com/MicrosoftDocs/composer-docs/issues/11