# Conversations disappearance

**URL:** <https://forum.rasa.com/t/conversations-disappearance/6209>\
**Category:** Rasa Open Source\
**Created:** [March 21, 2019, 6:01am UTC](https://forum.rasa.com/t/conversations-disappearance/6209 "2019-03-21T06:01:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chaitanya](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@Chaitanya](https://forum.rasa.com/u/Chaitanya)\
**Post date:** [March 21, 2019, 6:01am UTC](https://forum.rasa.com/t/conversations-disappearance/6209/1 "2019-03-21T06:01:53Z")

</div>

My conversations are disappeared after refreshing the webpage. How can we resolve this issue.Please help me.

---

<div class="post-metadata">

**Author:** ![netcarver](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/netcarver/32/1147_2.png) [@netcarver](https://forum.rasa.com/u/netcarver)\
**Post date:** [March 21, 2019, 11:12am UTC](https://forum.rasa.com/t/conversations-disappearance/6209/2 "2019-03-21T11:12:14Z")

</div>

@Chaitanya Hi, could you post more details of your set-up. You mention using a webpage - but which client are you using and how are you connecting to the bot?

---

<div class="post-metadata">

**Author:** ![tograssm](https://avatars.discourse-cdn.com/v4/letter/t/f475e1/32.png) [@tograssm](https://forum.rasa.com/u/tograssm)\
**Post date:** [March 21, 2019, 1:14pm UTC](https://forum.rasa.com/t/conversations-disappearance/6209/3 "2019-03-21T13:14:49Z")

</div>

When using [rasa web chat](https://github.com/mrbot-ai/rasa-webchat) you’ll have to set `storage: "local"` in your “WebChat.default.init”

---

<div class="post-metadata">

**Author:** ![Chaitanya](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@Chaitanya](https://forum.rasa.com/u/Chaitanya)\
**Post date:** [March 22, 2019, 4:45pm UTC](https://forum.rasa.com/t/conversations-disappearance/6209/4 "2019-03-22T16:45:05Z")

</div>

Hi @tograssm, I have set `storage: "local"`. But it is not working. This is my Web Chat code :[chat.html](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/2/2b6efbe7db2924e04b65f7b3b09adc0cb1da2f87.html) (776 Bytes)

Here I am using src=“[https://storage.googleapis.com/mrbot-cdn/webchat-0.4.1.js](https://storage.googleapis.com/mrbot-cdn/webchat-0.4.1.js)” instead of 0.5.6.js . Because it 0.5.6.js is not working for me. Is it working for you

---

<div class="post-metadata">

**Author:** ![tograssm](https://avatars.discourse-cdn.com/v4/letter/t/f475e1/32.png) [@tograssm](https://forum.rasa.com/u/tograssm)\
**Post date:** [March 25, 2019, 11:49am UTC](https://forum.rasa.com/t/conversations-disappearance/6209/5 "2019-03-25T11:49:47Z")

</div>

I’m using [https://storage.googleapis.com/mrbot-cdn/webchat-latest.js](https://storage.googleapis.com/mrbot-cdn/webchat-latest.js) (atm 0.5.6).

It’s working for me in firefox and chrome. What browser are you using and in which way does the 0.5.6 not work for you?

```
<html>
<head>
<script src="https://storage.googleapis.com/mrbot-cdn/webchat-latest.js"></script>
</head>
<body>
  <div id="webchat"/>
  <script>
WebChat.default.init({
  selector: "#webchat",
  initPayload: "/start",
  interval: 1000, // 1000 ms between each message
  customData: {"userId": "123"}, // arbitrary custom data. Stay minimal as this will be added to the socket
  socketUrl: "http://localhost:5002", // change to rasa_core --port value
  socketPath: "/socket.io/",
  title: "Title",
  subtitle: "Subtitle",
  inputTextFieldHint: "Type a message...",
  connectingText: "Waiting for server...",
  fullScreenMode: true,
  profileAvatar: "https://XXXX/avatarpng",
  params: {
    images: {
      dims: {
        width: 300,
        height: 200,
      }
    },
    storage: "local"
  }
});
WebChat.open();
</script>

</body>
</html>

```

This works for me. The conversation is still available when reloading/closing and reopening the tab.

---

<div class="post-metadata">

**Author:** ![Chaitanya](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@Chaitanya](https://forum.rasa.com/u/Chaitanya)\
**Post date:** [March 26, 2019, 7:18am UTC](https://forum.rasa.com/t/conversations-disappearance/6209/6 "2019-03-26T07:18:53Z")

</div>

Hi @tograssm, I am using Chrome, while using 0.5.6 bot icon is not visible. While using the code you are sent also.

---

<div class="post-metadata">

**Author:** ![tograssm](https://avatars.discourse-cdn.com/v4/letter/t/f475e1/32.png) [@tograssm](https://forum.rasa.com/u/tograssm)\
**Post date:** [March 26, 2019, 10:56am UTC](https://forum.rasa.com/t/conversations-disappearance/6209/7 "2019-03-26T10:56:57Z")

</div>

Hey! Do you mean the “profile picture” of the bot in the conversation or the “+” Icon, that should open the chat window?

The chat-widget only gets displayed as soon as it is able to connect to the [socket.io](http://socket.io) server provided by your rasa\_core. Could you try to start your bot and wait until it’s fully started up before you open the website with your chat widget?

If you saved my code from above, keep in mind, that you’ll only see a blank white page, until the bot get’s started with [socket.io](http://socket.io) server up and running. So having the page open, the chat widget should pop up as soon as it is able to successfully connect to the rasa\_core server. Would be nice if you could try this and report back, if this worked for you.

Otherwise it could be helpful to see the code of your webpage and your code that starts the rasa bot

---

<div class="post-metadata">

**Author:** ![Chaitanya](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@Chaitanya](https://forum.rasa.com/u/Chaitanya)\
**Post date:** [March 26, 2019, 11:07am UTC](https://forum.rasa.com/t/conversations-disappearance/6209/8 "2019-03-26T11:07:17Z")

</div>

Hi @tograssm, [socket.io](http://socket.io) server is running fine , but still showing white blank page. Apart from that data disappearing after refreshing issue is still pending.Please help me.

---

<div class="post-metadata">

**Author:** ![Chaitanya](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@Chaitanya](https://forum.rasa.com/u/Chaitanya)\
**Post date:** [March 27, 2019, 4:27pm UTC](https://forum.rasa.com/t/conversations-disappearance/6209/9 "2019-03-27T16:27:41Z")

</div>

Hi @tograssm, Is there any solution.
