Closed CalebWelch closed 2 years ago
@CalebWelch , are you using the hosted VM on Microsoft Learn or the lab profile provided in an instructor-led course?
@GraemeMalcolm I tried both locally and the VM provided via the course https://learn.microsoft.com/en-us/training/modules/design-bot-conversation-flow/6-exercise-create-a-bot and got the same issue on both
OK, thanks - we'll investigate and report back...
Hmm - non-repro for me. Are you sure when you open the bot in the emulator you're specifying the URL where your bot is running (in my case it's http://localhost:3978/api/messages
, but the port number might vary - it's displayed when you run the python app.py
command.
Yes, I made sure its the correct address and port
The file paths in your screenshot don't match the hosted VM. Can you record what happens when you use the hosted VM environment?
Same issue in the VM
So, here's what I get in the hosted VM from Learn. I have no idea why you're getting a different result.
Ah - yes I do. It looks like you're trying to test the bot using a web browser instead of Bot Framework Emulator.
Ah I see I missed a step, although I'm still having an issue. there's no start up message, and the message fails to send. No errors are popping up in the console either
In Bot Framework Emulator, you've connected to http://localhost:3980/api/messages, but your bot is running on http://localhost:3978/api/messages.
Ah cheers, thanks for helping me. I should try to read a bit better next time.
Lab/Demo: 13
Task: Test the bot in the Bot Framework Emulator
Description of issue Starter template code does not work. Repro steps:
No chat pane pops up like the lab mentions, cannot send messages to the bot with requests using something like postman either
botbuilder-core 4.14.2 botbuilder-schema 4.14.2 botframework-connector 4.14.2 botframework-streaming 4.14.2 aiohttp 3.8.3 asyncio 3.4.3 cookiecutter 1.7.0