Fresh install of Graylog, Nginx errors

Hi there,

I just got a fresh install of Graylog working on our VPS Ubuntu machine. I can log in to the panels, create inputs, etc. But when I checked the Nginx error logs, it seems like I’m am getting Graylog errors every few seconds while being logged in and browsing the panels. I’m not sure what’s happening, but I’m trying to educate myself on the matter so I can fix it. Description bellow. Has anyone experienced this?

1. Describe your incident:
The Graylog is up and running and I manage to login to the UI and setup inputs. But Nginx is showing errors while being logged in using the panels.

2. Describe your environment:

  • OS Information: Ubuntu 22.04.3 LTS (running on a VPS)

  • Package Version: Graylog v5.2.6

  • Service logs, configurations, and environment variables:
    The Nginx error logs (I replaced the sensitive information with dummy IP and URL)

2024/04/10 09:43:03 [error] 919#919: *2149 connect() failed (111: Unknown error) while connecting to upstream, client: my-ip-address, server: my.domain.com, request: "GET /logs/api/system/cluster/nodes HTTP/1.1", upstream: "http://[::1]:9000/api/system/cluster/nodes", host: "my.domain.com:port", referrer: "https://my.domain.com:port/logs/welcome"

2024/04/10 09:43:16 [error] 919#919: *2152 connect() failed (111: Unknown error) while connecting to upstream, client: my-ip-address, server: my.domain.com, request: "POST /logs/api/cluster/metrics/multiple HTTP/1.1", upstream: "http://[::1]:9000/api/cluster/metrics/multiple", host: "my.domain.com:port", referrer: "https://my.domain.com:port/logs/welcome"

2024/04/10 09:43:29 [error] 919#919: *2152 connect() failed (111: Unknown error) while connecting to upstream, client: my-ip-address, server: my.domain.com, request: "GET /logs/api/system/notifications HTTP/1.1", upstream: "http://[::1]:9000/api/system/notifications", host: "my.domain.com:port", referrer: "https://my.domain.com:port/logs/welcome"

2024/04/10 09:43:42 [error] 919#919: *2152 connect() failed (111: Unknown error) while connecting to upstream, client: my-ip-address, server: my.domain.com, request: "POST /logs/api/cluster/metrics/multiple HTTP/1.1", upstream: "http://[::1]:9000/api/cluster/metrics/multiple", host: "my.domain.com:port", referrer: "https://my.domain.com:port/logs/welcome"

2024/04/10 09:43:48 [error] 916#916: *2151 connect() failed (111: Unknown error) while connecting to upstream, client: my-ip-address, server: my.domain.com, request: "GET /logs/api/system/cluster/nodes HTTP/1.1", upstream: "http://[::1]:9000/api/system/cluster/nodes", host: "my.domain.com:port", referrer: "https://my.domain.com:port/logs/welcome"

2024/04/10 09:43:54 [error] 919#919: *2149 connect() failed (111: Unknown error) while connecting to upstream, client: my-ip-address, server: my.domain.com, request: "POST /logs/api/cluster/metrics/multiple HTTP/1.1", upstream: "http://[::1]:9000/api/cluster/metrics/multiple", host: "my.domain.com:port", referrer: "https://my.domain.com:port/logs/welcome"

2024/04/10 09:44:08 [error] 919#919: *2149 connect() failed (111: Unknown error) while connecting to upstream, client: my-ip-address, server: my.domain.com, request: "POST /logs/api/cluster/metrics/multiple HTTP/1.1", upstream: "http://[::1]:9000/api/cluster/metrics/multiple", host: "my.domain.com:port", referrer: "https://my.domain.com:port/logs/welcome"

2024/04/10 09:44:11 [error] 916#916: *2151 connect() failed (111: Unknown error) while connecting to upstream, client: my-ip-address, server: my.domain.com, request: "GET /logs/api/system/notifications HTTP/1.1", upstream: "http://[::1]:9000/api/system/notifications", host: "my.domain.com:port", referrer: "https://my.domain.com:port/logs/welcome"

2024/04/10 09:44:24 [error] 919#919: *2149 connect() failed (111: Unknown error) while connecting to upstream, client: my-ip-address, server: my.domain.com, request: "POST /logs/api/cluster/metrics/multiple HTTP/1.1", upstream: "http://[::1]:9000/api/cluster/metrics/multiple", host: "my.domain.com:port", referrer: "https://my.domain.com:port/logs/welcome"

2024/04/10 09:44:26 [error] 916#916: *2151 connect() failed (111: Unknown error) while connecting to upstream, client: my-ip-address, server: my.domain.com, request: "GET /logs/api/system/notifications HTTP/1.1", upstream: "http://[::1]:9000/api/system/notifications", host: "my.domain.com:port", referrer: "https://my.domain.com:port/logs/welcome"

3. What steps have you already taken to try and solve the problem?
Trying to find out what the error logs means and how to fix it. But I can’t seem to find anyone with similar problems.

4. How can the community help?
I don’t know what the errors logs mean, trying to figure out what Graylog is trying to do that’s causing the error.

I think it’s solved now. I had to set the GL binding and enginx reverse-proxy to 0.0.0.0 and not localhost. The errors seem to be gone now. :+1:

2 Likes

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