When testing a local bot connected to remote skills no guidance to configure tunnelling is shown
See original GitHub issueDescribe the bug
When testing a local bot which is connected to remote skills it’s important to ensure that we detect this situation and tell the developer that this isn’t going to work unless they configure tunnelling (e.g. ngrok) and update the SkillHost endpoint. Otherwise HTTP connection errors are reported and it’s not clear what’s going on unless you know the skill communication pattern in detail.
Version
1.4.0-nightly.237101
Browser
- Electron distribution
- Chrome
- Safari
- Firefox
- Edge
OS
- macOS
- Windows
- Ubuntu
To Reproduce
Steps to reproduce the behavior:
- Create a new Bot
- Connect a skill (e.g. https://djtest6.azurewebsites.net/manifests/djbfskill1-2-1-manifest.json)
- Start Bot, observe the skills response isn’t correctly retrieved, you get a 500 error reported.
Expected behavior
- Detect that remote skills are configured in the project
- Warning when starting the project that remote tunneling will be needed in order for a locally tested bot to call remote skills
- Link to documentation or a window with a suggested ngrok command
ngrok http 3980 --host-header=localhost
(find the port that the bot is using locally!)
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Connect to a remote skill with Bot Framework Composer
The manually configured skills endpoint is used by your root bot only when it's running locally. When it's running remotely, the skills ......
Read more >Can't invoque remote skill · Issue #5472 - GitHub
Lets handle the first failure case of local RootBot(Consumer Bot) when trying to connect to the remote skills failing with the 500 status ......
Read more >Remote Tunnels - Visual Studio Code
Remote - Tunnels extension: Extension that facilitates the connection to the remote machine, where you have an instance of the server running.
Read more >Open a tunnel using manual setup and connect to remote device
This tutorial shows how to open a tunnel using the manual setup method and configure and start the local proxy to connect to...
Read more >SSH Essentials: Working with SSH Servers, Clients, and Keys
After connecting, all commands you type in your local terminal are sent to the remote server and executed there. In this cheat sheet-style...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Shiproom - approved. @a-b-r-o-w-n can you get this merged today please? thank you
Shiproom - let’s do the MVP here for R13