Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to read assertion Error #1330

Open
sapiderman opened this issue Dec 9, 2024 · 0 comments · May be fixed by #1340
Open

Failed to read assertion Error #1330

sapiderman opened this issue Dec 9, 2024 · 0 comments · May be fixed by #1340
Assignees
Labels
bug Something isn't working

Comments

@sapiderman
Copy link
Contributor

sapiderman commented Dec 9, 2024

Describe the bug
Getting some error message "Failed request assertion is not found" when probing.

To Reproduce
Steps to reproduce the behavior:

  1. Use the following config.yaml
probes:
  - id: 'http-1'
    name: 'mock-test'
    requests:
      - url: http://0.0.0.0:7001/v1/hello
    alerts:
      - assertion: response.status < 200 or response.status > 308
        message: HTTP Status is not 200
      - assertion: response.ime > 2000
        message: Too sloow
  1. Start probing using: npm start -- -c config.yaml
  2. Start your local mock server
  3. Then disable/turn off the mock server

Expected behavior

  1. Assertion exist, should have no problem finding it even when connection is refused

Screenshots
image

Desktop (please complete the following information):

  • OS: WIndows 11 and WSL (Ubuntu 24.04 LTS)
  • Lateest monika from main branch

Additional context
Seems to appear when disconnected/ERCONNREFUSED error

@sapiderman sapiderman added the bug Something isn't working label Dec 9, 2024
@syamsudotdev syamsudotdev self-assigned this Dec 29, 2024
@syamsudotdev syamsudotdev linked a pull request Jan 5, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants