Skip to content

Successful UDP connection on a closed port #1536

@djdejawu

Description

@djdejawu

Describe the bug

I have an endpoint set up inside Suite.

endpoints:
  - name: upd-service
    url: udp://192.168.12.22:1161
    conditions:
      - "[CONNECTED] == true"

but this port is closed on the node.

# netstat -tulpn | grep 1161

for some reason, the test status is "Successful".

What do you see?

udp test on closed port was "Successful"

What do you expect to see?

test on closed udp port must be "Failed"

List the steps that must be taken to reproduce this issue

  1. setup UDP endpoint
  2. run tests in suite

Version

ghcr.io/twin/gatus:stable

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions