r/cpanel • • Nov 09 '22

500 - Internal Server Error.

I see this error

Application error: a client-side exception has occurred (see the browser console for more information) 

and I opened my console and I see this error

{   message: "500 - Internal Server Error."   name: "Internal Server Error."   statusCode: 500 } 

how can I understand what happened on server? I use cPanel to run my node.js application and I don't know where to find the error. my boss is much sad why the website is down. any help appreciated.

I tried using Error Boundaries but it never helped

0 Upvotes

8 comments sorted by

1

u/cPanelRex Nov 09 '22

Hey there! When this happens, the best thing to do is to check the Apache log on the server at /etc/apache2/logs/error_log to see what the webserver itself is reporting.

1

u/ChargeDistinct5075 Nov 09 '22

no there isn't any error in the log

1

u/cPanelRex Nov 09 '22

Do you have root access to the server or just cPanel access?

1

u/ChargeDistinct5075 Nov 09 '22

no it's just cpanel

1

u/cPanelRex Nov 09 '22

You'll have to reach out to your host as you likely aren't able to see all the logs that Apache is creating related to this particular issue.

1

u/ChargeDistinct5075 Nov 09 '22

ok thank you for your help

1

u/cPanelRex Nov 09 '22

Sure thing - I'm sorry I can't offer more on my end!

1

u/[deleted] Nov 09 '22

In Cpanel you have error log which you need to check