# Heartbeat http not providing any ping result

**URL:** <https://discuss.elastic.co/t/heartbeat-http-not-providing-any-ping-result/283948>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [September 11, 2021, 4:37pm UTC](https://discuss.elastic.co/t/heartbeat-http-not-providing-any-ping-result/283948 "2021-09-11T16:37:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![josh12](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@josh12](https://discuss.elastic.co/u/josh12)\
**Post date:** [September 11, 2021, 4:37pm UTC](https://discuss.elastic.co/t/heartbeat-http-not-providing-any-ping-result/283948/1 "2021-09-11T16:37:02Z")

</div>

Below is my code. When i check, it always showing summary.up is true. I test using postman i receive 400 bad request

```auto
- type: http
  id: my-site
  name: MY Site
  enabled: true
  schedule: '@every 5s'
  hosts: ["https://mysite/mypage"]
  check.request:
    method: POST
    headers:
      'Authorization': 'Basic dXNlcm5hbWU6cGFzc3dvcmQ='
  check.response.method: [200]
  timeout: 16s
  ssl.verification_mode: none

```

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [September 20, 2021, 1:47pm UTC](https://discuss.elastic.co/t/heartbeat-http-not-providing-any-ping-result/283948/2 "2021-09-20T13:47:39Z")

</div>

Can you post the entire response from heartbeat? If your site has redirects in place you may want to enable `max_redirects: 5` to follow up to 5 redirects. Heartbeat does not follow redirects by default.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 18, 2021, 3:48pm UTC](https://discuss.elastic.co/t/heartbeat-http-not-providing-any-ping-result/283948/3 "2021-10-18T15:48:30Z")

</div>

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