First of all, a big thank you to the rasa team. As far you did a great job.
I use rasa for a university project. We “develop” a chat bot for trainees. We started with rasa-nlu, rasa-core and action-server. As soon as you launched rasa 1.0, we also moved to rasa-x as we saw that we can use it for testing and training. Now we wanted to install rasa-x on a ubuntu server. We are struggling with the installation. These are the problems, where we couldn’t find a solution in the docs or in the forum.
- After the installation we cannot login via the user interface. “Not all required fields are filled”. We saw that other users had the same problems. A direct login via url
/login?username=admin&password=admin12345works as workaround.
- How can we import an existing model from localhost. The curl command doesn’t work.
curl -k -F "email@example.com" http://188.8.131.52/api/projects/default/models\?api_token\=69e3a8f18abbd42a1c514a2bd704edcef195bdd8
<h1>Internal Server Error</h1> <p> The server encountered an internal error and cannot complete your request. </p>
- How can we import existing stories.md and nlu.md?
- We also have the problem that the rasa-x bot is not responding. In the logs we retrieve 500.
rasa-production_1 | [2019-06-03 20:17:57 +0000]  [ERROR] Exception occurred while handling uri: 'http://rasa-production:5005/webhooks/rasa/webhook' rasa-production_1 | Traceback (most recent call last): rasa-production_1 | File "/usr/local/lib/python3.6/site-packages/sanic/app.py", line 917, in handle_request rasa-production_1 | response = await response rasa-production_1 | File "/usr/local/lib/python3.6/site-packages/rasa/core/channels/channel.py", line 430, in receive rasa-production_1 | sender_id = await self._extract_sender(request) rasa-production_1 | File "/usr/local/lib/python3.6/site-packages/rasa/core/channels/rasa_chat.py", line 50, in _extract_sender rasa-production_1 | user = await self._check_token(req.headers.get("Authorization")) rasa-production_1 | File "/usr/local/lib/python3.6/site-packages/rasa/core/channels/rasa_chat.py", line 38, in _check_token rasa-production_1 | return await resp.json() rasa-production_1 | File "/usr/local/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 1027, in json rasa-production_1 | headers=self.headers) rasa-production_1 | aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html' rasa-x_1 | Failed to send message to Rasa Chat webhook with status 500. Response: rasa-x_1 | rasa-x_1 | <h1>Internal Server Error</h1> rasa-x_1 | <p> rasa-x_1 | The server encountered an internal error and cannot complete rasa-x_1 | your request. rasa-x_1 | </p>
Can you help me/us to install and configure rasa-x?