# Seems encounter a bug. Failed to use webchat in localhost html

**URL:** <https://forum.rasa.com/t/seems-encounter-a-bug-failed-to-use-webchat-in-localhost-html/14036>\
**Category:** Rasa Open Source\
**Created:** [August 7, 2019, 10:12am UTC](https://forum.rasa.com/t/seems-encounter-a-bug-failed-to-use-webchat-in-localhost-html/14036 "2019-08-07T10:12:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jesda](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@Jesda](https://forum.rasa.com/u/Jesda)\
**Post date:** [August 7, 2019, 10:12am UTC](https://forum.rasa.com/t/seems-encounter-a-bug-failed-to-use-webchat-in-localhost-html/14036/1 "2019-08-07T10:12:42Z")

</div>

I run it in a linux mint virtual machine. Rasa version 1.2&1.1.8. I create a simple html with just webchat embed in it.

With command: rasa run --m models/20190807-145638.tar.gz --endpoint endpoints.yml --enable-api --credentials credentials.yml --cors “\*”

 ![rasa_bug0](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/c/cd2fa6f51696b2606ddba910279ac5370a5e15c0.png) ![rasa_bug](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/6/6140a85399d62d2f08aad094704812a6f747208e.png)

---

<div class="post-metadata">

**Author:** ![Mounika1](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@Mounika1](https://forum.rasa.com/u/Mounika1)\
**Post date:** [August 19, 2019, 10:51am UTC](https://forum.rasa.com/t/seems-encounter-a-bug-failed-to-use-webchat-in-localhost-html/14036/3 "2019-08-19T10:51:28Z")

</div>

I am also facing the same issue, if you fixed this error please help me.

---

<div class="post-metadata">

**Author:** ![Jesda](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@Jesda](https://forum.rasa.com/u/Jesda)\
**Post date:** [August 20, 2019, 1:35am UTC](https://forum.rasa.com/t/seems-encounter-a-bug-failed-to-use-webchat-in-localhost-html/14036/4 "2019-08-20T01:35:31Z")

</div>

It’s a problem of version of engineio and socketio. You should do this after rasa installation:

pip install python-engineio==3.8.1 python-socketio==4.0.3

---

<div class="post-metadata">

**Author:** ![Mounika1](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@Mounika1](https://forum.rasa.com/u/Mounika1)\
**Post date:** [August 20, 2019, 6:00am UTC](https://forum.rasa.com/t/seems-encounter-a-bug-failed-to-use-webchat-in-localhost-html/14036/5 "2019-08-20T06:00:33Z")

</div>

I tried by installing the above versions but still facing the issue.

---

<div class="post-metadata">

**Author:** ![Jesda](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@Jesda](https://forum.rasa.com/u/Jesda)\
**Post date:** [August 20, 2019, 6:02am UTC](https://forum.rasa.com/t/seems-encounter-a-bug-failed-to-use-webchat-in-localhost-html/14036/6 "2019-08-20T06:02:26Z")

</div>

I used rasa 1.1.8 no problem. Maybe you should try this version.
