Hi,
Urgently need someone to help me resolve this error. The error is about CORS.
While deploying, i use the server ip and replace localhost with 192.236.194.16 (server ip)
Please help.
Hi,
Urgently need someone to help me resolve this error. The error is about CORS.
While deploying, i use the server ip and replace localhost with 192.236.194.16 (server ip)
Please help.
Greetings!
We encounter this error on our end. How can we fix it?
Thank you.
Have added app.UseCors(m => m.SetIsOriginAllowed()); but still experience the same challenge. I case i will still have to wait for Powerbuilder2022 version.
Hi Matthews,
Please note that the issue will be fixed in the coming PowerBuilder 2022 beta version (early June).
Best regards, Julie
Hi mathews,
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
Regards,
Kai
Have you upgraded to the latest build 1311?
Hi Mathews;
Please open a support case for this issue.
Regards ... Chris