rasa-x_1 | [2022-01-24 19:15:16 +0000] - (sanic.access)[INFO][172.18.0.11:53078]: GET http://localhost/api/telemetry?include_user_groups=true 200 88
nginx_1 | 172.18.0.1 - - [24/Jan/2022:19:15:16 +0000] "GET /api/telemetry?include_user_groups=true HTTP/1.1" 200 88 "http://localhost/interactive" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
rasa-x_1 | [2022-01-24 19:15:16 +0000] - (sanic.access)[INFO][172.18.0.11:53088]: GET http://localhost/api/git-repositories/1/status 200 242
nginx_1 | 172.18.0.1 - - [24/Jan/2022:19:15:16 +0000] "GET /api/git-repositories/1/status HTTP/1.1" 200 242 "http://localhost/interactive" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
nginx_1 | 172.18.0.1 - - [24/Jan/2022:19:15:16 +0000] "GET /static/media/SaraChattingOnPhone.af401b9d.svg HTTP/1.1" 200 9359 "http://localhost/interactive" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
rasa-x_1 | [2022-01-24 19:15:16 +0000] - (sanic.access)[INFO][172.18.0.11:53090]: GET http://localhost/static/media/SaraChattingOnPhone.af401b9d.svg 200 9359
nginx_1 | 172.18.0.1 - - [24/Jan/2022:19:15:17 +0000] "GET /api/version?skip_external=false HTTP/1.1" 200 630 "http://localhost/interactive" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
rasa-x_1 | [2022-01-24 19:15:17 +0000] - (sanic.access)[INFO][172.18.0.11:53060]: GET http://localhost/api/version?skip_external=false 200 630
rasa-x_1 | [2022-01-24 19:15:17 +0000] - (sanic.access)[INFO][172.18.0.11:53070]: GET http://localhost/api/version?skip_external=false 200 630
nginx_1 | 172.18.0.1 - - [24/Jan/2022:19:15:17 +0000] "GET /api/version?skip_external=false HTTP/1.1" 200 630 "http://localhost/interactive" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
nginx_1 | 172.18.0.1 - - [24/Jan/2022:19:15:17 +0000] "GET /api/version?skip_external=false HTTP/1.1" 200 630 "http://localhost/interactive" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
rasa-x_1 | [2022-01-24 19:15:17 +0000] - (sanic.access)[INFO][172.18.0.11:53062]: GET http://localhost/api/version?skip_external=false 200 630
rasa-x_1 | [2022-01-24 19:15:17 +0000] - (sanic.access)[INFO][172.18.0.11:53094]: GET http://localhost/api/conversations/a607720db8b746b9aaf2c603438bf4dc?format=full_conversation&history=false&since=0&environment=production 200 324
nginx_1 | 172.18.0.1 - - [24/Jan/2022:19:15:17 +0000] "GET /api/conversations/a607720db8b746b9aaf2c603438bf4dc?format=full_conversation&history=false&since=0&environment=production HTTP/1.1" 200 324 "http://localhost/interactive" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
rasa-x_1 | [2022-01-24 19:15:17 +0000] - (sanic.access)[INFO][172.18.0.11:53098]: GET http://localhost/api/conversations/a607720db8b746b9aaf2c603438bf4dc?test_story=false&history=false 200 105
nginx_1 | 172.18.0.1 - - [24/Jan/2022:19:15:17 +0000] "GET /api/conversations/a607720db8b746b9aaf2c603438bf4dc?test_story=false&history=false HTTP/1.1" 200 105 "http://localhost/interactive" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
nginx_1 | 172.18.0.1 - - [24/Jan/2022:19:15:17 +0000] "GET /api/conversations/a607720db8b746b9aaf2c603438bf4dc?test_story=false&history=false HTTP/1.1" 200 105 "http://localhost/interactive" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
rasa-x_1 | [2022-01-24 19:15:17 +0000] - (sanic.access)[INFO][172.18.0.11:53092]: GET http://localhost/api/conversations/a607720db8b746b9aaf2c603438bf4dc?test_story=false&history=false 200 105
rasa-x_1 | [2022-01-24 19:15:17 +0000] - (sanic.access)[INFO][172.18.0.11:53100]: GET http://localhost/api/conversations/a607720db8b746b9aaf2c603438bf4dc?test_story=true&history=false 200 105
nginx_1 | 172.18.0.1 - - [24/Jan/2022:19:15:17 +0000] "GET /api/conversations/a607720db8b746b9aaf2c603438bf4dc?test_story=true&history=false HTTP/1.1" 200 105 "http://localhost/interactive" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
nginx_1 | 172.18.0.1 - - [24/Jan/2022:19:15:17 +0000] "GET /api/conversations/a607720db8b746b9aaf2c603438bf4dc?test_story=true&history=false HTTP/1.1" 200 105 "http://localhost/interactive" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
rasa-x_1 | [2022-01-24 19:15:17 +0000] - (sanic.access)[INFO][172.18.0.11:53102]: GET http://localhost/api/conversations/a607720db8b746b9aaf2c603438bf4dc?test_story=true&history=false 200 105
db-migration_1 | [2022-01-24 19:15:17 +0000] - (sanic.access)[INFO][127.0.0.1:46936]: GET http://localhost:8000/health 200 56
nginx_1 | 172.18.0.1 - - [24/Jan/2022:19:15:20 +0000] "GET /api/conversations/a607720db8b746b9aaf2c603438bf4dc?format=full_conversation&history=false&since=0&environment=production HTTP/1.1" 200 324 "http://localhost/interactive" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0"
rasa-x_1 | [2022-01-24 19:15:20 +0000] - (sanic.access)[INFO][172.18.0.11:53106]: GET http://localhost/api/conversations/a607720db8b746b9aaf2c603438bf4dc?format=full_conversation&history=false&since=0&environment=production 200 324
rasa-production_1 | Starting Rasa X in production mode... 🚀
rasa-production_1 | [2022-01-24 19:15:22 +0000] [1] [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 "/opt/venv/lib/python3.8/site-packages/aiohttp/connector.py", line 969, in _wrap_create_connection
rasa-production_1 | return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa
rasa-production_1 | File "uvloop/loop.pyx", line 1974, in create_connection
rasa-production_1 | File "uvloop/loop.pyx", line 1951, in uvloop.loop.Loop.create_connection
rasa-production_1 | ConnectionRefusedError: [Errno 111] Connection refused
rasa-production_1 |
rasa-production_1 | The above exception was the direct cause of the following exception:
rasa-production_1 |
rasa-production_1 | Traceback (most recent call last):
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/sanic/app.py", line 973, in handle_request
rasa-production_1 | response = await response
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/channels/rest.py", line 101, in receive
rasa-production_1 | sender_id = await self._extract_sender(request)
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/channels/rasa_chat.py", line 94, in _extract_sender
rasa-production_1 | jwt_payload = await self._decode_bearer_token(req.headers["Authorization"])
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/channels/rasa_chat.py", line 77, in _decode_bearer_token
rasa-production_1 | await self._fetch_public_key()
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/rasa/core/channels/rasa_chat.py", line 46, in _fetch_public_key
rasa-production_1 | async with session.get(
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/aiohttp/client.py", line 1117, in __aenter__
rasa-production_1 | self._resp = await self._coro
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/aiohttp/client.py", line 520, in _request
rasa-production_1 | conn = await self._connector.connect(
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/aiohttp/connector.py", line 535, in connect
rasa-production_1 | proto = await self._create_connection(req, traces, timeout)
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/aiohttp/connector.py", line 892, in _create_connection
rasa-production_1 | _, proto = await self._create_direct_connection(req, traces, timeout)
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/aiohttp/connector.py", line 1051, in _create_direct_connection
rasa-production_1 | raise last_exc
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/aiohttp/connector.py", line 1020, in _create_direct_connection
rasa-production_1 | transp, proto = await self._wrap_create_connection(
rasa-production_1 | File "/opt/venv/lib/python3.8/site-packages/aiohttp/connector.py", line 975, in _wrap_create_connection
rasa-production_1 | raise client_error(req.connection_key, exc) from exc
rasa-production_1 | aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host localhost:5002 ssl:default [Connection refused]
rasa-x_1 | ERROR:rasax.community.api.blueprints.stack:Failed to send message to Rasa Chat webhook. Error: 500, message='Internal Server Error', url=URL('http://rasa-production:5005/webhooks/rasa/webhook')
rasa-x_1 | [2022-01-24 19:15:22 +0000] - (sanic.access)[INFO][172.18.0.11:53108]: POST http://localhost/api/conversations/a607720db8b746b9aaf2c603438bf4dc/messages?environment=production 404 176
installed on docker-compose and getting this after a restart. using sudo docker-compose up
to launch