Skip to content

Defguard 2.0.2 Gateways reconnect fail #353

Description

@someuser307

After rebooting core instances or changing core configuration, all gateways will be disconnected / getting errors until restart:

defguard_gateway::gateway: message=Failed to retrieve WireGuard interface statistics: Netlink error: Netlink payload error: No such device (os error 19) log.target=defguard_gateway::gateway log.module_path=defguard_gateway::gateway log.file=src/gateway.rs log.line=618 [2.0.2 Debian 13.0.0 x86_64]

Before that happens, we get these logs:

2026-07-24T06:37:41.100505Z INFO defguard_gateway::gateway_server: message=Defguard Core gRPC stream has been disconnected: X.X.X.X:Port log.target=defguard_gateway::gateway_server log.module_path=defguard_gateway::gateway_server log.file=src/gateway_server.rs log.line=253
2026-07-24T06:37:41.100631Z ERROR defguard_gateway::gateway: message=Gateway purge failed to drop the interface: Netlink error: Netlink payload error: No such device (os error 19) log.target=defguard_gateway::gateway log.module_path=defguard_gateway::gateway log.file=src/gateway.rs log.line=197 [2.0.2 Debian 13.0.0 x86_64]
2026-07-24T06:37:42.200932Z INFO defguard_gateway::gateway_server: message=Defguard Core gRPC client connected from X.X.X.X:Port log.target=defguard_gateway::gateway_server log.module_path=defguard_gateway::gateway_server log.file=src/gateway_server.rs log.line=162

This applies for gateways and also proxies.

We also have some gateways with added cache space, same problem.

Could you please find a solution for that or is it fixable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions