Socketio_connector. SocketIOInput'. Unknown input channel

I am following the link “How to build a voice assistant with open source Rasa and Mozilla tools” to integrate speech with Rasa. I added the following in credentials.yml file.

socketio_connector.SocketIOInput: bot_message_evt: bot_uttered session_persistence: true user_message_evt: user_uttered

When I am running ``` rasa run --enable-api -p 5005

I am getting error.......

rasa run --enable-api -p 5005
2019-12-03 00:02:45 INFO     root  - Generating grammar tables from /usr/lib/python3.7/lib2to3/Grammar.txt
2019-12-03 00:02:45 INFO     root  - Generating grammar tables from /usr/lib/python3.7/lib2to3/PatternGrammar.txt
Traceback (most recent call last):
  File "/home/saravanan/.local/lib/python3.7/site-packages/rasa/core/", line 59, in _create_single_channel
    input_channel_class = rasa.utils.common.class_from_module_path(channel)
  File "/home/saravanan/.local/lib/python3.7/site-packages/rasa/utils/", line 180, in class_from_module_path
    m = importlib.import_module(module_name)
  File "/usr/lib/python3.7/importlib/", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/saravanan/Saravanan/Speech/Sara/rasa-demo/", line 26, in <module>
    from TTS.models.tacotron import Tacotron
ModuleNotFoundError: No module named 'TTS'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/saravanan/.local/bin/rasa", line 10, in <module>
  File "/home/saravanan/.local/lib/python3.7/site-packages/rasa/", line 76, in main
  File "/home/saravanan/.local/lib/python3.7/site-packages/rasa/cli/", line 85, in run**vars(args))
  File "/home/saravanan/.local/lib/python3.7/site-packages/rasa/", line 56, in run
  File "/home/saravanan/.local/lib/python3.7/site-packages/rasa/core/", line 161, in serve_application
    input_channels = create_http_input_channels(channel, credentials)
  File "/home/saravanan/.local/lib/python3.7/site-packages/rasa/core/", line 48, in create_http_input_channels
    return [_create_single_channel(c, k) for c, k in all_credentials.items()]
  File "/home/saravanan/.local/lib/python3.7/site-packages/rasa/core/", line 48, in <listcomp>
    return [_create_single_channel(c, k) for c, k in all_credentials.items()]
  File "/home/saravanan/.local/lib/python3.7/site-packages/rasa/core/", line 67, in _create_single_channel
    "is a proper name of a class in a module.".format(channel)
Exception: Failed to find input channel class for 'socketio_connector.SocketIOInput'. Unknown input channel. Check your credentials configuration to make sure the mentioned channel is not misspelled. If you are creating your own channel, make sure it is a proper name of a class in a module.

Hey @saravananselvamohan,

Sorry for the late reply. This appears to be a missing module the ‘TTS’, were you able to get that resolved? I can review the post and test it myself and see but that appears to be the main issue I"m seeing in this error initially.

There was a section in the post about doing the following, was this completed?

git clone
cd TTS
git checkout db7f3d3

Then installing this, this could be the missing part.

Thanks @btotharye. I fixed all misconfigurations with me. I also moved to creating Chatbot UI with Rasa. I found all the existing documents in Rasa website clearly explained to newbie like me. Happy Learning with Rasa:smile:

1 Like