Getting 500 Internal Server Error

Hi folks,

I been struggling to get Graylog 6.3 up and running for a few days now. I have two VMs set up as follows:

  • VM1 (192.168.10.109): MongoDB + Graylog Server

  • VM2 (192.168.10.25): Graylog Datanode

I followed this guide https://go2docs.graylog.org/current/downloading_and_installing_graylog/ubuntu_installation.htm

The deployment itself completes successfully (I’ve reinstalled multiple times to confirm), and the datanode joins the cluster without issues but when I try to access the Graylog web interface it keeps on saying “We are preparing the web interface for you…“. when I inspect the page I get a “500 Internal Server Error”

/api/users/admin:1  Failed to load resource: the server responded with a status of 500 ()
FetchProvider.ts:42 Uncaught (in promise) FetchError: There was an error fetching a resource.
Additional information: <html><body><h1>500 Internal Server Error</h1>
An internal server error occurred.</body></html>

From curl, I can successfully authenticate:

curl -v -u admin:****** -k http://192.168.10.109:9000/api/users/admin

Everything else looks good but I just can’t get the UI to fully initialize without throwing the 500 error.

Has anyone encountered something similar with the new Graylog + Datanode setup?

A 500 Internal Server Error usually indicates a problem with the Graylog server. Have you reviewed the Graylog server log files?

I managed to find a temporary fix. The issue was because there is a haproxy that redirects 192.168.10.109:9000 to graylog.example.com which is managed by someone else, I’m now using a public ip address(behind company range) to access the web GUI

2 Likes

Perfect! Thanks for making it clear.

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