# Rasa X on a server: Custom actions not working

**URL:** <https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [January 16, 2020, 2:43pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604 "2020-01-16T14:43:37Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiziano](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tiziano](https://forum.rasa.com/u/tiziano)\
**Post date:** [January 16, 2020, 2:43pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/1 "2020-01-16T14:43:37Z")

</div>

Hi,

I deployed Rasa X on my server with docker-compose, integrated with GitHub, and now everything seems to work except for the custom actions. When I try to trigger a custom action the bot can’t return any answer:

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

What can be the problem? What can I have missed from the installation?

---

<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:** [January 16, 2020, 4:33pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/2 "2020-01-16T16:33:51Z")

</div>

Can you share the logs from the action server? You should be able to get it from `docker-compose logs` command

---

<div class="post-metadata">

**Author:** ![tiziano](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tiziano](https://forum.rasa.com/u/tiziano)\
**Post date:** [January 16, 2020, 4:39pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/3 "2020-01-16T16:39:59Z")

</div>

They didn’t fit in the command line, so I only could copy a part of them 😅

Here you go:

```
nginx_1 | 130.246.235.167 - - [16/Jan/2020:15:39:18 +0000] "GET /api/conversations/b4fbe024-e2c8-487b-b91f-89f118b330a5?since=0&environment=production HTTP/1.1" 404 198 "http://178.62.104.99/guest/conversations/production/d82d8a4c9356413ea6d3d5092ed8f5f0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363"

```

nginx\_1 | 130.246.235.167 - - [16/Jan/2020:15:39:19 +0000] “GET /api/conversations/fa4e3c2448294f6a89fd6f7d46e12385?since=1579185625.193116&environment=production HTTP/1.1” 200 327 “[http://178.62.104.99/interactive](http://178.62.104.99/interactive)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” nginx\_1 | 120.52.120.5 - - [16/Jan/2020:15:39:20 +0000] “POST /xmlrpc.php HTTP/1.0” 200 3173 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; [http://www.google.com/bot.html](http://www.google.com/bot.html))” nginx\_1 | 2020/01/16 15:39:22 [notice] 1#0: signal 15 (SIGTERM) received, exiting nginx\_1 | 2020/01/16 15:39:22 [notice] 15#0: exiting nginx\_1 | 2020/01/16 15:39:22 [notice] 12#0: exiting nginx\_1 | 2020/01/16 15:39:22 [notice] 12#0: exit nginx\_1 | 2020/01/16 15:39:22 [notice] 15#0: exit nginx\_1 | 2020/01/16 15:39:22 [notice] 14#0: exiting nginx\_1 | 2020/01/16 15:39:22 [notice] 13#0: exiting nginx\_1 | 2020/01/16 15:39:22 [notice] 14#0: exit nginx\_1 | 2020/01/16 15:39:22 [notice] 13#0: exit nginx\_1 | 2020/01/16 15:39:22 [notice] 1#0: signal 17 (SIGCHLD) received from 15 nginx\_1 | 2020/01/16 15:39:22 [notice] 1#0: worker process 12 exited with code 0 nginx\_1 | 2020/01/16 15:39:22 [notice] 1#0: worker process 13 exited with code 0 nginx\_1 | 2020/01/16 15:39:22 [notice] 1#0: worker process 15 exited with code 0 nginx\_1 | 2020/01/16 15:39:22 [notice] 1#0: signal 17 (SIGCHLD) received from 14 nginx\_1 | 2020/01/16 15:39:22 [notice] 1#0: worker process 14 exited with code 0 nginx\_1 | 2020/01/16 15:39:22 [notice] 1#0: exit nginx\_1 | SSL encryption is not used since no certificates were provided. nginx\_1 | % Total % Received % Xferd Average Speed Time Time Time Current nginx\_1 | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0curl: (7) Failed to connect to app port 80: Connection refused nginx\_1 | 7 nginx\_1 | \>\> exec docker CMD nginx\_1 | nginx nginx\_1 | 2020/01/16 15:39:54 [notice] 1#0: using the “epoll” event method nginx\_1 | 2020/01/16 15:39:54 [notice] 1#0: nginx/1.14.2 nginx\_1 | 2020/01/16 15:39:54 [notice] 1#0: built by gcc 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) nginx\_1 | 2020/01/16 15:39:54 [notice] 1#0: OS: Linux 4.15.0-74-generic nginx\_1 | 2020/01/16 15:39:54 [notice] 1#0: getrlimit(RLIMIT\_NOFILE): 1048576:1048576 nginx\_1 | 2020/01/16 15:39:54 [notice] 1#0: start worker processes nginx\_1 | 2020/01/16 15:39:54 [notice] 1#0: start worker process 12 nginx\_1 | 2020/01/16 15:39:54 [notice] 1#0: start worker process 13 nginx\_1 | 2020/01/16 15:39:54 [notice] 1#0: start worker process 14 nginx\_1 | 2020/01/16 15:39:54 [notice] 1#0: start worker process 15 nginx\_1 | 130.246.235.167 - - [16/Jan/2020:15:39:54 +0000] “GET /api/conversations/fa4e3c2448294f6a89fd6f7d46e12385?since=1579185625.193116&environment=production HTTP/1.1” 401 57 “[http://178.62.104.99/interactive](http://178.62.104.99/interactive)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” nginx\_1 | 130.246.235.167 - - [16/Jan/2020:15:39:57 +0000] “GET /api/conversations/b4fbe024-e2c8-487b-b91f-89f118b330a5?since=0&environment=production HTTP/1.1” 401 57 “[http://178.62.104.99/guest/conversations/production/d82d8a4c9356413ea6d3d5092ed8f5f0](http://178.62.104.99/guest/conversations/production/d82d8a4c9356413ea6d3d5092ed8f5f0)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” 36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363" nginx\_1 | 2020/01/16 16:02:43 [info] 14#0: \*410 client closed connection while waiting for request, client: 130.246.235.167, server: 0.0.0.0:8080 nginx\_1 | 120.52.120.5 - - [16/Jan/2020:16:03:01 +0000] “POST /xmlrpc.php HTTP/1.0” 200 3173 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; [http://www.google.com/bot.html](http://www.google.com/bot.html))” nginx\_1 | 130.246.235.167 - - [16/Jan/2020:16:03:10 +0000] “GET /api/projects/default/git\_repositories/1/status HTTP/1.1” 200 171 “[http://178.62.104.99/conversations](http://178.62.104.99/conversations)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” nginx\_1 | 120.52.120.5 - - [16/Jan/2020:16:03:23 +0000] “POST /xmlrpc.php HTTP/1.0” 200 3173 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; [http://www.google.com/bot.html](http://www.google.com/bot.html))” nginx\_1 | 120.52.120.5 - - [16/Jan/2020:16:04:01 +0000] “POST /xmlrpc.php HTTP/1.0” 200 3173 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; [http://www.google.com/bot.html](http://www.google.com/bot.html))” nginx\_1 | 2020/01/16 16:04:09 [info] 14#0: \*413 client timed out (110: Connection timed out) while waiting for request, client: 130.246.235.167, server: 0.0.0.0:8080 nginx\_1 | 130.246.235.167 - - [16/Jan/2020:16:04:11 +0000] “GET /api/projects/default/git\_repositories/1/status HTTP/1.1” 200 171 “[http://178.62.104.99/conversations](http://178.62.104.99/conversations)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” nginx\_1 | 2020/01/16 16:04:18 [notice] 1#0: signal 15 (SIGTERM) received, exiting nginx\_1 | 2020/01/16 16:04:18 [notice] 13#0: exiting nginx\_1 | 2020/01/16 16:04:18 [notice] 13#0: exit nginx\_1 | 2020/01/16 16:04:18 [notice] 12#0: exiting nginx\_1 | 2020/01/16 16:04:18 [notice] 15#0: exiting nginx\_1 | 2020/01/16 16:04:18 [notice] 15#0: exit nginx\_1 | 2020/01/16 16:04:18 [notice] 12#0: exit nginx\_1 | 2020/01/16 16:04:18 [notice] 1#0: signal 17 (SIGCHLD) received from 13 nginx\_1 | 2020/01/16 16:04:18 [notice] 14#0: exiting nginx\_1 | 2020/01/16 16:04:18 [notice] 1#0: worker process 13 exited with code 0 nginx\_1 | 2020/01/16 16:04:18 [notice] 1#0: signal 29 (SIGIO) received nginx\_1 | 2020/01/16 16:04:18 [notice] 14#0: exit nginx\_1 | 2020/01/16 16:04:18 [notice] 1#0: signal 17 (SIGCHLD) received from 15 nginx\_1 | 2020/01/16 16:04:18 [notice] 1#0: worker process 12 exited with code 0 nginx\_1 | 2020/01/16 16:04:18 [notice] 1#0: worker process 15 exited with code 0 nginx\_1 | 2020/01/16 16:04:18 [notice] 1#0: signal 29 (SIGIO) received nginx\_1 | 2020/01/16 16:04:18 [notice] 1#0: signal 17 (SIGCHLD) received from 14 nginx\_1 | 2020/01/16 16:04:18 [notice] 1#0: worker process 14 exited with code 0 nginx\_1 | 2020/01/16 16:04:18 [notice] 1#0: exit nginx\_1 | SSL encryption is not used since no certificates were provided. nginx\_1 | % Total % Received % Xferd Average Speed Time Time Time Current nginx\_1 | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0curl: (7) Failed to connect to app port 80: Connection refused nginx\_1 | 7 nginx\_1 | \>\> exec docker CMD nginx\_1 | nginx nginx\_1 | 2020/01/16 16:15:40 [notice] 1#0: using the “epoll” event method nginx\_1 | 2020/01/16 16:15:40 [notice] 1#0: nginx/1.14.2 nginx\_1 | 2020/01/16 16:15:40 [notice] 1#0: built by gcc 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) nginx\_1 | 2020/01/16 16:15:40 [notice] 1#0: OS: Linux 4.15.0-74-generic nginx\_1 | 2020/01/16 16:15:40 [notice] 1#0: getrlimit(RLIMIT\_NOFILE): 1048576:1048576 nginx\_1 | 2020/01/16 16:15:40 [notice] 1#0: start worker processes nginx\_1 | 2020/01/16 16:15:40 [notice] 1#0: start worker process 12 nginx\_1 | 2020/01/16 16:15:40 [notice] 1#0: start worker process 13 nginx\_1 | 2020/01/16 16:15:40 [notice] 1#0: start worker process 14 nginx\_1 | 2020/01/16 16:15:40 [notice] 1#0: start worker process 15 nginx\_1 | 130.246.235.167 - - [16/Jan/2020:16:16:22 +0000] “GET /api/projects/default/git\_repositories/1/status HTTP/1.1” 401 57 “[http://178.62.104.99/conversations](http://178.62.104.99/conversations)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” nginx\_1 | 130.246.235.167 - - [16/Jan/2020:16:16:22 +0000] “GET /static/media/rasa\_horizontal\_logo\_white.bf7620f2.svg HTTP/1.1” 304 0 “[http://178.62.104.99/interactive](http://178.62.104.99/interactive)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” nginx\_1 | 120.52.120.5 - - [16/Jan/2020:16:16:33 +0000] “POST /xmlrpc.php HTTP/1.0” 200 3173 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; [http://www.google.com/bot.html](http://www.google.com/bot.html))” nginx\_1 | 2020/01/16 16:16:47 [notice] 1#0: signal 15 (SIGTERM) received, exiting nginx\_1 | 2020/01/16 16:16:47 [notice] 12#0: exiting nginx\_1 | 2020/01/16 16:16:47 [notice] 15#0: exiting nginx\_1 | 2020/01/16 16:16:47 [notice] 12#0: exit nginx\_1 | 2020/01/16 16:16:47 [notice] 15#0: exit nginx\_1 | 2020/01/16 16:16:47 [notice] 14#0: exiting nginx\_1 | 2020/01/16 16:16:47 [notice] 1#0: signal 17 (SIGCHLD) received from 15 nginx\_1 | 2020/01/16 16:16:47 [notice] 1#0: worker process 15 exited with code 0 nginx\_1 | 2020/01/16 16:16:47 [notice] 1#0: signal 29 (SIGIO) received nginx\_1 | 2020/01/16 16:16:47 [notice] 14#0: exit nginx\_1 | 2020/01/16 16:16:47 [notice] 13#0: exiting nginx\_1 | 2020/01/16 16:16:47 [notice] 13#0: exit nginx\_1 | 2020/01/16 16:16:47 [notice] 1#0: signal 17 (SIGCHLD) received from 14 nginx\_1 | 2020/01/16 16:16:47 [notice] 1#0: worker process 14 exited with code 0 nginx\_1 | 2020/01/16 16:16:47 [notice] 1#0: signal 29 (SIGIO) received nginx\_1 | 2020/01/16 16:16:47 [notice] 1#0: signal 17 (SIGCHLD) received from 13 nginx\_1 | 2020/01/16 16:16:47 [notice] 1#0: worker process 13 exited with code 0 nginx\_1 | 2020/01/16 16:16:47 [notice] 1#0: signal 17 (SIGCHLD) received from 12 nginx\_1 | 2020/01/16 16:16:47 [notice] 1#0: worker process 12 exited with code 0 nginx\_1 | 2020/01/16 16:16:47 [notice] 1#0: exit nginx\_1 | SSL encryption is not used since no certificates were provided. nginx\_1 | % Total % Received % Xferd Average Speed Time Time Time Current nginx\_1 | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0curl: (7) Failed to connect to app port 80: Connection refused nginx\_1 | 7 nginx\_1 | \>\> exec docker CMD nginx\_1 | nginx nginx\_1 | 2020/01/16 16:23:38 [notice] 1#0: using the “epoll” event method nginx\_1 | 2020/01/16 16:23:38 [notice] 1#0: nginx/1.14.2 nginx\_1 | 2020/01/16 16:23:38 [notice] 1#0: built by gcc 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) nginx\_1 | 2020/01/16 16:23:38 [notice] 1#0: OS: Linux 4.15.0-74-generic nginx\_1 | 2020/01/16 16:23:38 [notice] 1#0: getrlimit(RLIMIT\_NOFILE): 1048576:1048576 nginx\_1 | 2020/01/16 16:23:38 [notice] 1#0: start worker processes nginx\_1 | 2020/01/16 16:23:38 [notice] 1#0: start worker process 12 nginx\_1 | 2020/01/16 16:23:38 [notice] 1#0: start worker process 13 nginx\_1 | 2020/01/16 16:23:38 [notice] 1#0: start worker process 14 nginx\_1 | 2020/01/16 16:23:38 [notice] 1#0: start worker process 15 nginx\_1 | 120.52.120.5 - - [16/Jan/2020:16:24:02 +0000] “POST /xmlrpc.php HTTP/1.0” 200 3173 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; [http://www.google.com/bot.html](http://www.google.com/bot.html))” nginx\_1 | 120.52.120.5 - - [16/Jan/2020:16:24:26 +0000] “POST /xmlrpc.php HTTP/1.0” 200 3173 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; [http://www.google.com/bot.html](http://www.google.com/bot.html))” nginx\_1 | 120.52.120.5 - - [16/Jan/2020:16:24:43 +0000] “POST /xmlrpc.php HTTP/1.0” 200 3173 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; [http://www.google.com/bot.html](http://www.google.com/bot.html))” nginx\_1 | 120.52.120.5 - - [16/Jan/2020:16:25:17 +0000] “POST /xmlrpc.php HTTP/1.0” 200 3173 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; [http://www.google.com/bot.html](http://www.google.com/bot.html))” nginx\_1 | 120.52.120.5 - - [16/Jan/2020:16:26:20 +0000] “POST /xmlrpc.php HTTP/1.0” 200 3173 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; [http://www.google.com/bot.html](http://www.google.com/bot.html))” nginx\_1 | 120.52.120.5 - - [16/Jan/2020:16:26:30 +0000] “POST /xmlrpc.php HTTP/1.0” 200 3173 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; [http://www.google.com/bot.html](http://www.google.com/bot.html))” nginx\_1 | 120.52.120.5 - - [16/Jan/2020:16:26:34 +0000] “POST /xmlrpc.php HTTP/1.0” 200 3173 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; [http://www.google.com/bot.html](http://www.google.com/bot.html))” nginx\_1 | 130.246.235.167 - - [16/Jan/2020:16:26:38 +0000] “POST /api/auth HTTP/1.1” 200 1668 “[http://178.62.104.99/login](http://178.62.104.99/login)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” nginx\_1 | 130.246.235.167 - - [16/Jan/2020:16:26:38 +0000] “GET /static/media/conversations\_placeholder.6ff85dae.svg HTTP/1.1” 304 0 “[http://178.62.104.99/interactive](http://178.62.104.99/interactive)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” nginx\_1 | 130.246.235.167 - - [16/Jan/2020:16:26:38 +0000] “GET /api/projects/default/git\_repositories HTTP/1.1” 200 130 “[http://178.62.104.99/conversations](http://178.62.104.99/conversations)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363" nginx\_1 | 130.246.235.167 - - [16/Jan/2020:16:29:56 +0000] “GET /api/conversations/f614acf813e547f69d5c0f5d43ed3471?since=1579189562.4544136&environment=production HTTP/1.1” 200 327 “[http://178.62.104.99/interactive](http://178.62.104.99/interactive)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” nginx\_1 | 130.246.235.167 - - [16/Jan/2020:16:30:00 +0000] “GET /api/conversations/f614acf813e547f69d5c0f5d43ed3471?since=1579189562.4544136&environment=production HTTP/1.1” 200 327 “[http://178.62.104.99/interactive](http://178.62.104.99/interactive)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: signal 15 (SIGTERM) received, exiting nginx\_1 | 2020/01/16 16:30:02 [notice] 13#0: exiting nginx\_1 | 2020/01/16 16:30:02 [notice] 12#0: exiting nginx\_1 | 2020/01/16 16:30:02 [notice] 14#0: exiting nginx\_1 | 2020/01/16 16:30:02 [notice] 13#0: exit nginx\_1 | 2020/01/16 16:30:02 [notice] 12#0: exit nginx\_1 | 2020/01/16 16:30:02 [notice] 14#0: exit nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: signal 17 (SIGCHLD) received from 12 nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: worker process 12 exited with code 0 nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: signal 29 (SIGIO) received nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: signal 17 (SIGCHLD) received from 13 nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: worker process 13 exited with code 0 nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: signal 29 (SIGIO) received nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: signal 17 (SIGCHLD) received from 14 nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: worker process 14 exited with code 0 nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: signal 29 (SIGIO) received nginx\_1 | 2020/01/16 16:30:02 [notice] 15#0: exiting nginx\_1 | 2020/01/16 16:30:02 [notice] 15#0: exit nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: signal 17 (SIGCHLD) received from 15 nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: worker process 15 exited with code 0 nginx\_1 | 2020/01/16 16:30:02 [notice] 1#0: exit nginx\_1 | SSL encryption is not used since no certificates were provided. nginx\_1 | % Total % Received % Xferd Average Speed Time Time Time Current nginx\_1 | Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0curl: (7) Failed to connect to app port 80: Connection refused nginx\_1 | 7 nginx\_1 | \>\> exec docker CMD nginx\_1 | nginx nginx\_1 | 2020/01/16 16:32:40 [notice] 1#0: using the “epoll” event method nginx\_1 | 2020/01/16 16:32:40 [notice] 1#0: nginx/1.14.2 nginx\_1 | 2020/01/16 16:32:40 [notice] 1#0: built by gcc 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) nginx\_1 | 2020/01/16 16:32:40 [notice] 1#0: OS: Linux 4.15.0-74-generic nginx\_1 | 2020/01/16 16:32:40 [notice] 1#0: getrlimit(RLIMIT\_NOFILE): 1048576:1048576 nginx\_1 | 2020/01/16 16:32:40 [notice] 1#0: start worker processes nginx\_1 | 2020/01/16 16:32:40 [notice] 1#0: start worker process 12 nginx\_1 | 2020/01/16 16:32:40 [notice] 1#0: start worker process 13 nginx\_1 | 2020/01/16 16:32:40 [notice] 1#0: start worker process 14 nginx\_1 | 2020/01/16 16:32:40 [notice] 1#0: start worker process 15 nginx\_1 | 130.246.235.167 - - [16/Jan/2020:16:32:40 +0000] “GET /api/conversations/f614acf813e547f69d5c0f5d43ed3471?since=1579189562.4544136&environment=production HTTP/1.1” 401 57 “[http://178.62.104.99/interactive](http://178.62.104.99/interactive)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363” nginx\_1 | 130.246.235.167 - - [16/Jan/2020:16:32:40 +0000] “GET /static/media/rasa\_horizontal\_logo\_white.bf7620f2.svg HTTP/1.1” 304 0 “[http://178.62.104.99/interactive](http://178.62.104.99/interactive)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363”

---

<div class="post-metadata">

**Author:** ![tiziano](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tiziano](https://forum.rasa.com/u/tiziano)\
**Post date:** [January 17, 2020, 9:36am UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/4 "2020-01-17T09:36:46Z")

</div>

Anyone? Please 🙏@Tobias_Wochinger?

---

<div class="post-metadata">

**Author:** ![varunsapre10](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/varunsapre10/32/6520_2.png) [@varunsapre10](https://forum.rasa.com/u/varunsapre10)\
**Post date:** [January 18, 2020, 11:14am UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/5 "2020-01-18T11:14:19Z")

</div>

Did you start the action server by ‘rasa run actions’??

---

<div class="post-metadata">

**Author:** ![tiziano](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tiziano](https://forum.rasa.com/u/tiziano)\
**Post date:** [January 20, 2020, 8:57am UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/6 "2020-01-20T08:57:26Z")

</div>

I’m running Rasa X on a server. Btw it works now, thank you

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [January 20, 2020, 9:26am UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/7 "2020-01-20T09:26:58Z")

</div>

How did you fix it @tiziano? Anything which we can improve to make the setup of the custom action server easier ?

---

<div class="post-metadata">

**Author:** ![tiziano](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tiziano](https://forum.rasa.com/u/tiziano)\
**Post date:** [January 20, 2020, 9:48am UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/8 "2020-01-20T09:48:05Z")

</div>

There was a dependency missing, I fixed the problem following [this](https://rasa.com/docs/rasa/user-guide/running-rasa-with-docker/#adding-custom-dependencies) guide. I guess it was my fault that didn’t look at it in the first place.

What can be improved, though, is the explanation of which files you need to have in your server in order to make it work (config? credentials? nlu?). For example now I’m getting an error saying that File ‘data/intent\_description\_mapping.csv’ doesn’t exist, but I do have the file in my server, so where should I deploy it?

And I also I’d like to have clear how to test the chatbot without using rasa X. Thank you, Tiziano

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [January 20, 2020, 8:08pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/9 "2020-01-20T20:08:01Z")

</div>

> For example now I’m getting an error saying that File ‘data/intent\_description\_mapping.csv’ doesn’t exist, but I do have the file in my server, so where should I deploy it?

This is in your action server, right? Did you add it to the docker image of your action server?

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [January 20, 2020, 8:08pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/10 "2020-01-20T20:08:38Z")

</div>

> [@tiziano](#):
>
> What can be improved, though, is the explanation of which files you need to have in your server in order to make it work (config? credentials? nlu?).

You actually shouldn’t need any files to get started 👀 What were the other errors, which you got?

---

<div class="post-metadata">

**Author:** ![tiziano](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tiziano](https://forum.rasa.com/u/tiziano)\
**Post date:** [January 21, 2020, 9:47am UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/11 "2020-01-21T09:47:51Z")

</div>

> [@Tobias\_Wochinger](#):
>
> This is in your action server, right? Did you add it to the docker image of your action server?

I solved that error [here](http://forum.rasa.com/t/filenotfounderror-errno-2/23720), thank you anyway!

> [@Tobias\_Wochinger](#):
>
> You actually shouldn’t need any files to get started 👀 What were the other errors, which you got?

Alright, now I think I have it more or less clear. If you look at the topics I opened you can see all the errors I got during the Rasa X installation, they’ve been many and cannot even remember all of them 😬

---

<div class="post-metadata">

**Author:** ![slcheungcasado](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/slcheungcasado/32/7865_2.png) [@slcheungcasado](https://forum.rasa.com/u/slcheungcasado)\
**Post date:** [March 23, 2020, 3:34pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/12 "2020-03-23T15:34:45Z")

</div>

I need some help with a similar issue. I’m getting:

```
action_server_1 | 2020-03-23 15:15:07 INFO rasa_sdk.endpoint - Starting action endpoint s
erver...
action_server_1 | 2020-03-23 15:15:07 ERROR rasa_sdk.executor - Failed to register package
 'actions.actions'.
action_server_1 | Traceback (most recent call last):
action_server_1 | File "/app/rasa_sdk/executor.py", line 208, in register_package
action_server_1 | self._import_submodules(package)
action_server_1 | File "/app/rasa_sdk/executor.py", line 192, in _import_submodules
action_server_1 | package = importlib.import_module(package)
action_server_1 | File "/usr/local/lib/python3.6/importlib/ __init__.py", line 126, in import
_module
action_server_1 | return _bootstrap._gcd_import(name[level:], package, level)
action_server_1 | File "<frozen importlib._bootstrap>", line 994, in _gcd_import
action_server_1 | File "<frozen importlib._bootstrap>", line 971, in _find_and_load
action_server_1 | File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
action_server_1 | File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
action_server_1 | File "<frozen importlib._bootstrap_external>", line 678, in exec_module
action_server_1 | File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_remov
ed
action_server_1 | File "/app/actions/actions.py", line 19, in <module>
action_server_1 | import pandas as pd
action_server_1 | ModuleNotFoundError: No module named 'pandas'
app_1 | INFO:rasa_sdk.endpoint:Starting action endpoint server...

```

`Dockerfile`

```
FROM rasa/rasa-sdk:latest
USER root
RUN pip install --no-cache-dir requests
RUN pip install --no-cache-dir pandas
USER 1001

```

I’ve ran `sudo docker system prune --all` and `sudo docker image prune --all` and then I ran: `sudo docker build . -t rasa-sdk:latest` and `sudo docker-compose up -d`, but then action\_server somehow still doesn’t know what `pandas` is.

I added this inside the `docker-compose.yml` just under `services`:

```
action_server:
    image: rasa/rasa-sdk:latest
    volumes:
      - ./actions:/app/actions
    ports:
      - "5055:5055"

```

I also tried changing `endpoints.yml action_endpoint` to: (EDIT: Do NOT do this, leave it as default otherwise Rasa X will crash and you won’t be able to train your models)

```
action_endpoint:
  http://action_server:5055/webhook

```

Using Rasa X 0.26.0

---

<div class="post-metadata">

**Author:** ![tiziano](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tiziano](https://forum.rasa.com/u/tiziano)\
**Post date:** [March 23, 2020, 3:51pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/13 "2020-03-23T15:51:44Z")

</div>

Hi @slcheungcasado, I had the same problem and solved it after some time struggling with it.

Here you need to put a custom name four your image:

```
action_server:
    image: customname:customtag

```

Then use the same name when you run:

`sudo docker build . -t customname:customtag`

Let me know if this fixes it.

---

<div class="post-metadata">

**Author:** ![slcheungcasado](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/slcheungcasado/32/7865_2.png) [@slcheungcasado](https://forum.rasa.com/u/slcheungcasado)\
**Post date:** [March 23, 2020, 3:57pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/14 "2020-03-23T15:57:42Z")

</div>

I tried it with `sudo docker build . -t rasa-sdk:latest` before and that didn’t work, I’ll try it with a different name, and get back to you

---

<div class="post-metadata">

**Author:** ![slcheungcasado](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/slcheungcasado/32/7865_2.png) [@slcheungcasado](https://forum.rasa.com/u/slcheungcasado)\
**Post date:** [March 23, 2020, 4:59pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/15 "2020-03-23T16:59:03Z")

</div>

I changed `sudo docker build . -t rasa-sdk:latest` to `sudo docker build . -t rasa/rasa-sdk:latest`. This made one error disappear, but another appeared.

Action server seems to have started:

app logs:

```
app_1 | INFO:rasa_sdk.endpoint:Starting action endpoint server...
app_1 | DEBUG:sanic.root:CORS: Configuring CORS with resources: {'/*': {'origins': ['.*'], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.*'], 'expose_headers': None, 'supports_credentials': False, 'max_age': None, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': {'/*': {'origins': '*'}}, 'intercept_exceptions': True, 'always_send': True}}
app_1 | DEBUG:rasa_sdk.utils:Using the default number of Sanic workers (1).
app_1 | DEBUG:sanic.root:
app_1 | 
app_1 | Sanic
app_1 | Build Fast. Run Fast.
app_1 | 
app_1 | 
app_1 | INFO:sanic.root:Goin' Fast @ http://0.0.0.0:5055
app_1 | INFO:sanic.root:Starting worker [1]

```

action\_server logs:

```
Attaching to rasa_nginx_1, rasa_app_1, rasa_rasa-production_1, rasa_rasa-worker_1, rasa_rasa-x_1, rasa_db_1, rasa_rabbit_1, rasa_duckling_1, rasa_redis_1, rasa_action_server_1
action_server_1 | 2020-03-23 16:35:46 INFO rasa_sdk.endpoint - Starting action endpoint server...
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_do_fuzzysearch'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_read_more'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_do_websearch'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_question_types'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_causes'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_complications'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_considerations'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_exams_and_tests'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_frequency'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_genetic_changes'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_information'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_inheritance'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_outlook'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_prevention'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_research'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_stages'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_support_groups'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_susceptibility'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_symptoms'.
action_server_1 | 2020-03-23 16:35:51 INFO rasa_sdk.executor - Registered function for 'action_query_treatment'.

```

but then rasa\_x has an error with git when I train a new model:

```
rasa-x_1 | ERROR:pika.adapters.utils.connection_workflow:AMQPConnector - reporting failure: AMQPConnectorSocketConnectError: ConnectionRefusedError(111, 'Connection refused
')
rasa-x_1 | INFO:rasax.community.services.event_consumers.pika_consumer:Start consuming queue 'rasa_production_events' on pika host 'rabbit'.
rasa-x_1 | /usr/local/lib/python3.6/site-packages/rasax/community/services/integrated_version_control/git_service.py:797: UserWarning: An error happened when trying to acce
ss 'git@github.com:slcheungcasado/rasa-medbot.git'. It seems you don't have to correct permissions for this repository. Please check if your credentials are correct and you have writ
e permissions in the given repository. The error was: Cmd('git') failed due to: exit code(128)
rasa-x_1 | cmdline: git clone --depth=1 -v git@github.com:slcheungcasado/rasa-medbot.git /tmp/tmptfn112t3
rasa-x_1 | stderr: 'Cloning into '/tmp/tmptfn112t3'...
rasa-x_1 | Could not create directory '/root/.ssh'.
rasa-x_1 | Warning: Permanently added 'github.com,13.236.229.21' (RSA) to the list of known hosts.
rasa-x_1 | git@github.com: Permission denied (publickey).
rasa-x_1 | fatal: Could not read from remote repository.
rasa-x_1 | 
rasa-x_1 | Please make sure you have the correct access rights
rasa-x_1 | and the repository exists.
rasa-x_1 | '.
rasa-x_1 | f"An error happened when trying to access '{repository_url}'. It seems "
rasa-x_1 | ERROR:rasax.community.api.blueprints.git:Given repository credentials don't provide write permissions to the repository. Please make sure the ssh key is correct 
and the administrator of the remote repository gave you the required permissions.

```

I tried deleting the old SSH key to get it to pull the repo again, but it doesn’t seem to have worked.

It outputs a lot of:

```
rasa-x_1 | docs=DOCS_URL_DOMAINS,
rasa-x_1 | /usr/local/lib/python3.6/site-packages/rasa/core/training/dsl.py:422: UserWarning: Found unknown intent 'query_causes' on line 5. Please, make sure that all intents are listed in your domain yaml.
rasa-x_1 | docs=DOCS_URL_DOMAINS,
rasa-x_1 | /usr/local/lib/python3.6/site-packages/rasa/core/training/dsl.py:422: UserWarning: Found unknown intent 'query_complications' on line 5. Please, make sure that all intents are listed in your domain yaml.

```

But there is no problem with the domain yaml file. This wasn’t a problem prior to making the action server work.

---

<div class="post-metadata">

**Author:** ![tiziano](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tiziano](https://forum.rasa.com/u/tiziano)\
**Post date:** [March 23, 2020, 5:04pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/16 "2020-03-23T17:04:59Z")

</div>

But how are you trying to connect it with the repo? Why don’t you use the Integrated Version Control in the Rasa X UI?

---

<div class="post-metadata">

**Author:** ![slcheungcasado](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/slcheungcasado/32/7865_2.png) [@slcheungcasado](https://forum.rasa.com/u/slcheungcasado)\
**Post date:** [March 23, 2020, 5:06pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/17 "2020-03-23T17:06:32Z")

</div>

I am using Integrated Version Control in Rasa X.

---

<div class="post-metadata">

**Author:** ![slcheungcasado](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/slcheungcasado/32/7865_2.png) [@slcheungcasado](https://forum.rasa.com/u/slcheungcasado)\
**Post date:** [March 23, 2020, 5:21pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/18 "2020-03-23T17:21:31Z")

</div>

I’m going to make another repo and redo the entire process again to see if that changes anything. There are too many errors being introduced now:

```
app_1 | INFO:rasa_sdk.endpoint:Starting action endpoint server...
app_1 | DEBUG:sanic.root:CORS: Configuring CORS with resources: {'/*': {'origins': ['.*'], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.*'], 'expose_headers': None, 'supports_credentials': False, 'max_age': None, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': {'/*': {'origins': '*'}}, 'intercept_exceptions': True, 'always_send': True}}
app_1 | DEBUG:rasa_sdk.utils:Using the default number of Sanic workers (1).
app_1 | DEBUG:sanic.root:
app_1 | 
app_1 | Sanic
app_1 | Build Fast. Run Fast.
app_1 | 
app_1 | 
app_1 | INFO:sanic.root:Goin' Fast @ http://0.0.0.0:5055
app_1 | INFO:sanic.root:Starting worker [1]
app_1 | /app/rasa_sdk/utils.py:159: UserWarning: Your versions of rasa and rasa_sdk might not be compatible. You are currently running rasa version 1.8.0 and rasa_sdk version 1.5.1.
app_1 | To ensure compatibility use the same version for both, modulo the last number, i.e. using version A.B.x the numbers A and B should be identical for both rasa and rasa_sdk.
app_1 | f"Your versions of rasa and "
app_1 | DEBUG:rasa_sdk.executor:Received request to run 'action_query_information'
app_1 | ERROR:rasa_sdk.endpoint:No registered action found for name 'action_query_information'.
app_1 | DEBUG:sanic.root:CORS: Request to '/webhook' matches CORS resource '/*'. Using options: {'origins': ['.*'], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.*'], 'expose_headers': None, 'supports_credentials': False, 'max_age': None, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': {'/*': {'origins': '*'}}, 'intercept_exceptions': True, 'always_send': True}
app_1 | INFO:sanic.access:
duckling_1 | no port specified, defaulting to port 8000
duckling_1 | Listening on http://0.0.0.0:8000

```

Even though action\_server says it’s registered app\_1 sees it as nothing has been registered.

---

<div class="post-metadata">

**Author:** ![shreehari](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@shreehari](https://forum.rasa.com/u/shreehari)\
**Post date:** [June 28, 2021, 2:01pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/19 "2021-06-28T14:01:16Z")

</div>

> [@tiziano](#):
>
> ```auto
> action_server:
> image: customname:customtag
> 
> ```

Can you please tell where I need to add this part? Is in the Domain file?

---

<div class="post-metadata">

**Author:** ![M\_R\_LY](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/m_r_ly/32/11754_2.png) [@M\_R\_LY](https://forum.rasa.com/u/M_R_LY)\
**Post date:** [August 12, 2021, 6:53pm UTC](https://forum.rasa.com/t/rasa-x-on-a-server-custom-actions-not-working/23604/20 "2021-08-12T18:53:43Z")

</div>

hii @tiziano can you help me please ? am trying to do the same , deploy rasa x on docker, without dockerhub. in the docker.override what does it mean the line

> image: customname:customtag ?
