rasa: rasa-production_1 | Could not fetch runtime config from server at 'http://rasa-x:5002/api/config?token=token_string'. Exiting.
Rasa version: 1.9.5
Rasa SDK version (if used & relevant):
Rasa X version (if used & relevant): 0.27.4
Python version: 3.7
Operating system (windows, osx, โฆ): osx
Issue:
- Follow steps on https://rasa.com/docs/rasa-x/installation-and-setup/docker-compose-manual/
- Launch Rasa X web page
- Click on โModelsโ
- Observe following errors in docker-compse logs:
rasa-worker_1 | Starting Rasa X in production mode... ๐
rasa-worker_1 | Could not fetch runtime config from server at 'http://rasa-x:5002/api/config?token=token_string'. Exiting.
rasa-production_1 | Starting Rasa X in production mode... ๐
rasa-production_1 | Could not fetch runtime config from server at 'http://rasa-x:5002/api/config?token=token_string'. Exiting.
Error (including full traceback):
rasa-worker_1 | Starting Rasa X in production mode... ๐
rasa-worker_1 | Could not fetch runtime config from server at 'http://rasa-x:5002/api/config?token=token_string'. Exiting.
rasa-production_1 | Starting Rasa X in production mode... ๐
rasa-production_1 | Could not fetch runtime config from server at 'http://rasa-x:5002/api/config?token=token_string'. Exiting.
rasa-worker_1 | 2020-04-06 01:50:13 DEBUG rasa.cli.x - Failed to get a proper response from remote server. Status Code: 401. Response: '{"reasons":["Authorization header not present."],"exception":"Unauthorized"}'
rasa-production_1 | 2020-04-06 01:50:13 DEBUG rasa.cli.x - Failed to get a proper response from remote server. Status Code: 401. Response: '{"reasons":["Authorization header not present."],"exception":"Unauthorized"}'
Command or request that led to error:
Browsing to http://localhost/models (models endpoint on Rasa X)
Content of configuration file (config.yml) (if relevant):
Content of domain file (domain.yml) (if relevant):
**Content of .env file
RASA_X_VERSION=0.27.4
RASA_VERSION=1.9.5
RASA_X_DEMO_VERSION=0.27.4
RASA_TOKEN="token_string"
RASA_X_TOKEN="token_string"
PASSWORD_SALT="token_string"
JWT_SECRET="token_string"
RABBITMQ_PASSWORD="rabbitmq-password"
DB_PASSWORD="postgres-password"
REDIS_PASSWORD="redis-password"
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 25 (7 by maintainers)
This issue has been automatically closed because there has been no response to our request for more information from the original author. Without this, we donโt have enough information to help you. Please comment below with the requested information if you still need help.
I think i know what the problem isโฆ I am using spacy and this needs to be run on the docker images on build:
To do this I replaced the following in the
docker-compose.ymlfile: FROM:TO:
Then make a dockerfile containing this:
Here I used the dutch spacy model.