1. Simone Olianti
  2. PowerServer
  3. Tuesday, 2 November 2021 11:14 AM UTC

Hello, i need some help on PowerServer 2021 / PowerBuilder CloudPro 2021 Build 1288
I've successfully built and deployed my powerserver project and then lauched "compile & run wep api" as usual without issues.

After opening the project in Snapdevelop to publish it to my remote webserver i've noticed there was an update to the PowerServer.api and PowerServer.core components from v.1.0.0 to v.1.1.0

I've tried to upgrade both components and everything went fine but after publish my web api to the server, i've noticed that opening my app from the client, it doesn't connect to the ASA database anymore.
I'm using cachename to connect to sqlca transaction object

sqlca.dbparm    =    "CacheName='start';PBMaxBlobSize='1024000' "
connect using sqlca;

After this i've reverted both PowerServer.api and PowerServer.core  to version 1.0 and everything works again without any issues.

The only thing i've noticed after this, is that now th Cloud App Launcher installer doesn't work anymore on any clients. Lauching It runs the installer but after that no desktop icon is created anymore.

I've treid to uninstal and reinstall the app from the client without success.

I've also tried to upload the cloud app laucher to the server from scratch but didnt help aswell

Any ideas?

tia, 

simone

Attachments (2)
Accepted Answer
Julie Jiang @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 3 November 2021 01:17 AM UTC
  2. PowerServer
  3. # Permalink

Hi Simone, 

The PowerServer.api and PowerServer.core components v.1.1.0 are supposed to work with the new 2021 MR (which we are releasing later today).  There are some internal changes in this MR, so the MR is incompatible with 2021 GA version.

Please wait for a while till the 2021 MR is publicly available (build #: 1311), and then install the new MR, and redeploy your project.

Best regards, Julie

 

Comment
  1. Julie Jiang @Appeon
  2. Wednesday, 3 November 2021 07:42 AM UTC
Hi Simone,

The 2021 MR build 1311 is now available in the Download center now. Please try to upgrade to the latest version and see if the issue is resolved.

Best regards, Julie
  1. Helpful 1
  1. Simone Olianti
  2. Wednesday, 3 November 2021 08:24 AM UTC
Hi Julie, i confirm now everything working like a charm! thank you again!!
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Wednesday, 3 November 2021 15:42 PM UTC
Thanks for confirming!
  1. Helpful
There are no comments made yet.
David Xiong @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 3 November 2021 03:28 AM UTC
  2. PowerServer
  3. # 1

Hi Simone,

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://81.21.20.221/cloudstart

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,

David

Comment
  1. Simone Olianti
  2. Wednesday, 3 November 2021 07:44 AM UTC
Thank you David, using firefox solved the issue!

i will consider to use https connection indeed
  1. Helpful
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 2 November 2021 15:57 PM UTC
  2. PowerServer
  3. # 2

Hi Simone,

Please try undeploying the PowerServer project (Right click on the project>Undeploy PowerServer Project), deploy the CloudApp Installer again and delete the Web API solution project. Once that's done deploy the project again.
After the Web APIs are deployed please verify that the projects are using version 1.0.0 of the PowerServer.Api NuGet package

Regards,
Francisco

Comment
  1. Simone Olianti
  2. Tuesday, 2 November 2021 16:46 PM UTC
the cloudapp installation issue looks like similar to this other one reported here

https://community.appeon.com/index.php/qna/q-a/running-cloudapp-launcher
  1. Helpful
  1. Francisco Martinez @Appeon
  2. Tuesday, 2 November 2021 17:07 PM UTC
Please verify you don't have multiple installations of CloudApp Launcher in your system. If possible, uninstall all of them. The appropriate one will be reinstalled when you access your app's URL again.
  1. Helpful
  1. Simone Olianti
  2. Tuesday, 2 November 2021 17:35 PM UTC
uninstalled all lauchers then reinstalled only the latest one but unfortunately getting same issue. the workaround for now is to click on the

http://127.0.0.1:26569/Setup.ico/http://xx.xx.xx.xx/cloudstart/ url that finishes the client app installation correctly
  1. Helpful
There are no comments made yet.
Simone Olianti Accepted Answer Pending Moderation
  1. Tuesday, 2 November 2021 14:38 PM UTC
  2. PowerServer
  3. # 3

apparently running the url "http://127.0.0.1:26569/Setup.ico/http://xx.xx.xx.xx/cloudstart/" (found listed in the errors in developer mode in google chrome)  it finishes the installation correctly and creates the desktop icon

but have no idea why

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.