Any ideas on "Your app is having trouble loading the st_aggrid.agGrid component"?

Hi All,
We had the same issue/error (it was actually when we tried to deploy an app in Kubernetes).
After weeks of troubleshooting - we eventually solved it by adding the following response headers to nginx:

X-Frame-Options: SAMEORIGIN

Seems like by default this is set to deny in Ingress controller.

So if used in K8s - the following annotation needs to be added to the Ingress:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    nginx.ingress.kubernetes.io/configuration-snippet: |
      more_set_headers "X-Frame-Options: SAMEORIGIN";

Happy Streamliting :slight_smile:

1 Like