Hi the community,
We are trying to implement our rasa data & model on an aws ec2 instance to be reached by our UI.
Although address:5005/version
is said to be accessible once built, it appears not to be, not even fallbacking onto a 404, neither from browser search nor curl.
This is what we get (and where it stops outputing stuff in the console):
rasa run -m models --enable-api --cors "*" -vv
2020-01-29 15:00:54 DEBUG rasa.cli.utils - Parameter 'endpoints' not set. Using default location 'endpoints.yml' instead.
2020-01-29 15:00:54 DEBUG rasa.cli.utils - Parameter 'credentials' not set. Using default location 'credentials.yml' instead.
2020-01-29 15:00:54 DEBUG rasa.core.utils - Available web server routes:
/conversations/<conversation_id>/messages POST add_message
/conversations/<conversation_id>/tracker/events POST append_events
/webhooks/rest GET custom_webhook_RestInput.health
/webhooks/rest/webhook POST custom_webhook_RestInput.receive
/model/test/intents POST evaluate_intents
/model/test/stories POST evaluate_stories
/conversations/<conversation_id>/execute POST execute_action
/domain GET get_domain
/ GET hello
/model PUT load_model
/model/parse POST parse
/conversations/<conversation_id>/predict POST predict
/conversations/<conversation_id>/tracker/events PUT replace_events
/conversations/<conversation_id>/story GET retrieve_story
/conversations/<conversation_id>/tracker GET retrieve_tracker
/status GET status
/model/predict POST tracker_predict
/model/train POST train
/model DELETE unload_model
/version GET version
2020-01-29 15:00:54 INFO root - Starting Rasa server on http://localhost:5005
2020-01-29 15:00:54 DEBUG rasa.core.utils - Using the default number of Sanic workers (1).
2020-01-29 15:00:54 INFO root - Enabling coroutine debugging. Loop id 94721408130456.
2020-01-29 15:00:54 DEBUG rasa.model - Extracted model to '/tmp/tmpdrmwjawx'.
2020-01-29 15:00:58 INFO absl - Entry Point [tensor2tensor.envs.tic_tac_toe_env:TicTacToeEnv] registered with id [T2TEnv-TicTacToeEnv-v0]
/home/ubuntu/miniconda/envs/rasa/lib/python3.6/site-packages/thinc/neural/_custom_kernels.py:36: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/ubuntu/miniconda/envs/rasa/lib/python3.6/site-packages/thinc/neural/_custom_kernels.cu' mode='r' encoding='utf8'>
SRC = (PWD / "_custom_kernels.cu").open("r", encoding="utf8").read()
/home/ubuntu/miniconda/envs/rasa/lib/python3.6/site-packages/thinc/neural/_custom_kernels.py:39: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/ubuntu/miniconda/envs/rasa/lib/python3.6/site-packages/thinc/neural/_murmur3.cu' mode='r' encoding='utf8'>
MMH_SRC = (PWD / "_murmur3.cu").open("r", encoding="utf8").read()
2020-01-29 15:01:05 INFO rasa.nlu.components - Added 'SpacyNLP' to component cache. Key 'SpacyNLP-fr'.
2020-01-29 15:01:05 DEBUG rasa.core.tracker_store - Connected to InMemoryTrackerStore.
2020-01-29 15:01:05 DEBUG rasa.core.lock_store - Connected to lock store 'InMemoryLockStore'.
2020-01-29 15:01:05 DEBUG rasa.model - Extracted model to '/tmp/tmphqc7nfio'.
2020-01-29 15:01:05 DEBUG pykwalify.compat - Using yaml library: /home/ubuntu/miniconda/envs/rasa/lib/python3.6/site-packages/ruamel/yaml/__init__.py
2020-01-29 15:01:07 DEBUG rasa.core.nlg.generator - Instantiated NLG to 'TemplatedNaturalLanguageGenerator'.
Any ideas why and/or what is this about ?
Potentially related to following posts:
- Webhook Problem from @Randywreed and fixed by @Tanja
- Facing issue with Rasa API integration to UI from @Aastha
thanks,
z.