Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Unable to connect to Skill Bot while running VA from Emulator #3094

Closed
manish-95 opened this issue Feb 22, 2020 · 3 comments
Closed

Unable to connect to Skill Bot while running VA from Emulator #3094

manish-95 opened this issue Feb 22, 2020 · 3 comments
Assignees
Labels
customer-replied-to Indicates that the team has replied to the issue reported by the customer. Do not delete. customer-reported Issue is created by anyone that is not a collaborator in the repository. Needs Triage Needs to be triaged for assignment Type: Bug Something isn't working

Comments

@manish-95
Copy link

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

@manish-95 manish-95 added Needs Triage Needs to be triaged for assignment Type: Bug Something isn't working labels Feb 22, 2020
@xieofxie
Copy link
Contributor

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

@xieofxie xieofxie self-assigned this Feb 24, 2020
@xieofxie xieofxie added customer-replied-to Indicates that the team has replied to the issue reported by the customer. Do not delete. customer-reported Issue is created by anyone that is not a collaborator in the repository. labels Feb 24, 2020
@darrenj
Copy link
Contributor

darrenj commented Feb 26, 2020

Documented here

@darrenj
Copy link
Contributor

darrenj commented Feb 28, 2020

Let us know if you have any other issues/questions

@darrenj darrenj closed this as completed Feb 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer-replied-to Indicates that the team has replied to the issue reported by the customer. Do not delete. customer-reported Issue is created by anyone that is not a collaborator in the repository. Needs Triage Needs to be triaged for assignment Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants