1. Shenbagam Balakumar
  2. PowerServer
  3. Wednesday, 10 July 2024 15:40 PM UTC

Hi Team,

I created the PowerServer Project with our current development oracle database and deployed the project to Azure App Service using Visual Studio 2022 (Direct Deployment). 

PowerServer Project:

Publish to Azure App Service:

When We run the Server API, we are getting the following the Internal Server Error Message. [Authentication is not happening] 

.Please let us know, if you have any suggestions or if anything we missed.

 

Thanks,

Shenbagam Balakumar.

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 10 July 2024 18:31 PM UTC
  2. PowerServer
  3. # 1

Also, adding to what Francisco said.  You compiled the Web APIs as x86.  Usually, Azure App Service is X64.

I recommend carefully following this tutorial: https://docs.appeon.com/ps2022r3/publishing_powerserver_projects_to_azure_app_service.html

Comment
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 10 July 2024 15:51 PM UTC
  2. PowerServer
  3. # 2

Hi Shenbagam,

For you to be able to use the dynamic configuration endpoints, your Web API configuration needs to be backed by a database, because it's using files by default. Please see the following documentation page: https://docs.appeon.com/ps2022r3/Storing_the_database_connection_in_the_database.html

Regards,
Francisco

Comment
  1. Shenbagam Balakumar
  2. Wednesday, 31 July 2024 07:23 AM UTC
Hi Team,



I done the code the changes and tried to published the code to Azure App Service. While running the application getting the blow error message.



Error:

An error occurred while starting the application.

SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

System.Net.Sockets.NetworkStream.Read(byte[] buffer, int offset, int count)



IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond..



Please give us some guide to proceed further.



Thanks,

Shenbagam Balakumar.
  1. Helpful
  1. Francisco Martinez @Appeon
  2. Wednesday, 31 July 2024 14:08 PM UTC
Make sure the database server you configured is correct, sounds like the address might be wrong, or the server machine is blocking the connection (check that the server's firewall allows incoming connections through the port)



Regards,

Francisco
  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.