Does the application work well on Firefox/IE? If only Chrome/Edge have the issue, it should be caused by an Chromium security update. PowerServer application requires to access local service http://127.0.0.1, but this update does not allow remote site access the local resource via http connection, please refer to the article below for details. https://developer.chrome.com/blog/private-network-access-update/
Please try any solutions below to work around the issue .
1. Start application via Firefox/IE.
2. Install the certificate on web server and use the https connection to access the application, for example: https://%server%/%applicaiton%
3. Disable 'Block insecure private network requests' in Chrome/Edge. https://stackoverflow.com/questions/66534759/chrome-cors-error-on-request-to-localhost-dev-server-from-remote-site
We have tried setting Access-Control-Allow-Origin on the server side, but it does not solve the issue. It is caused by the Private Network Access on Chrome, please refer to the article below for more details.