1. Nilotpal Bera
  2. PowerServer
  3. Friday, 11 February 2022 12:46 PM UTC

Hi Team,

Greetings!

Recently Chrome browser was upgraded to version 98 and post that the PowerServer 2021 deployed apps are getting triggered multiple times at the same time.

Upon analysis we found that the browser is automatically making an additional PreFlight request because of CORS specs, with the same url that is for the local service running on the system to launch the apps(http://127.0.0.1:26568/Setup.ico/..........). This results in two instances of the exe's and one results in error due to locked runtime files and other succeeds.

Is there any way to stop these PreFlight requests or any other alternatives like by implementing some changes in files etc.

Screenshot attached.

Appreciate your help on this.

 

Thanks,

Nilotpal

 

Accepted Answer
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Thursday, 17 February 2022 06:32 AM UTC
  2. PowerServer
  3. # Permalink

Hi Nilotpal,

We have fixed the issue, please refer to the article below to solve it. Please note that this resolution applies to PowerBuilder 2021 build 1506 only. For previous versions, please upgrade to PowerBuilder 2021 build 1506 then adopt this resolution.
https://www.appeon.com/developers/get-help/knowledgebase/powerclientpowerserver-application-started-twice-chromeedge-version-98.html

Regards,
ZhaoKai

Comment
  1. Nilotpal Bera
  2. Thursday, 17 February 2022 13:05 PM UTC
Hi ZhaoKai,



Greetings!

Thanks for the updates.

We will upgrade the builds soon and retest.

Will keep posted.



Thanks,

Nilotpal
  1. Helpful
  1. Nilotpal Bera
  2. Monday, 21 February 2022 08:45 AM UTC
Hi ZhaoKai,

Greetings!

We are glad to share that the issue has been resolved.

All startup processes are working fine.

Thanks again for your quick support on this, really appreciate it.



Thanks,

Nilotpal
  1. Helpful
  1. Kai Zhao @Appeon
  2. Monday, 21 February 2022 08:48 AM UTC
Hi Nilotpal, Glad to hear that!
  1. Helpful
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Monday, 14 February 2022 06:34 AM UTC
  2. PowerServer
  3. # 1

Hi Nilotpal,

Thanks for reporting this problem! We reproduced it on our end and will do further research to figure it out. We will keep you posted on the progress.

I have not found a way to disable the preflight request. Please work around the issue for now by going to PowerServer project > Client Deployment tab to set the startup mode to 'Startup without background service', please refer to the articles below for more details.
https://docs.appeon.com/ps2021/Define_the_PowerServer_projects.html
https://docs.appeon.com/ps2021/Run_the_installable_cloud_application.html

Regards,
Kai

Comment
  1. Nilotpal Bera
  2. Monday, 14 February 2022 08:29 AM UTC
Hi ZhaoKai,



Greetings!

Thanks for looking into this.

Just tried as per your suggestion and it is working.



The only problem without service mode is that the app startup is somewhat inconsistent like sometimes it starts immediately on clicking a button and sometimes after multiple attempts. In rare cases, need to refresh the page to start the app. This we faced earlier and to resolve this deployed apps with background service.



Please let us know in case of any updates as we really want to go with the background service mode, it is neat and seamless and starts the apps immediately with great user experience.



Thanks again for all your help!



Thanks,

Nilotpal
  1. Helpful
  1. Kai Zhao @Appeon
  2. Monday, 14 February 2022 08:38 AM UTC
Hi Nilotpal,

We had escalated this problem to our development team for further analysis. we will need some time to figure it out and will get back to you if any progress we would make.

Regards, Kai
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Friday, 11 February 2022 15:14 PM UTC
  2. PowerServer
  3. # 2

What build of PowerServer 2021 are you using?

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 11 February 2022 15:56 PM UTC
Please try upgrading to build 1506, update the Cloud App Launcher on your Web server with the new one, and see if problem goes away. We did some enhancements in build 1506. https://www.appeon.com/company/news/powerbuilder-2021-mr-1506-released.html
  1. Helpful
  1. Nilotpal Bera
  2. Monday, 14 February 2022 08:20 AM UTC
Hi Armeen,

Greetings!

Sure, will upgrade the builds soon and test.



Appreciate your help on this.



Thanks,

Nilotpal
  1. Helpful
  1. Nilotpal Bera
  2. Monday, 21 February 2022 08:48 AM UTC
Hi Armeen,

Greetings!

Upgrading the builds to latest MR release 1506 along with the fix provided, resolved the issue.

Thanks for your continued support.

Thanks,

Nilotpal
  1. Helpful
There are no comments made yet.
Marco Meoni Accepted Answer Pending Moderation
  1. Thursday, 17 February 2022 16:47 PM UTC
  2. PowerServer
  3. # 3

THANK YOU Nilotpal for your extensive research!

You saved me lots of time as I was beginning to struggle with this double startup.

Unfortunately ZhaoKai's suggestion to set startup without background service will kill my environment, as it is deployed to CITRIX and background service is a must.

And unfortunately upgrading to 1506 will make sysadmins anger, as they will need to reinstall the updated version of CloudApp service + launcher on each CITRIX env.

So, I will have my bad days ahead, but at least I know where this issue comes from!

Cheers,

.m

 

Comment
  1. Nilotpal Bera
  2. Friday, 18 February 2022 08:17 AM UTC
Hi Marco,

Glad to know that it helped and thanks to Appeon for fixing this so quickly.



Thanks,

Nilotpal

  1. Helpful
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.