I have Rasa core and action servers running as pods in kubernetes cluster. I have enabled CORS using traefik ingress settings but that only works when sending traffic over http but not https. Also, I have enabled https in rasa core service which responds with
Hello from Rasa: 3.2.7 message. But I’m getting below error when hitting the core service url through web app.
Access to XMLHttpRequest at 'https://core.company.com:5005/socket.io/?EIO=4&transport=polling&t=OPJurnL' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I read few articles/forums where we can enable CORS headers for https traffic in the application code in file config.yml or endpoints.yml or etc. Not sure how.
Please let me know if additional info is required and how can we achieve this. Any help is highly appreciated.