Hi, I am trying to integrate my rasa bot with mattermost slash command. I have configured the slash command as below: Request URL: http://example.com:5055 Trigger word: bot Request Method: GET
My Credential.yml file: mattermost: url: “https://example.com/hooks” team: “team id sent by mattermost via GET” user: “my mattermost username” pw: “password” webhook_url: “https://example.com/webhooks/mattermost/webhook”
My endpoints.yml file: action_endpoint: url: “https://example.com/hooks”
I run my bot server using the below command:
python -m rasa_core.run -d models/dialogue -u models/current/nlu --endpoints endpoints.yml --debug --port 5055 --credentials credentials.yml
C:\rasa\lib\site-packages\h5py_init_.py:36: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
2020-02-07 22:38:09 INFO root - Rasa process starting
2020-02-07 22:38:09.703278: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
INFO:tensorflow:Restoring parameters from models/current/nlu\intent_classifier_tensorflow_embedding.ckpt
2020-02-07 22:38:09 INFO tensorflow - Restoring parameters from models/current/nlu\intent_classifier_tensorflow_embedding.ckpt
2020-02-07 22:38:19 DEBUG rasa_core.utils - Available web server routes:
static GET, OPTIONS, HEAD /static/[filename]
fb_webhook.health GET, OPTIONS, HEAD /webhooks/facebook/
fb_webhook.webhook OPTIONS, POST /webhooks/facebook/webhook
mattermost_webhook.health GET, OPTIONS, HEAD /webhooks/mattermost/
mattermost_webhook.webhook OPTIONS, POST /webhooks/mattermost/webhook
2020-02-07 22:38:19 INFO root - Rasa Core server is up and running on http://localhost:5055
When I trigger the slash command in mattermost I get 404 NOT FOUND exception. But I see the GET hits rasa server with the exception HTTP/1.1" 404 342 0.002997.
Can you help me how to resolve this issue. Am I missing anything?