1. Marcelo Gil
  2. PowerBuilder
  3. Friday, 22 November 2024 13:40 PM UTC

I am using PowerBuilder 2022 R3 Build 3356. When trying to install the application using the PowerClient project, it starts downloading files, but the download gets interrupted as shown in the image. Does App Launcher generate any log where we can see what it is unable to download or what error is being generated?"

 

Tnks

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 22 November 2024 15:13 PM UTC
  2. PowerBuilder
  3. # 1

Hi Marcelo;

  • Is this happening on your Dev machine?
  • Are you using a local IIS web server to host the PC App?

Regards .. Chris

Comment
There are no comments made yet.
Marcelo Gil Accepted Answer Pending Moderation
  1. Friday, 22 November 2024 15:30 PM UTC
  2. PowerBuilder
  3. # 2

Hi Chris!

 

Thanks for replying.

We are using an Apache server in the cloud.

This happens on the client's PC, with Windows 10.

The app launcher downloads, starts downloading files, but always gets stuck at the same point I shared in the image.

If there is a log to understand what it is downloading or what it cannot find, it would be helpful for us to assess the case.

Any suggestions you could share with me would be appreciated.

 

Tnk

Comment
  1. Chris Pollach @Appeon
  2. Friday, 22 November 2024 16:00 PM UTC
Hi Marcelo;

Thank you for that updated information on this issue. I am assuming then that all works well using your local DEV PC.

For the Cloud location and the use of the Apache Server, this issue could be because ...

1) You did not sign the Cloud App Launcher before deploying it to Apache.

2) You did not sign the PC App EXE before deploying it to Apache

3) Your network might require HTTPS vs HTTP in order to allow this

4) There might be network restrictions on downloading Web Server Apps at your organization

5) There might be Windows "Policy" restrictions on downloading Web Server Apps at your organization

6) This could be firewall and / or proxy server restrictions

7) What did the Apache web server logs indicate?

8) Did you check the AV logs for blocking issues?

The above would be my suggested places to look for this issue. HTH

Regards .. Chris
  1. Helpful
There are no comments made yet.
Marcelo Gil Accepted Answer Pending Moderation
  1. Friday, 22 November 2024 21:44 PM UTC
  2. PowerBuilder
  3. # 3

Hi Chris!

I found in the web server logs that I am being blocked due to the number of downloads.

The point to discuss is whether in the PowerClient project it’s possible to specify not to generate a folder for each object per PBD file, but rather to directly publish the PBD, which would significantly reduce the number of downloads. Would that be possible?

 

 

Comment
  1. Chris Pollach @Appeon
  2. Friday, 22 November 2024 22:01 PM UTC
Hi Marcelo;

The PC deployment to the Web Server is already compressed by object file as the key after the initial download of the App is to only send the changed object's P-Code down to the App user's machine.



What can make a difference in the # files is:

A) All "external" files residing in a compressed package where possible (ie: one file to download).

B) Use the PC project setting "Download the App files only when necessary" vs "All files at App start-up).

=> Brings the App object files down only when referenced (instantiated).



However, you would still need to compensate for the CAL (Cloud App Launcher) which will also try to bring down the PB runtime DLL's (one file for each). Of course, the CAP & PB Runtime would be a one time thing. You could reduce that by having a small PC App (like Hello World) run firth to get the CAL installed and the PB Runtime. Then give the App Users the PC production link afterwards. Since the CAL & PB runtime would then already be there on the App User's machine, then only the PC App files would be required at that point to be downloaded. Couple that with the "Download the App files only when necessary" seeting might get you "under the file number block" (my guess).



Any chance that you can have the PC App(s) file download number restriction increased for those apps at the web server side?



Regards .. Chris
  1. Helpful
  1. Marcelo Gil
  2. Friday, 22 November 2024 22:20 PM UTC
Hi Chris!



I will take your recommendations! I will probably opt to continue using 'pbupdater,' which has been a brilliant solution on your part for updating the applications! Thank you very much for your advice and thank you very much for pbupdater!!!
  1. Helpful 1
  1. Chris Pollach @Appeon
  2. Saturday, 23 November 2024 04:04 AM UTC
Welcome & good luck. Please let us know how you make out!
  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.