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.

Lab 13 initial code set up does not work

See original GitHub issue

Lab/Demo: 13

Task: Test the bot in the Bot Framework Emulator

Description of issue Starter template code does not work. Repro steps:

  1. Clone repo
  2. follow the instructions given in the lab (cookiecutter https://github.com/microsoft/botbuilder-python/releases/download/Templates/echo.zip) 3.Start app
  3. go to the localhost and port defined and go to api/messages (localhost:3978/api/messages)
  4. No chat pane pops up like the lab mentions, cannot send messages to the bot with requests using something like postman either

image

======== Running on http://localhost:3978 ========
(Press CTRL+C to quit)
Traceback (most recent call last):
  File "F:\anaconda2\envs\tf_gpu_env\lib\site-packages\botbuilder\core\integration\aiohttp_channel_service_exception_middleware.py", line 20, in aiohttp_error_middleware
    response = await handler(request)
  File "F:\anaconda2\envs\tf_gpu_env\lib\site-packages\aiohttp\web_urldispatcher.py", line 931, in _handle
    raise self._http_exception
aiohttp.web_exceptions.HTTPMethodNotAllowed: Method Not Allowed
Traceback (most recent call last):
  File "F:\anaconda2\envs\tf_gpu_env\lib\site-packages\botbuilder\core\integration\aiohttp_channel_service_exception_middleware.py", line 20, in aiohttp_error_middleware
    response = await handler(request)
  File "F:\anaconda2\envs\tf_gpu_env\lib\site-packages\aiohttp\web_urldispatcher.py", line 931, in _handle
    raise self._http_exception
aiohttp.web_exceptions.HTTPNotFound: Not Found


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


Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
CalebWelchcommented, Oct 6, 2022

Ah cheers, thanks for helping me. I should try to read a bit better next time.

0reactions
GraemeMalcolmcommented, Oct 6, 2022

In Bot Framework Emulator, you’ve connected to http://localhost:3980/api/messages, but your bot is running on http://localhost:3978/api/messages.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Processing - Chapter 13 - Lab
Objectives. Students who complete this lab will demonstrate that they can: Design and implement inheritance and polymorphic behavior.
Read more >
Place of Service Code Set
Place of Service Code(s) Place of Service Name Place of Service Description 28‑30 Unassigned N/A 35‑40 Unassigned N/A 43‑48 Unassigned N/A
Read more >
jupyter server : not started, no kernel in vs code
For me the problem is that VSCode can't find the kernel, even in using the select interpreter option. The most reliable solution that...
Read more >
Configuring sharing options for students using Lab tools
We recently updated our default settings so that students who are under 13 will not be able to share these projects with others...
Read more >
Create a lab for classroom training - Azure Lab Services
Learn how to set up a lab for classroom training with Azure Lab Services. Assign lab creators, customize lab VM image, and invite...
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