Botframework-emulator: "request to http://localhost:8000/api/messages failed, reason: connect ECONNREFUSED 127.0.0.1:8000"

Created on 27 Jul 2020  路  8Comments  路  Source: microsoft/BotFramework-Emulator

Hi,

Im running a python echo bot using docker container and getting error ""request to http://localhost:8000/api/messages failed, reason: connect ECONNREFUSED 127.0.0.1:8000""

docker run daqbot

======== Running on http://127.0.0.1:8000 ========
(Press CTRL+C to quit)

Content of requirements.txt
botbuilder-core>=4.7.0
aiohttp

Docker file:

FROM python:3
ADD app.py /
COPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
COPY . /tmp/
CMD [ "python", "./app.py" ]

Bot Services Bug customer-replied-to customer-reported

All 8 comments

Hi @neethumoltp

Were there any issues deploying your bot?
What method did you use to deploy?

I鈥檓 running it on my local machine with docker container.

Thank you. I'm tracking a couple of docker issues I believe to be related, and should have an answer for you shortly

@neethumoltp what OS are you using?

MAC OS.

@neethumoltp your docker file doesn't seem to be exposing any ports. Can you add EXPOSE 8000 to the end, and then run your bot using docker run -p 8000:8000 daqbot

@neethumoltp just checking in to see if there is any update from your side?

Closing on behalf of @jwiley84

Was this page helpful?
0 / 5 - 0 ratings

Related issues

giorgobiani picture giorgobiani  路  3Comments

giorigor picture giorigor  路  4Comments

pkirch picture pkirch  路  4Comments

iMicknl picture iMicknl  路  6Comments

madenwala picture madenwala  路  6Comments