Botframework-solutions: Unable to connect to Skill Bot while running VA from Emulator

Created on 22 Feb 2020  路  3Comments  路  Source: microsoft/botframework-solutions

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: "" at "https://api/messages" (status is 500). If I attempt the same from the Azure Portal WebChat interface, the call goes through and I am able to access the relevant Skill Bot.

What are the steps to reproduce this issue?

  1. Deploy VA and Skill Template using the version mentioned above.
  2. Connect the deployed VA and Skill Bots.
  3. Run the VA project locally in Bot Framework Emulator.
  4. Use any utterance to trigger the connected skill.
  5. 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

Needs Triage Bug customer-replied-to customer-reported

Most helpful comment

Documented here

All 3 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

VladPapacostea-SM picture VladPapacostea-SM  路  3Comments

kendomen picture kendomen  路  4Comments

jbonet07 picture jbonet07  路  4Comments

elaine-chang picture elaine-chang  路  4Comments

nestoralonsovina picture nestoralonsovina  路  4Comments