Question

My App and Page could not be served

Hi,

I am new to deploy app on cloud. I followed the deployment steps and set some environment variables to run my first app. The App overview page shows the status “Avaiable”, RAM 14% and CPU 1%. Both Deployment Log and Runtime Log shows the app started normally. If I type “top” in the Console, “npm start” and “node” run properly.

However, Error is encountered if accessing the page with message

“We encountered an error when trying to load your application and your page could not be served. Check the logs for your application in the App Platform dashboard.”

The generated public URL is below. It would be helpful if you can give me some direction to fix the issue.

https://octopus-app-6tx7w.ondigitalocean.app/

I also have a few questions:

  1. Is it OK to set my app to run at port 443?
  2. What is default HTTP port 8080 (the service’s run command will listen)?
  3. Is it OK to use self signed cert?

Thank you for you help in advance.

Regards, Michael


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

This does not look like a resource related issue. And it should not be a problem that your application is running on port 443.

The error that you are getting when visiting the public URL indicates that something is wrong with the application itself, can you please check the logs for your application in the App Platform dashboard?

Feel free to share the logs here so we can try to advise you further.

Best,

Bobby