botframework-components icon indicating copy to clipboard operation
botframework-components copied to clipboard

Wrong port in homepage

Open scheyal opened this issue 3 years ago • 3 comments

Create any bot. Navigate to homepage. Port # seems hardcoded - doesn't align with actual port. Better not to mention anything than to mislead or detect the port for display.

(I filed similar bug 6 month ago or so, but can't find it).

image

scheyal avatar Apr 15 '21 17:04 scheyal

Found it. Dup of microsoft/BotFramework-Composer#5846. Maybe use the opportunity to assign and fix.

scheyal avatar Apr 15 '21 17:04 scheyal

Oh, and using a new blank bot with latest runtime:

Version: 1.4.0-nightly.235590.f4de79 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0

scheyal avatar Apr 15 '21 17:04 scheyal

Hi @scheyal,

We're in a bit of a weird in-between spot with this one. If the bot is run from Visual Studio using the default launchSettings provided, the bot actually does launch on http://localhost:3978 - so it's actually correct in that case. This is largely a holdover of where it came from originally, which is the original VA templates. Composer launches on a different port and overrides it via CLI argument on dotnet run, which is why it appears incorrect.

As this default page is served up as a simple static file, there's no way to bind to the actual port being used. We should address this post-R13. I'm moving to the backlog for later evaluation.

peterinnesmsft avatar Apr 22 '21 21:04 peterinnesmsft