Hi I am trying to deploy my basic chatbot on Okteto. Here is link to my github repo.
https://github.com/tusharphadke0/improved-journey
Chatbot works except i get this error. Can someone help resolve?
2022-04-14 16:03:38 DEBUG rasa.core.policies.ensemble - Predicted next action using TEDPolicy.
2022-04-14 16:03:38 DEBUG rasa.core.processor - Predicted next action 'action_get_weather' with confidence 0.93.
2022-04-14 16:03:38 DEBUG rasa.core.actions.action - Calling action endpoint to run action 'action_get_weather'.
2022-04-14 16:05:49 ERROR rasa.core.actions.action - Failed to run custom action 'action_get_weather'. Couldn't connect to the server at 'http://rasa-actions-server/webhook'. Is the server running? Error: Cannot connect to host rasa-actions-server:80 ssl:default [Connection timed out]
2022-04-14 16:05:49 ERROR rasa.core.processor - Encountered an exception while running action 'action_get_weather'.Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 969, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa
File "uvloop/loop.pyx", line 2024, in create_connection
File "uvloop/loop.pyx", line 2001, in uvloop.loop.Loop.create_connection
TimeoutError: [Errno 110] Connection timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/rasa/core/actions/action.py", line 723, in run
json=json_body, method="post", timeout=DEFAULT_REQUEST_TIMEOUT
File "/usr/local/lib/python3.7/site-packages/rasa/utils/endpoints.py", line 170, in request
**kwargs,
File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 1117, in __aenter__
self._resp = await self._coro
File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 521, in _request
req, traces=traces, timeout=real_timeout
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 535, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 892, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 1051, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 1032, in _create_direct_connection
client_error=client_error,
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 975, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host rasa-actions-server:80 ssl:default [Connection timed out]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/rasa/core/processor.py", line 869, in _run_action
output_channel, nlg, temporary_tracker, self.domain
File "/usr/local/lib/python3.7/site-packages/rasa/core/actions/action.py", line 754, in run
raise RasaException("Failed to execute custom action.")