Rasa X - Login Wrong Credentials

Hi All Good Day,

I have installed Rasa X 0.39.0 (CE) using Helm Chart on Centos 8. The installation was successful and I can access the RASA X login page. However it seems the initial user password that I set in the values.yml does not accepted by the login page.

Below are my values.yml file

# rasax specific settings
rasax:
    # initialUser is the user which is created upon the initial start of Rasa X
    initialUser:
    # password for the Rasa X user
    password: "myinitial"
    # passwordSalt Rasa X uses to salt the user passwords
    passwordSalt: "mysalt"
    # token Rasa X accepts as authentication token from other Rasa services
    token: "mytoken"
    # jwtSecret which is used to sign the jwtTokens of the users
    jwtSecret: "myjwt"
    # Rasa X configuration you did in previous steps
    # ...
    tag: "0.39.0"
# rasa: Settings common for all Rasa containers
rasa:
    # token Rasa accepts as authentication token from other Rasa services
    token: "myrasatoken"
    # Rasa Open Source configuration you did in previous steps
    # ...
    # tag refers to the Rasa image tag
    tag: "2.5.0-full"
# RabbitMQ specific settings
rabbitmq:
    # rabbitmq settings of the subchart
    rabbitmq:
        # password which is used for the authentication
        password: "myrabbit"
# global settings of the used subcharts
global:
    # postgresql: global settings of the postgresql subchart
    postgresql:
        # postgresqlPassword is the password which is used when the postgresqlUsername equals "postgres"
        postgresqlPassword: "mypostgres"
    # redis: global settings of the redis subchart
    redis:
        # password to use in case there no external secret was provided
        password: "myredis"

I’ve tried to reload the change made in values.yml to my Rasa X using ‘helm upgrade’ command but got the message below :

Error: UPGRADE FAILED: template: rasa-x/templates/rasa-x-deployment.yaml:28:33: executing “rasa-x/templates/rasa-x-deployment.yaml” at <include (print $.Template.BasePath “/rasa-secret.yaml”) .>: error calling include: template: rasa-x/templates/rasa-secret.yaml:14:29: executing “rasa-x/templates/rasa-secret.yaml” at <.Values.rasax.initialUser.password>: nil pointer evaluating interface {}.password

Anyone can share the solution for this ?

And 1 more question what is the commond to restart RASA X service ?

Thank YouPreformatted text

@hiorie , Can you try to turn on the debug option, and monitor the log files of the rasa-x pod/container?

Hi Arjan,

Thank you for the reply. I’ve set the debug in values.yml but issuing the command below to reload the new setting got into problem

COMMAND : helm upgrade --values values.yml --namespace ichi --reuse-values rasa-x-1619492397 rasa-x/rasa-x

OUTPUT : Error: UPGRADE FAILED: template: rasa-x/templates/rasa-x-deployment.yaml:28:33: executing “rasa-x/templates/rasa-x-deployment.yaml” at <include (print $.Template.BasePath “/rasa-secret.yaml”) .>: error calling include: template: rasa-x/templates/rasa-secret.yaml:14:29: executing “rasa-x/templates/rasa-secret.yaml” at <.Values.rasax.initialUser.password>: nil pointer evaluating interface {}.password

Any idea how to reload the new setting ?

Thank You

Hi All, any helping hand :slight_smile: I’m stuck.

Hi, finally I able to solve this by uninstall my problem deployment ( helm namespace ) and in my values.yml I’ve skipped the Helm Chart Step 4 Specify Rasa X and Rasa Open Source Versions. Do not know what will impact by not mentioning the below values in my rasa-x deployment :

rasax specific settings

rasax: # Rasa X configuration you did in previous steps # … tag: “0.40.1”

rasa: Settings common for all Rasa containers

rasa: # Rasa Open Source configuration you did in previous steps # … # tag refers to the Rasa image tag tag: “2.6.2-full”

cmd to delete helm namespace : helm uninstall --namespace <namespace_name>

Thank You

Now I wonder which version Rasa and Rasa-x Im running in my deployment. How I can check this when I’m using Helm Chart Installation ?

Checking the pods did not specify the Rasa and Rasa-x version.

kubectl --namespace ichi get pods
NAME                                                 READY   STATUS    RESTARTS   AGE
svclb-rasa-x-1622262512-nginx-7hdm2                  1/1     Running   0          44m
rasa-x-1622262512-postgresql-0                       1/1     Running   0          44m
rasa-x-1622262512-app-76dfc5959f-hz9gv               1/1     Running   0          44m
rasa-x-1622262512-nginx-7cd76f868b-rdbfm             1/1     Running   0          44m
rasa-x-1622262512-duckling-9f9cfd9cf-ph8jt           1/1     Running   0          44m
rasa-x-1622262512-redis-master-0                     1/1     Running   0          44m
rasa-x-1622262512-rasa-worker-858945fdc-96vxp        1/1     Running   0          44m
rasa-x-1622262512-rasa-production-6cc8699958-h4fc2   1/1     Running   0          44m
rasa-x-1622262512-rasa-x-5b4c97d5b7-vwq4m            1/1     Running   0          44m
rasa-x-1622262512-rabbit-0                           1/1     Running   1          44m
rasa-x-1622262512-db-migration-service-0             1/1     Running   1          44m
rasa-x-1622262512-event-service-647cd8f465-dfh5z     1/1     Running   1          44m

Thank You

Got the answer finally. One way you may check your installed version of RASA is by browsing the RASA-X app url with ‘api/version’ uri like below

http://yourexternalip:8000/api/version

You will get something like the following.

So my RASA is 2.4.3 and RASA-X is 0.40.1

Thank You