- Oliver Leterski
- PowerBuilder
- Monday, 2 May 2022 02:18 PM UTC
Hello,
we have a problem with a powerclient project (similar to the thread Enable Cors in Powerser).
Server: Windows Server 2012, all updates, IIS 8.5 (with cors module)
Client: Windows 10 Enterprise , all updates
IDE: PB 2021, build 1506
After the deployment to the server, I go to the client and open the browser (regardless of whether it is Google Chrome, Opera or Edge), I can still download and run the cloud app installer after entering the server ip and the project folder (http://server/projekt) - nothing else happens.
When I now open the developer tools in Chrome and go to the console, I get the following message:
Access to image at 'http://127.0.0.1:26569/Setup.ico/http://<server>/<project>/' from origin 'http://<server>' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `local`.
By clicking on the link (http://127.0.0.1:26569/Setup.ico/http://<server>/<project>/) in the console, this link is called up in a new browser tab, the program is downloaded, get installed on the client and ran without further problems or error messages.
Is there already a solution for this without having to install a ssl certificate or disable the browser's security mechanisms?
Kind regards,
Oliver
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.