# Getting strange errors while running rasa interactive through docker after upgrading to 1.5.x

**URL:** <https://forum.rasa.com/t/getting-strange-errors-while-running-rasa-interactive-through-docker-after-upgrading-to-1-5-x/21980>\
**Category:** Rasa Open Source\
**Created:** [December 2, 2019, 9:44pm UTC](https://forum.rasa.com/t/getting-strange-errors-while-running-rasa-interactive-through-docker-after-upgrading-to-1-5-x/21980 "2019-12-02T21:44:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ganeshv](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ganeshv/32/4644_2.png) [@ganeshv](https://forum.rasa.com/u/ganeshv)\
**Post date:** [December 2, 2019, 9:44pm UTC](https://forum.rasa.com/t/getting-strange-errors-while-running-rasa-interactive-through-docker-after-upgrading-to-1-5-x/21980/1 "2019-12-02T21:44:23Z")

</div>

I’m getting quite a few errors while trying to run rasa interactive through docker. I had recently upgraded to 1.5.1 for both rasa and rasa-sdk. Here are my docker files for both -

```
FROM rasa/rasa:latest-full
EXPOSE 5005
COPY . /app/

FROM rasa/rasa-sdk:latest
EXPOSE 5055
COPY actions.py /app/actions/actions.py

```

My rasa-compose.yml file is as follows -

```
version: '3.4'
services:
  rasa:
    image: sample-rasa-core:latest
    ports:
      - 5005:5005
    command: ["run", "--enable-api", "--cors", " \"*\"", "--verbose"]

  rasa-duckling:
    image: rasa/duckling:latest

  rasa-action-server:
    image: sample-rasa-action-server:latest
    command: ["start", "--actions", "actions", "-vv"]
    # volumes:
    # - ./actions.py:/app/actions.py

```

I’m first running - `docker build -t sample-rasa-core . && docker build -t sample-rasa-action-server -f Dockerfile.actionserver . && docker-compose -f rasa-compose.yml up`

upon which I get the Tensorflow error as noted here - [Tensorflow driver : UNKNOWN ERROR (303)](http://forum.rasa.com/t/tensorflow-driver-unknown-error-303/21661).

And then when I try to run rasa interactive through this command - `docker run -it -v $(pwd):/app --name=rasa-interactive --network=rasa_default sample-rasa-core interactive`

I get these errors -

> ERROR rasa.core.training.interactive - An exception occurred while recording messages. Traceback (most recent call last): File “/build/lib/python3.6/site-packages/yarl/ **init**.py”, line 667, in \_encode\_host ip = ip\_address(ip) File “/usr/local/lib/python3.6/ipaddress.py”, line 54, in ip\_address address) ValueError: ‘localhost’ does not appear to be an IPv4 or IPv6 address

and

> AttributeError: ‘str’ object has no attribute ‘isascii’ 2019-12-02 21:30:19 ERROR asyncio - Task exception was never retrieved future: \<Task finished coro=\<\_serve\_application..run\_interactive\_io() done, defined at /build/lib/python3.6/site-packages/rasa/core/training/interactive.py:1452\> exception=AttributeError(“‘str’ object has no attribute ‘isascii’”,)\>`

Can someone help me how to fix? Am I missing a step in the overall upgrade to 1.5.x?

---

<div class="post-metadata">

**Author:** ![bubjanes](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/bubjanes/32/6898_2.png) [@bubjanes](https://forum.rasa.com/u/bubjanes)\
**Post date:** [December 3, 2019, 12:46pm UTC](https://forum.rasa.com/t/getting-strange-errors-while-running-rasa-interactive-through-docker-after-upgrading-to-1-5-x/21980/2 "2019-12-03T12:46:57Z")

</div>

I’m having the same error. I am trying to dockerize my rasa stack (combined NLU-core) project. This error doesn’t seem to occur with the seperate rasa-NLU and rasa-core framework, but my project needs the new rasa.

This error occurs even when I do the demo [Running Rasa with Docker](https://rasa.com/docs/rasa/user-guide/running-rasa-with-docker/). Can you help us?

---

<div class="post-metadata">

**Author:** ![ganeshv](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ganeshv/32/4644_2.png) [@ganeshv](https://forum.rasa.com/u/ganeshv)\
**Post date:** [December 3, 2019, 4:01pm UTC](https://forum.rasa.com/t/getting-strange-errors-while-running-rasa-interactive-through-docker-after-upgrading-to-1-5-x/21980/3 "2019-12-03T16:01:14Z")

</div>

@bubjanes I created the issue here - [Unable to get rasa 1.5.1 working through Docker · Issue #4891 · RasaHQ/rasa · GitHub](https://github.com/RasaHQ/rasa/issues/4891).

---

<div class="post-metadata">

**Author:** ![bubjanes](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/bubjanes/32/6898_2.png) [@bubjanes](https://forum.rasa.com/u/bubjanes)\
**Post date:** [December 3, 2019, 6:59pm UTC](https://forum.rasa.com/t/getting-strange-errors-while-running-rasa-interactive-through-docker-after-upgrading-to-1-5-x/21980/4 "2019-12-03T18:59:52Z")

</div>

Great thanks! I hope we can figure this out
