1. Oliver Leterski
  2. PowerBuilder
  3. Monday, 2 May 2022 14: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

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 2 May 2022 14:28 PM UTC
  2. PowerBuilder
  3. # 1

Hi Oliver;

  Looks like this will be addressed in PB/PS2022 ...

https://community.appeon.com/index.php/qna/q-a/enable-cors-in-powerser

Note: PowerServer App's use PowerClient as the "delivery" mechanism.

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.