# Rasa 2.0 Custom Connector deployment on Rasax (33.x) docker

**URL:** <https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [November 20, 2020, 10:57pm UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210 "2020-11-20T22:57:56Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![nmvl](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nmvl](https://forum.rasa.com/u/nmvl)\
**Post date:** [November 20, 2020, 10:57pm UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210/1 "2020-11-20T22:57:56Z")

</div>

I am using a custom connector that works when I run rasa locally, however, when I try to deploy the custom connector on Rasax (33.x) I am receiving and error:

`RasaException: Failed to find input channel class for 'connector.custom_connector.CustomConnector'. 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.`

I installed Rasax on my machine at /etc/rasa/ using: `curl -sSL -o install.sh https://storage.googleapis.com/rasa-x-releases/0.33.1/install.sh`

I created a dir connector/ where I placed my custom\_connectory.py file.

I also placed the following line in credentials.yml: `connector.custom_connector.CustomConnector:`

What am I missing?

---

<div class="post-metadata">

**Author:** ![gaushh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gaushh/32/11154_2.png) [@gaushh](https://forum.rasa.com/u/gaushh)\
**Post date:** [November 23, 2020, 1:36pm UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210/2 "2020-11-23T13:36:44Z")

</div>

Even I am stuck on the same issue since days.

[Issue similar to this. (the one I am facing)](http://forum.rasa.com/t/interact-with-the-deployed-bot-on-k3s-using-quick-install-script-using-custom-connectors/36671/5)

@erohmensing kindly see if you can help or redirect someone who can.

---

<div class="post-metadata">

**Author:** ![gaushh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gaushh/32/11154_2.png) [@gaushh](https://forum.rasa.com/u/gaushh)\
**Post date:** [November 24, 2020, 4:34am UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210/3 "2020-11-24T04:34:48Z")

</div>

@nmvl were you able to find a solution to this?

---

<div class="post-metadata">

**Author:** ![nmvl](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nmvl](https://forum.rasa.com/u/nmvl)\
**Post date:** [November 24, 2020, 7:52am UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210/4 "2020-11-24T07:52:19Z")

</div>

No luck yet 😕

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [November 24, 2020, 8:49am UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210/5 "2020-11-24T08:49:05Z")

</div>

@nvml did you mount the directory as a volume?

---

<div class="post-metadata">

**Author:** ![gaushh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gaushh/32/11154_2.png) [@gaushh](https://forum.rasa.com/u/gaushh)\
**Post date:** [November 24, 2020, 11:41am UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210/6 "2020-11-24T11:41:07Z")

</div>

Kindly elaborate on how to do that. I religiously followed the steps specified by @Arjaan [here](http://forum.rasa.com/t/interact-with-the-deployed-bot-on-k3s-using-quick-install-script-using-custom-connectors/36671/2) but didn’t come across any command mounting directory as volume.

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [November 24, 2020, 11:54am UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210/7 "2020-11-24T11:54:26Z")

</div>

let’s discuss your issue in that thread.

---

<div class="post-metadata">

**Author:** ![nmvl](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nmvl](https://forum.rasa.com/u/nmvl)\
**Post date:** [November 24, 2020, 7:18pm UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210/8 "2020-11-24T19:18:32Z")

</div>

Hi Akela, I am not sure what you mean. Do you have a set of instructions that you are referring to that you could point me at? I do not have a Dockerfile if that is what you are referring to.

These are the files that I have after running the install.sh script I mentioned in my initial post.

 ![rasax_files](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/d/dfd1878550cc3d92380b9750662cbbade1a60a0d.png)

I added my `custom_connector.py` and ` __init__.py` in the connector directory, then ran `docker-compose up -d`.

And added the line as mentioned in my initial post to the credentials.yml file.

Does that help?

---

<div class="post-metadata">

**Author:** ![nmvl](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nmvl](https://forum.rasa.com/u/nmvl)\
**Post date:** [November 30, 2020, 8:41pm UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210/9 "2020-11-30T20:41:52Z")

</div>

Any update on this?

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [December 4, 2020, 12:47pm UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210/10 "2020-12-04T12:47:02Z")

</div>

Sorry @nmvl this slipped through the cracks. You need to mount this directory as a volume to the image, otherwise the image won’t know about that file. You can read more about volumes here: [Use volumes | Docker Documentation](https://docs.docker.com/storage/volumes/)

---

<div class="post-metadata">

**Author:** ![vapdev](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/vapdev/32/18469_2.png) [@vapdev](https://forum.rasa.com/u/vapdev)\
**Post date:** [July 21, 2022, 7:14pm UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210/11 "2022-07-21T19:14:40Z")

</div>

could you please help me out a little more?

---

<div class="post-metadata">

**Author:** ![ChineseZheng](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chinesezheng/32/20722_2.png) [@ChineseZheng](https://forum.rasa.com/u/ChineseZheng)\
**Post date:** [July 22, 2022, 5:57am UTC](https://forum.rasa.com/t/rasa-2-0-custom-connector-deployment-on-rasax-33-x-docker/37210/12 "2022-07-22T05:57:40Z")

</div>

A easy way to avoid all qustion is build yourself server (like handle channel),and use rasa as a nlu server.Believe me ,u won’t feel better more.  
No rasa x,no channel, no custom action.My team hava used this way to server millions of user.  
this suggestion may not help your issue,but can help u save more time in the future
