Unable to connect to Skill Bot while running VA from Emulator
What project is affected?
Virtual Assistant Skill
What language is this in?
C#
What happens?
Using the new Virtual Assistant and Skill Template (version 4.7.0.2) based on 0.8 Beta Release, while attempting to access a connected skill from the Bot Framework Emulator (version 4.7.0), the status code returned is 500, with the error message as "Exception Message: Error invoking the skill id: "
What are the steps to reproduce this issue?
- Deploy VA and Skill Template using the version mentioned above.
- Connect the deployed VA and Skill Bots.
- Run the VA project locally in Bot Framework Emulator.
- Use any utterance to trigger the connected skill.
- Note the error as mentioned above.
What were you expecting to happen?
The VA connects to the deployed skill bot , even while testing locally from the Emulator, and not just through WebChat.
Can you share any logs, error output, etc.?
On further examination using App Insights Live Metrics, the following logs were obtained: Error_logs.txt
hi @manish-95, when skill replies to VA, it needs a public accessible SkillHostEndpoint in VA's appsettings.json.
So if you would like to test a local VA connecting to a remote skill, use a local tunnel like ngrok for VA and set the value of SkillHostEndpoint like https://*.ngrok.io/api/skills.
Thanks
Documented here
Let us know if you have any other issues/questions