hyperjumptech/monika

Default maxRedirects too shallow

Closed this issue · 0 comments

Describe the bug

  1. When probing a url with redirect, monika returns error service down instead of following redirect

To Reproduce
Steps to reproduce the behavior:

  1. Use the following config.yaml
probes:
  - id: 'http-1'
    name: 'status-200-test'
    requests:
      - url: https://www.spotify.com
    alerts:
      - assertion: response.status < 200 or response.status > 308
        message: HTTP Status is not 200
    incidentThreshold: 3
    recoveryThreshold: 3

notifications:
  - id: desktop
    type: desktop
  1. Run the probes monka -c config.yaml

Expected behavior

  1. Expect probe to work.
  2. Expect some redirects to work

Screenshots
image

Desktop (please complete the following information):

  • OS: PopOS 22.0 LTS
  • Monika: @hyperjumptech/monika/1.15.3 linux-x64 node-v18.16.0