1. Michael Connell
  2. PowerServer
  3. Monday, 23 August 2021 11:29 AM UTC

Hi,

I've installed PowerBuilder  / PowerServer 2021 and am following the Quick Start tutorial "(Minimal efforts) Updating the sample PowerServer project and deploying it" but am getting an error when I get to the step "Running the installable cloud application".

I downloaded the launcher, but the application did not start automatically as anticipated. When I clicked "Start the application" I got an error message related to the URL I have specified where the Web APIs will be running:

Any suggestions?

 

 

 

Olan Knight Accepted Answer Pending Moderation
  1. Tuesday, 24 August 2021 21:14 PM UTC
  2. PowerServer
  3. # 1

From a different thread this morning:

Francisco Martinez @Appeon
  1. Tuesday, 24 August 2021 13:38 PM UTC

Hi Bernhard,

The correct way to change the Web API's URL is by going into your PowerServer configuration. Under the Web APIs tab, the Web API URL field specifies the URL the API will be listening on, and the URL the Installable Cloud App will try to connect to.

 After changing this field you will need to redeploy the PowerServer project.

Let me know if this helps.

Regards,
Francisco

Comment
There are no comments made yet.
Michael Connell Accepted Answer Pending Moderation
  1. Tuesday, 24 August 2021 06:30 AM UTC
  2. PowerServer
  3. # 2

Francisco / Armeen ,

Thanks for your replies. Yes, I was working with a local machine and changing the URL to http://loacalhost:5000 did the trick.

Thanks to both of you for your assistance.

Regards,

Michael.

 

Comment
  1. Armeen Mazda @Appeon
  2. Tuesday, 24 August 2021 16:55 PM UTC
You're very welcome. Glad to hear it is working now.
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Monday, 23 August 2021 15:04 PM UTC
  2. PowerServer
  3. # 3

Your API URL most likely has problems.

Is PowerServer on your local machine?  We really recommend for the Quick Start you first get it working on your local machine before trying to deploy to a remote server.

For local machine, you should use http://localhost:5000

Also, as Francisco mentioned, make sure the compile and run the C# REST APIs generated by PowerBuilder.

 

Comment
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Monday, 23 August 2021 14:16 PM UTC
  2. PowerServer
  3. # 4

Hi Michael,

Did you start the Web APIs before running the application?
To run the APIs, you can click the "Compile & Run Web APIs" button in the PowerServer project's toolbar.

Regards,
Francisco

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.