# Is there any alternative for Socketio with rasa core channel?

**URL:** <https://forum.rasa.com/t/is-there-any-alternative-for-socketio-with-rasa-core-channel/19894>\
**Category:** Rasa Open Source\
**Created:** [October 16, 2019, 10:34am UTC](https://forum.rasa.com/t/is-there-any-alternative-for-socketio-with-rasa-core-channel/19894 "2019-10-16T10:34:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MohamedAbdelnasser](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@MohamedAbdelnasser](https://forum.rasa.com/u/MohamedAbdelnasser)\
**Post date:** [October 16, 2019, 10:34am UTC](https://forum.rasa.com/t/is-there-any-alternative-for-socketio-with-rasa-core-channel/19894/1 "2019-10-16T10:34:43Z")

</div>

i want to use another Input channel with the Agent.handle\_channels() instead of socketio input channel as there is a timeout problems with socket IO

---

<div class="post-metadata">

**Author:** ![btotharye](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/btotharye/32/5321_2.png) [@btotharye](https://forum.rasa.com/u/btotharye)\
**Post date:** [October 16, 2019, 2:20pm UTC](https://forum.rasa.com/t/is-there-any-alternative-for-socketio-with-rasa-core-channel/19894/2 "2019-10-16T14:20:17Z")

</div>

Hello @MohamedAbdelnasser,

First off welcome to the community!!

Can you elaborate a bit more on the ask here, are you asking how to do this or what specifically do you need help with?

Thanks

---

<div class="post-metadata">

**Author:** ![MohamedAbdelnasser](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@MohamedAbdelnasser](https://forum.rasa.com/u/MohamedAbdelnasser)\
**Post date:** [October 17, 2019, 6:23am UTC](https://forum.rasa.com/t/is-there-any-alternative-for-socketio-with-rasa-core-channel/19894/3 "2019-10-17T06:23:08Z")

</div>

Hello @btotharye I have made a small chat bot that making some logic with Microsoft APIs and i am facing a problem , that the rasa socket io restarts randomly after certain queries , i check that the request that didn’t time out but the web chat widget restarts randomly and create a new session id then the chat bot kindly loss the conversation and starts from the beginning.

i would like to use something else like socket IO but i am asking if is it possible to replace rasa core socket io and what is the options and how to do this ?

---

<div class="post-metadata">

**Author:** ![btotharye](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/btotharye/32/5321_2.png) [@btotharye](https://forum.rasa.com/u/btotharye)\
**Post date:** [October 17, 2019, 7:57am UTC](https://forum.rasa.com/t/is-there-any-alternative-for-socketio-with-rasa-core-channel/19894/4 "2019-10-17T07:57:22Z")

</div>

Hello @MohamedAbdelnasser,

I personally have not tried doing what you are doing but I did write a [https://github.com/btotharye/mattermostwrapper](https://github.com/btotharye/mattermostwrapper) as a channel into Rasa a while back and its a connector just like facebook or anything else. So I would imagine you could setup your own process just like this using whatever platform you want besides the socket IO channel.

As you can see from the docs for it, [Mattermost](https://rasa.com/docs/rasa/user-guide/connectors/mattermost/#id1) works pretty much the same as any other connector just update the details in the credentials file and it works so I guess you could do something similar.

I can try to test some of the socketIO stuff more but I haven’t seen this issue myself yet obviously.
