We have had an issue in our Salesforce sandboxes since the start of the week. Salesforce support has been pretty useless from the beginning.
Problem: Our Angular app is unable to send requests to an outside server.
Content-Security-Policy: The page’s settings blocked the loading of a resource (connect-src) at https://ourserver.com/api/user?userId=username because it violates the following directive: “connect-src 'self' wss://org--c.sandbox.container.force.com:80”
This Angular app is inside a lightning container that loads up the .zip from the static resource file system. We have added this server to Security -> Trusted URLs since the beginning. And everything has been working fine for a long time until now. Other calls to the said server still work fine. It's just that the calls happening inside the Angular app are no longer working.
Has there been an update to sandboxes during the previous weekend that might be the cause of this?
Our org (sandboxes and prod) has been migrated to Hyperforce. Production is still working fine (fingers crossed). Problem is currently only affecting our two sandboxes.
Any help or ideas are more than welcome!