Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployed bot created via File -> New project -> VSIX template fails to run in Azure #955

Closed
sgellock opened this issue Nov 9, 2018 · 6 comments
Assignees
Labels
bug Indicates an unexpected problem or an unintended behavior. P0 Must Fix. Release-blocker

Comments

@sgellock
Copy link
Member

sgellock commented Nov 9, 2018

Tool

Name: VSIX
Version: 4.0.6
OS: Windows

Describe the bug

Deployed bot created via File -> New project -> VSIX template fails to run when published to AppService due to missing "production" endpoint configuration in .bot file

Additional context

Both the Echo and the Basic bot VSIX templates include a .bot file along with startup code that attempts to load this file and confirm proper configuration for the target host environment, however the documentation for deploying bots makes no mention of this file and what to do with it resulting in a non-functional app once deployed.

[bug]

@sgellock sgellock transferred this issue from microsoft/botbuilder-tools Nov 18, 2018
@andrewchungxam
Copy link

Hi @sgellock any luck getting past this issue?

@sgellock
Copy link
Member Author

sgellock commented Nov 27, 2018 via email

@sgellock sgellock added bug Indicates an unexpected problem or an unintended behavior. Approved P0 Must Fix. Release-blocker labels Dec 4, 2018
@cleemullins
Copy link
Contributor

This has been (mostly) resolved, with more improvements coming. The latest VSIX has been published to the Visual Studio Marketplace.

This will get better (significantly) once the configuration validation code is merged in and integrated. That code will validate, as part of the Visual Studio publish process, that the .bot file is properly setup.

In the immediate term, the "production" endpoint is now part of the .bot file, and needs to be filled out by the developer.

@cleemullins
Copy link
Contributor

We've turned the crank of the VSIX files in 4.2, and will do so again in 4.3. Pushing this to 4.3, as the root problems are not yet resolved.

@jengstro2
Copy link

Is this the same not-so-nice experience what I had after renaming the sample project file from BasicBot -> WhatEveryIWant (csproj). After renaming the sample project -> publish -> nothing happens / freezes over. Local debug environment works. Is there some nice dependencies on those Azure deployment files -> towards the BasicBot.DLL name?

@sgellock sgellock added 4.4 and removed 4.3 labels Feb 15, 2019
@gabog
Copy link
Contributor

gabog commented Apr 8, 2019

Closing, we are moving the infrasctructure deployments to ARM templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior. P0 Must Fix. Release-blocker
Projects
None yet
Development

No branches or pull requests

5 participants