Giter VIP home page Giter VIP logo

Comments (5)

veduco avatar veduco commented on August 19, 2024

UDP health check always returns true.
Any upstreams monitored with UDP don't accurately reflect the endpoints status.

Tested on v1.17.8

from ngx_healthcheck_module.

ice2lin avatar ice2lin commented on August 19, 2024

udp 的健康检查还是有问题,随便填一个 udp 结果都是 up

from ngx_healthcheck_module.

zhouchangxun avatar zhouchangxun commented on August 19, 2024

@idmaoning @veduco @ice2lin
The root cause is that I hadn't set default check data which cause the checker didn't send check packet.
I fixed it in this commit: 6188804

Please re-pull the master branch and re-compile & test it again if needed.

Anyway, thank you for you guys' feedback :D

from ngx_healthcheck_module.

zhouchangxun avatar zhouchangxun commented on August 19, 2024

Please write here if the patch works and I will close this issue after that.

from ngx_healthcheck_module.

zhouchangxun avatar zhouchangxun commented on August 19, 2024

UDP check depends on icmp reply(port/host unreachable).
So please make sure icmp can work between nginx and backend server otherwise it will assume backend is alive if no any icmp reply.

from ngx_healthcheck_module.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.