Category / Section
Resolving "Internal Server Error" in Node.js Embedded Applications
Published:
When you encounter an “Internal Server Error” in a Node.js embedded application, it is important to check the logs of the application and the event log if deployed in a different environment like Kubernetes.
Internal Server Error
error can occur due to several reasons, and here are a few major items that could lead to this error:
- If you’re using a Node.js application in the AuthorizationServer API file, it is important to include below dependencies. These dependencies allow access to HTTP and HTTPS requests. If these dependencies are not included, your Node.js application won’t be able to make a REST API request call with the site (for example, the Bold BI application site) of HTTP and HTTPS respectively. This could lead to an “Internal Server Error”.
var http = require("http");
var https = require("https");
- Ensure that the Bold BI application is up and running at the time of facing the error.
As stated earlier by checking the event log and application log we could be able to figure out the root cause of the issue and could be able to resolve the “Internal Server Error”.