I have an application URL 1 that redirects to a different URL 2. From browser when I hit URL 1 , it redirects me to URL 2 and in network I can see that URL 1 returns response code as 302 as its redirecting to URL 2. But when I monitor URL 1 using heartbeat, heartbeat is showing as 404. Please assist !
NOTE: I was able to ping the host of URL 1 as well from CMD prompt.
Can you access the host via curl? If it's a 404 there's something about the way the app is reacting to heartbeat that is different. It could also be an issue where the URL needs you to be logged in or have a special header.
I suspect you'll need to debug this from the application side. There must be some logic in the application that is causing it to return a 404 due to some input parameter.
Yes. Some sites (including discuss.elastic.co) block unexpected user agents like heartbeat.
At any rate it's impossible to debug without seeing both sides of the connection. If you do find that is definitively a heartbeat bug please let us know.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.