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

Gateway disconnect notification timeout not respected #875

Open
voyvodov opened this issue Nov 27, 2024 · 0 comments
Open

Gateway disconnect notification timeout not respected #875

voyvodov opened this issue Nov 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@voyvodov
Copy link

Describe the bug
The env variable DEFGUARD_GATEWAY_DISCONNECTION_NOTIFICATION_TIMEOUT is not respected by the core.
No matter what value is put, notification is always send even for a simple gateway restart.

To Reproduce
Steps to reproduce the behavior:

  1. Add gateway
  2. Put DEFGUARD_GATEWAY_DISCONNECTION_NOTIFICATION_TIMEOUT=1h for an example in /etc/defguard.core.conf file.
  3. Configure SMTP
  4. Restart the gateway (which takes <1 minute).
  5. You'll get an email immediately.

Expected behavior
Defguard should sent notification only if the gateway is disconnected for the specific time.

Version information

  • Defguard Core version: v1.1.0
  • Defguard Gateway version: v1.1.0
  • Operating system and version running the gateway: Ubuntu 20.04
@voyvodov voyvodov added the bug Something isn't working label Nov 27, 2024
@teon teon moved this to Refined & Ready in Backlog & Roadmap Nov 27, 2024
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
Status: Refined & Ready
Development

No branches or pull requests

1 participant