hey guys, i want to know how i could use envs var in my endpoints.yml, I’ve tried thoes examples bellow and all them show the same error:
endpoints.yml
Exemple 1:
action_endpoint:
url: "http://{{ lookup('env','RASA_ACTIONS_ENDPOINTS') }}:5055/webhook"
Erro 1:
Failed to run custom action 'action_check_pessoa'. Couldn't connect to the server at 'http://{{ lookup('env','RASA_ACTIONS_ENDPOINTS') }}:5055/webhook'. Is the server running? Error: HTTPConnectionPool(host="%7b%7b%20lookup('env','rasa_actions_endpoints')%20%7d%7d", port=5055): Max retries exceeded with url: /webhook (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f67d4f038d0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
2018-11-27 16:44:21 ERROR rasa_core.processor - Encountered an exception while running action 'action_check_pessoa'. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
2018-11-27 16:44:21 ERROR rasa_core.processor - Failed to execute custom action.
Exemple 2:
action_endpoint:
url: http://{{RASA_ACTIONS_ENDPOINTS}}:5055/webhook
Error 2:
2018-11-27 16:42:27 ERROR rasa_core.actions.action - Failed to run custom action 'action_check_pessoa'. Couldn't connect to the server at 'http://{{RASA_ACTIONS_ENDPOINTS}}:5055/webhook'. Is the server running? Error: HTTPConnectionPool(host='%7b%7brasa_actions_endpoints%7d%7d', port=5055): Max retries exceeded with url: /webhook (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa391341780>: Failed to establish a new connection: [Errno -2] Name or service not known',))
2018-11-27 16:42:27 ERROR rasa_core.processor - Encountered an exception while running action 'action_check_pessoa'. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
2018-11-27 16:42:27 ERROR rasa_core.processor - Failed to execute custom action.
Exemple 3:
action_endpoint:
url: ["http://",{{RASA_ACTIONS_ENDPOINTS}},":5055/webhook"]
Error 3:
2018-11-27 16:32:57 ERROR rasa_core.actions.action - Failed to run custom action 'action_check_pessoa'. Couldn't connect to the server at 'http://${RASA_ACTIONS_ENDPOINTS}:5055/webhook'. Is the server running? Error: HTTPConnectionPool(host='$%7brasa_actions_endpoints%7d', port=5055): Max retries exceeded with url: /webhook (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2901584cc0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
2018-11-27 16:32:57 ERROR rasa_core.processor - Encountered an exception while running action 'action_check_pessoa'. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
2018-11-27 16:32:57 ERROR rasa_core.processor - Failed to execute custom action.
Exemple 4:
action_endpoint:
url: http://${RASA_ACTIONS_ENDPOINTS}:5055/webhook
Error 4:
2018-11-27 16:32:57 ERROR rasa_core.actions.action - Failed to run custom action 'action_check_pessoa'. Couldn't connect to the server at 'http://${RASA_ACTIONS_ENDPOINTS}:5055/webhook'. Is the server running? Error: HTTPConnectionPool(host='$%7brasa_actions_endpoints%7d', port=5055): Max retries exceeded with url: /webhook (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2901584cc0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
2018-11-27 16:32:57 ERROR rasa_core.processor - Encountered an exception while running action 'action_check_pessoa'. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
2018-11-27 16:32:57 ERROR rasa_core.processor - Failed to execute custom action.