Default maxRedirects too shallow
Closed this issue · 0 comments
sapiderman commented
Describe the bug
- When probing a url with redirect, monika returns error service down instead of following redirect
To Reproduce
Steps to reproduce the behavior:
- 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
- Run the probes
monka -c config.yaml
Expected behavior
- Expect probe to work.
- Expect some redirects to work
Desktop (please complete the following information):
- OS: PopOS 22.0 LTS
- Monika:
@hyperjumptech/monika/1.15.3 linux-x64 node-v18.16.0