# Rasa X Model Training Failed

**URL:** <https://forum.rasa.com/t/rasa-x-model-training-failed/52066>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [March 18, 2022, 5:19pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066 "2022-03-18T17:19:27Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![arabellastrange](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arabellastrange/32/19885_2.png) [@arabellastrange](https://forum.rasa.com/u/arabellastrange)\
**Post date:** [March 18, 2022, 5:19pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/1 "2022-03-18T17:19:27Z")

</div>

Hello! Hope you are well!

I am encountering a problem in setting up Rasa X. I have deployed the latest version of Rasa-X with Rasa 2.4 on Google cloud platform, and I have connected it to my git repo. I can see my stories and intents in my dashboard, however, my using the ‘train a model’ option is returning a failure message with no further explanation. I can train and interact with the model when I do so in terminal from my local machine. I am not sure how to proceed.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/3/b/3b8853325ae77758e7e3767ef056828d262566b5.png) ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/2/0/20e0c30e45f4d04705b7537bb4b2da18813cefe1.png)

My credentials file, I’ve tried the default Rasa url and the url where my Rasa-X instance is hosted on the cloud, neither have worked.

```auto
rest:
# # you don't need to provide anything here - this channel doesn't
# # require any credentials

#socketio:
# user_message_evt: <event name for user message>
# bot_message_evt: <event name for bot messages>
# session_persistence: <true/false>

# This entry is needed if you are using Rasa X. The entry represents credentials
# for the Rasa X "channel", i.e. Talk to your bot and Share with guest testers.
rasa:
  url: "http://localhost:5002/api"

```

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [March 18, 2022, 6:31pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/2 "2022-03-18T18:31:38Z")

</div>

@arabellastrange can you tell me the rasa x version and installation method?

---

<div class="post-metadata">

**Author:** ![arabellastrange](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arabellastrange/32/19885_2.png) [@arabellastrange](https://forum.rasa.com/u/arabellastrange)\
**Post date:** [March 18, 2022, 6:36pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/3 "2022-03-18T18:36:50Z")

</div>

I’m using Rasa X 1.0.1 which I installed using REI (curl -O [https://rei.rasa.com/rei.sh](https://rei.rasa.com/rei.sh) && bash rei.sh -y) on GCP Compute Engine.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [March 18, 2022, 6:47pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/4 "2022-03-18T18:47:58Z")

</div>

@arabellastrange please investigate the nlu.yml file or domain.yml file syntax with respect to Git and shown in Rasa X. If there is any mismatch model will not train.

**Tip** : Some issues you will see in domain.yml top header in blue if you have some?

@arabellastrange Always tag me as I am not active on the forum much now.

Good Luck!

---

<div class="post-metadata">

**Author:** ![arabellastrange](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arabellastrange/32/19885_2.png) [@arabellastrange](https://forum.rasa.com/u/arabellastrange)\
**Post date:** [March 18, 2022, 7:32pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/5 "2022-03-18T19:32:51Z")

</div>

Thanks for the reply @nik202, I have made some commits to check and my git repo and Rasa X seem to be appropriately synced! My domain and nlu files seem to be correct as far as I can see?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/9/1/9192e7d021936c1103ed2c7a6abf001735444921.png) ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/3/8/386b2bec1dc19f5ff96a88383bbd883026fda1a7.png)

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [March 18, 2022, 7:36pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/6 "2022-03-18T19:36:34Z")

</div>

@arabellastrange alright as expected, please update as per compatibility matrix: [Compatibility Matrix](https://rasa.com/docs/rasa-x/changelog/compatibility-matrix/)

i.e 2.8.x can be 2.8.11 or 2.8.15

---

<div class="post-metadata">

**Author:** ![arabellastrange](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arabellastrange/32/19885_2.png) [@arabellastrange](https://forum.rasa.com/u/arabellastrange)\
**Post date:** [March 19, 2022, 10:50am UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/7 "2022-03-19T10:50:24Z")

</div>

@nik202 is there a way to downgrade RASA X instead with the REI? I have another dependency that is only compatible with RASA 2.4.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [March 19, 2022, 6:40pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/8 "2022-03-19T18:40:32Z")

</div>

@arabellastrange what do you exactly mean?

---

<div class="post-metadata">

**Author:** ![arabellastrange](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arabellastrange/32/19885_2.png) [@arabellastrange](https://forum.rasa.com/u/arabellastrange)\
**Post date:** [March 19, 2022, 7:44pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/9 "2022-03-19T19:44:49Z")

</div>

@nik202 I mean I would like to replace my Rasa X 1.0.1 installation with Rasa X 0.38.0, but I cannot find the documentation for setting versions when installing with the Rasa Ephemeral Installer.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [March 19, 2022, 7:56pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/10 "2022-03-19T19:56:04Z")

</div>

@arabellastrange why do you want to downgrade to a lower version? In the lower version, you will not able to get the git connectivity feature. If you still want to install please follow this link : [Rasa X runs with several Errors & Warnings - #7 by vio\_lovis](http://forum.rasa.com/t/rasa-x-runs-with-several-errors-warnings/49006/7)

Do tag me if you have any issues. Good luck!

---

<div class="post-metadata">

**Author:** ![arabellastrange](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arabellastrange/32/19885_2.png) [@arabellastrange](https://forum.rasa.com/u/arabellastrange)\
**Post date:** [March 19, 2022, 7:58pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/11 "2022-03-19T19:58:57Z")

</div>

@nik202 this version of [webchat](https://github.com/botfront/rasa-webchat) only supports up to Rasa 2.4 does it not? Therefore, I need an older version Rasa X as well.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [March 19, 2022, 8:00pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/12 "2022-03-19T20:00:43Z")

</div>

@arabellastrange no it will support all versions 1.x, 2.x, and 3. x Rasa open source. But Rasa X 1.0.1 is not yet compatible with Rasa 3.x OS

@arabellastrange I would recommend using rasa x 0.42.5 with rasa open source 2.8.11 or 2.8.15

---

<div class="post-metadata">

**Author:** ![arabellastrange](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arabellastrange/32/19885_2.png) [@arabellastrange](https://forum.rasa.com/u/arabellastrange)\
**Post date:** [March 19, 2022, 8:28pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/13 "2022-03-19T20:28:04Z")

</div>

@nik202 Oh, I see, I assumed because the repo had not been updated recently, it would not be compatible, I will try this set up and let you know!

---

<div class="post-metadata">

**Author:** ![arabellastrange](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arabellastrange/32/19885_2.png) [@arabellastrange](https://forum.rasa.com/u/arabellastrange)\
**Post date:** [March 21, 2022, 2:47pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/14 "2022-03-21T14:47:37Z")

</div>

@nik202 unfortunately, my problem is persisting. I have now set my version of Rasa X to 0.42.6 in my cloud instance, my open source Rasa version is 2.8.14 and my Rasa SDK is 2.8.3. I can still train and interact with my project locally and my git repo and Rasa X are synced correctly, but I can’t train models in Rasa X or upload trained models either. Not sure how to proceed?

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [March 21, 2022, 5:54pm UTC](https://forum.rasa.com/t/rasa-x-model-training-failed/52066/15 "2022-03-21T17:54:56Z")

</div>

@arabellastrange if you have install rasa x 0.42.6 and I guess you don’t have action server image yet ( its fine we can sort that issue later) but current issue can have two possibilities.

1. Your git code and rasa x code is not synchronised? Solution: Delete all the keys and add again and connect git with rasa x
2. Check the syntax of domain.yml which you pushed and domain.yml code which is present in rasa x

Or share some more screenshots.

It is very hard for me to guide you.
