We have setup redash open source and since drilldown charts are not there, we implemented our own UI to setup charts. But now we are facing a CORS Issue. The error log is listed below. Any help appreciated.
35.229.38.229–Redash server.
Our Ui app is being served from localhost.
Steps tried out:
1).
We have set the env variable, export REDASH_CORS_ACCESS_CONTROL_ALLOW_ORIGIN=""
restarted the server using sudo supervisorctl restart all.
2).edited settings.py
ACCESS_CONTROL_ALLOW_ORIGIN = “*”
compiled using python -m compileall settings.py
restarted the server
But still the same issue exists.

No ‘Access-Control-Allow-Origin’ header is present on the requested resource. The response had HTTP status code 404.

Can anyone please help on this one

Below is the detailed error message

Failed to load http://35.229.38.229/api/queries/32: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:3000’ is therefore not allowed access. The response had HTTP status code 404.

@hareeshav Did you find a fix for this?