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
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...