question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When testing a local bot connected to remote skills no guidance to configure tunnelling is shown

See original GitHub issue

Describe 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:

  1. Create a new Bot
  2. Connect a skill (e.g. https://djtest6.azurewebsites.net/manifests/djbfskill1-2-1-manifest.json)
  3. 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:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
sgellockcommented, May 5, 2021

Shiproom - approved. @a-b-r-o-w-n can you get this merged today please? thank you

0reactions
sgellockcommented, May 3, 2021

Shiproom - let’s do the MVP here for R13

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found