Hi, I am running into an strange issue, we are building an custom application docker image by bundling the pre configured rasa container. One of our use case is to call the custom action server and based on the documentation we have configured our custom action end point (https) and provided CAfile path, when we run the action we get the below error.
Traceback (most recent call last):
File "/opt/venv/lib/python3.8/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 2019, in create_connection
File "uvloop/loop.pyx", line 2014, in uvloop.loop.Loop.create_connection
File "uvloop/sslproto.pyx", line 515, in uvloop.loop.SSLProtocol._on_handshake_complete
File "uvloop/sslproto.pyx", line 497, in uvloop.loop.SSLProtocol._do_handshake
File "/usr/lib/python3.8/ssl.py", line 944, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1131)
Just to isolate the issue, what i am trying to do is to try the openssl or curl from the container to the server and it fails with same SSLV3 exception. But if i remove the rasa image and try it from container, i am able to do openssl or curl to server. Really clueless on whats happening and why this behavior when we bundle rasa image.
My Docker File
FROM rasa/rasa:latest
USER root
COPY . /app
WORKDIR /app
ENTRYPOINT ["rasa"]
CMD ["run","--enable-api","--port","8443"]
Can you please help, we are blocked for a while now.