Botframework-solutions: ARM Template Bot app giving error after deployement

Created on 13 May 2019  路  3Comments  路  Source: microsoft/botframework-solutions

Project

Name: Virtual Assistant
Language: C#

Description

After deploying the resources in Azure portal with ARM Template the Bot service is giving following error: There was an error sending this message to your bot: HTTP status code NotFound. And no message is being sent. But deployement is done and successful without any error.

To Reproduce

Dowload VSIX for Virtual Assistant. Make a project, open powershell, and use this script .\Deployment\Scripts\deploy.ps1 with appid and apppassword basically what is being recommended in the create your first virtual assistant documentation.

Expected behavior

A running bot that can Echo back messages.

Screenshots

error

Additional context

Thank you for your help. I am using westeurope as deployement resource group location.

Bug

Most helpful comment

Hi - The deployment script doesn't publish your Bot to azure so that might be the root cause. If you hit f5 locally and use the emulator it will likely work just fine. If you right click in VS and publish to the newly created app service the above test in web chat should work.

We've had a little feedback from people that they expect publishing occur we'll look into it.

All 3 comments

Hi - The deployment script doesn't publish your Bot to azure so that might be the root cause. If you hit f5 locally and use the emulator it will likely work just fine. If you right click in VS and publish to the newly created app service the above test in web chat should work.

We've had a little feedback from people that they expect publishing occur we'll look into it.

@darrenj thank you perfect both the things work .. so i will close it and if for any reason you wanna open it go ahead.

@darrenj the deployment script not publishing also caught me out - I noticed something was up when I downloaded the source for my Virtual Assistant and the folder was looking very empty.

It would be nice to have this highlighted in the documentation, probably in the Deploy your assistant section, then have a note under the Next Steps section of the Customize your Virtual Assistant guide as this is probably the point where IMHO people will be looking to go live.

I assume the same goes for creating a skill - I haven't got up to that part of the documentation yet. Keep up the great work!

Was this page helpful?
0 / 5 - 0 ratings