Problem of Internal Server Error

Technical Support
  • Hello,

    I have a recurring issue with NodeBB 1.9.3 running in docker with redis 3.0.6.
    Sometimes the web interface stated "Internal server error" only and I have no access to my forum.
    The only solution to remove the issue is to reboot the container.

    Here's what the logs show me:

    Render failed for template <div class="panel ui:
    Render failed for template <div class="panel ui:
    Render failed for template <div class="panel ui:
    Error: Render failed for template <div class="panel ui:
    Script execution timed out.
    at ContextifyScript.Script.runInContext (vm.js:59:29)
    at ContextifyScript.Script.runInNewContext (vm.js:65:15)
    at Object.runInNewContext (vm.js:135:38)
    at evaluate (/usr/src/app/node_modules/benchpressjs/build/lib/evaluate.js:17:6)
    at precompile.then.code (/usr/src/app/node_modules/benchpressjs/build/lib/compile-render.js:34:74)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    Render failed for template <div class="panel ui:
    Render failed for template <div class="panel ui:
    Render failed for template <div class="panel ui:
    Render failed for template <div class="panel ui:
    Error: Render failed for template <div class="panel ui:
    Script execution timed out.
    at ContextifyScript.Script.runInContext (vm.js:59:29)
    at ContextifyScript.Script.runInNewContext (vm.js:65:15)
    at Object.runInNewContext (vm.js:135:38)
    at evaluate (/usr/src/app/node_modules/benchpressjs/build/lib/evaluate.js:17:6)
    at precompile.then.code (/usr/src/app/node_modules/benchpressjs/build/lib/compile-render.js:34:74)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

    If anyone knows about this problem, thanks for the help.

  • I have the same if the forum has no traffic for some time. Something inside Node.js timeouts. My fix was to load the forum every x minutes which I do as part of server monitoring anyways. Since then its 100% fine.

  • @pummelchen Thanks for the response.
    Ok for the solution, but If that's true, it's still strange behavior. My forum is in a test period so indeed it doesn't have much traffic, but I come by at least once a day to see just how frequent the error is. It means that if we go on vacation and nobody visits our forum for a few days, when we get back all the owners of a forum under nodeBB have chances to see this error? That's annoying.


Suggested Topics