locked
page often showing "Internal Server Error " RRS feed

  • Question

  • User2131089582 posted

    I'm building online writing website here http://fatihululum.site , I bought hosting on https://my.vultr.com/ and below is spesification of my hosting 

    I often get internal server error when i access the page, then i have to reload it until don't show "Internal server error"

    What is the reason ?

    Sunday, January 20, 2019 3:01 PM

All replies

  • User475983607 posted

    What is the reason ?

    The first step is realizing that you created bugs in the code.  The second realization is we cannot magically see your code.

    Once you get past these facts then you can start debugging.  The first step is reproducing the error.  The second step is catching the error.  This is commonly accomplished by  adding/reviewing exception handlers.

    https://www.asp.net/mvc/overview/testing

    https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/exceptions/exception-handling

    Sunday, January 20, 2019 3:54 PM
  • User2131089582 posted

    I think it's not from my core or bugs happened because when i try access access using localhost on my computer i never encounter "Internal server error". I guess it's from the server right ?

    Sunday, January 20, 2019 10:01 PM
  • User475983607 posted

    I think it's not from my core or bugs happened because when i try access access using localhost on my computer i never encounter "Internal server error". I guess it's from the server right ?

    The bug you wrote made its way to the server.  So yes the bug is now located on the server.  It is up to you to debug the code.  Unfortunately, an internal server error usually means the code does not implement proper exception handling.  You have yo go back, wrap code in try...catch block, and write errors to an event log to figure out where the bug is located.   You might get lucky by looking at the event viewer for the actual error.  

    If you feel your code is error free and the server is causing the problem then contact your system admin for assistance.

    Sunday, January 20, 2019 10:34 PM
  • User1520731567 posted

    Hi hocamahdi99,

    I think it's not from my core or bugs happened because when i try access access using localhost on my computer i never encounter "Internal server error". I guess it's from the server right ?

    Maybe we can not reproduce your issue.

    I suggest you could move to the official forum of server:

    https://discuss.vultr.com/discussions

    Best Regards.

    Yuki Tao

    Tuesday, January 22, 2019 4:26 AM