Deployment Architecture

How to resolve Server Abort error - Nginx Reverse Proxy (load balancing)

BP9906
Builder

I thought I'd mention that I came across an error and worked with Splunk Support to determine the cause.

I had recently upgraded from Spunk 6.3.x to Splunk 6.4.x and I've been using Nginx as reverse proxy for a long time so that I can load balance traffic between peers of my SHC (search head cluster).

The error was happening when I tried to save a search in the Saved Searches menu via Settings > Saved Searches (old style).

The issue was apparent in Chrome console that I was getting conflicting X-Frame-Options headers. Previously I put in this config and changed it to match Splunk:

OLD:
add_header X-Frame-Options DENY;

NOW:
add_header X-Frame-Options "SAMEORIGIN";

This resolved my issue, in case someone else comes across it. Apparently Splunk implemented X-Frame-Options in 6.4 so thats why this issue was happening. I suppose I could remove the header altogether from Nginx but I thought I'd share what the cause and change was that helped me.

1 Solution

BP9906
Builder

Nginx reconfigured.

View solution in original post

0 Karma

BP9906
Builder

Nginx reconfigured.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...