# Rasa chatbot blank page

**URL:** <https://forum.rasa.com/t/rasa-chatbot-blank-page/55721>\
**Category:** Rasa Open Source\
**Created:** [October 11, 2022, 7:13am UTC](https://forum.rasa.com/t/rasa-chatbot-blank-page/55721 "2022-10-11T07:13:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilanspy](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gilanspy/32/21702_2.png) [@gilanspy](https://forum.rasa.com/u/gilanspy)\
**Post date:** [October 11, 2022, 7:13am UTC](https://forum.rasa.com/t/rasa-chatbot-blank-page/55721/1 "2022-10-11T07:13:48Z")

</div>

I have followed all steps to connect a rasa chatbot to django from ytb [Connect a Rasa Chatbot to a Django Website | Rasa Tutorial - YouTube](https://youtu.be/XMAw_bKTLbA) , but when i try i have a blank page

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/d/d/dd48b959161e82a17a9133d3eafe2ed64c2058d9.png)

---

<div class="post-metadata">

**Author:** ![edu\_vives](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@edu\_vives](https://forum.rasa.com/u/edu_vives)\
**Post date:** [October 11, 2022, 7:35am UTC](https://forum.rasa.com/t/rasa-chatbot-blank-page/55721/2 "2022-10-11T07:35:36Z")

</div>

What component are you using to be able to visualize and use the Webchat from the Frontend? Are you using Chatroom as in the video?

Can you share your HTML code of the component, the views.py and urls.py please?

Just in case, have you added in the _TEMPLATES_ section in the setting.py file the path of your templates? As the video shows, **if your templates are in the main directory** , you can assign it like this:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/8/4/84dcd78ba0931e80e2379f222ce7069a2e053ded.png)

---

<div class="post-metadata">

**Author:** ![gilanspy](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gilanspy/32/21702_2.png) [@gilanspy](https://forum.rasa.com/u/gilanspy)\
**Post date:** [October 11, 2022, 8:32am UTC](https://forum.rasa.com/t/rasa-chatbot-blank-page/55721/3 "2022-10-11T08:32:04Z")

</div>

my views.py : from django.shortcuts import render from django.http import HttpResponse def index(request): return render(request, “chatroom.html”)

urls.py : from django.urls import path, include

from . import views

urlpatterns = [

```
    path('',views.index, name='index')

```

] and my templates at the settings.py same like as the video

---

<div class="post-metadata">

**Author:** ![gilanspy](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gilanspy/32/21702_2.png) [@gilanspy](https://forum.rasa.com/u/gilanspy)\
**Post date:** [October 11, 2022, 8:33am UTC](https://forum.rasa.com/t/rasa-chatbot-blank-page/55721/4 "2022-10-11T08:33:23Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/f/c/fc2fbc7e2d27bc88267d0504e8b9cce5a4f9ba24.png)

---

<div class="post-metadata">

**Author:** ![gilanspy](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gilanspy/32/21702_2.png) [@gilanspy](https://forum.rasa.com/u/gilanspy)\
**Post date:** [October 11, 2022, 8:39am UTC](https://forum.rasa.com/t/rasa-chatbot-blank-page/55721/5 "2022-10-11T08:39:07Z")

</div>

i already to conda activate rasa , install rasa, rasa init , rasa run -m models --enable-api --cors “\*” --debug

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/6/0/60ed25fb5b38e2ad607b8f2935db20210e4f9ef4.png)

---

<div class="post-metadata">

**Author:** ![edu\_vives](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@edu\_vives](https://forum.rasa.com/u/edu_vives)\
**Post date:** [October 11, 2022, 9:18am UTC](https://forum.rasa.com/t/rasa-chatbot-blank-page/55721/6 "2022-10-11T09:18:00Z")

</div>

> [@gilanspy](#):
>
> urls.py

The image you have passed is your urls.py file from the Django App.

The urls.py file of the project (in my\_project folder) you have like this?:

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/1/d/1d861882ba8cbbf058cffc2955e1a8d400ede7d4.png)

If so, the problem must be in the Chatroom Component.

Open the following link and follow the steps in the section **“Usage”**

> **[GitHub - scalableminds/chatroom: React-based Chatroom Component for Rasa Stack](https://github.com/scalableminds/chatroom)**
>
> React-based Chatroom Component for Rasa Stack. Contribute to scalableminds/chatroom development by creating an account on GitHub.

If it still doesn’t work, I recommend you to use the Rasa Webchat component, it has worked for me without problems when connecting it with Django.

Here is the link to the component:

> **[GitHub - botfront/rasa-webchat: A feature-rich chat widget for Rasa and Botfront](https://github.com/botfront/rasa-webchat)**
>
> A feature-rich chat widget for Rasa and Botfront. Contribute to botfront/rasa-webchat development by creating an account on GitHub.

Here a guide on how to integrate it:

[![](https://img.youtube.com/vi/eJMT2FovZsM/maxresdefault.jpg "Rasa chatbot website integration | Quick tutorial") ](https://www.youtube.com/watch?v=eJMT2FovZsM)

IMPORTANT: The only drawback of this component is that you will have to use Rasa version 2.1.2 and Python 3.7, since with higher versions it may not be compatible.

---

<div class="post-metadata">

**Author:** ![gilanspy](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gilanspy/32/21702_2.png) [@gilanspy](https://forum.rasa.com/u/gilanspy)\
**Post date:** [October 11, 2022, 9:37am UTC](https://forum.rasa.com/t/rasa-chatbot-blank-page/55721/7 "2022-10-11T09:37:54Z")

</div>

yes of course i text like that at my urls.py of my project , that why idont know why my page is blank , i search solution in google but i not found the people same like me .but thank you for the response bro
