Please help me!HTTP ERROR 502

These are my logs:
Nov 6 06:44:41 PM ==> Cloning from githubPhaedra13/random-joke-generator…
Nov 6 06:44:42 PM ==> Checking out commit 77fcf40e9280cdb5c394ef51d6802c4312baacd6 in branch main
Nov 6 06:44:44 PM ==> Using Node version 14.17.0 (default)
Nov 6 06:44:44 PM ==> Docs on specifying a Node version: /renderdocs/node-version
Nov 6 06:44:44 PM ==> Running build command ‘npm install’…
Nov 6 06:44:46 PM added 104 packages from 86 contributors and audited 105 packages in 1.954s
Nov 6 06:44:46 PM
Nov 6 06:44:46 PM 15 packages are looking for funding
Nov 6 06:44:46 PM run npm fund for details
Nov 6 06:44:46 PM
Nov 6 06:44:46 PM found 0 vulnerabilities
Nov 6 06:44:46 PM
Nov 6 06:44:47 PM ==> Uploading build…
Nov 6 06:44:54 PM ==> Build uploaded in 7s
Nov 6 06:44:54 PM ==> Build successful :tada:
Nov 6 06:44:55 PM ==> Deploying…
Nov 6 06:45:24 PM ==> Using Node version 14.17.0 (default)
Nov 6 06:45:24 PM ==> Docs on specifying a Node version: /renderdocs/node-version
Nov 6 06:45:24 PM ==> Running ‘node index.js’
Nov 6 06:45:27 PM server is listening on port 3000.
Nov 6 06:49:22 PM ==> Using Node version 14.17.0 (default)
Nov 6 06:49:22 PM ==> Docs on specifying a Node version: renderdocs/node-version
Nov 6 06:49:22 PM ==> Running ‘node index.js’
Nov 6 06:49:25 PM server is listening on port 3000.
Nov 6 06:49:31 PM Your service is live :tada:

No matter what i do i keep getting this error:

This page isn’t working

random-joke-generator-phaedra13.onrender is currently unable to handle this request.

HTTP ERROR 502

I have no idea whats wrong. my ports match up. it says its working in my logs but the url is not working. when i deploy my app on my desktop it works i dont know whats wrong.

i had to edit the .coms out of my links or else it wont let me post this

i solved it. i had to add ejs to my package

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.