All Apps and Add-ons

response_code 504 and timed_out is False

arielpconsolaci
Path Finder

Good day fellow Splunkers. We have been using Website Monitoring for some Urls, and there is this particular webpage where we are encountering Web Ping Failures/response_code 504.
Can someone advise how is this response code being encountered? Is it also possible to have this error encountered whilst timed_out is False?

Thank you in advance.

Tags (1)
0 Karma

LukeMurphey
Champion

I broke up the response into two parts since there are two questions in the post:

Why this isn't considered a time-out?
The input got a response from the HTTP server which is why this isn't considered a timeout. Let me explain.

The timed_out field indicates that the TCP or HTTP connection timed out by not responding with any data. In this case, the input successfully got an HTTP response with a response code of 504. The 504 response code itself indicates that though the HTTP server responded, it could not connect to some other system for some reason.

Why is the HTTP/504 error happening?
You will need to do some debugging to figure this out. Some things to consider trying are:

  1. Try a different URL on the same site to see if it is limited to the one URL
  2. See if the error is transient (goes away and comes back)
  3. Looking at the web-server logs if you have access to them
  4. Pulling packet captures to see the HTTP connection in case it helps
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...