Skip to content

received frame=Data { stream_id: StreamId(1), flags: (0x1: END_STREAM) } #335

@dburianov

Description

@dburianov

Hi everyone.
I have one installation with 3 locations. All deployment in docker compose.
One docker compose with all services, and 2 locations with only gateway.
I have problems with one main location and one of additional locations. Every day gateway in these locations set to disable state.

In the logs I see:

2026-06-16T22:41:21.209651Z DEBUG defguard_gateway::gateway: message=Found 0 peers configured on WireGuard interface log.target=defguard_gateway::gateway log.module_path=defguard_gateway::gateway log.file=src/gateway.rs log.line=854
2026-06-16T22:41:26.972024Z DEBUG Connection{peer=Server}: h2::codec::framed_read: message=received frame=Data { stream_id: StreamId(1), flags: (0x1: END_STREAM) }
2026-06-16T22:41:26.972100Z DEBUG Connection{peer=Server}: h2::codec::framed_read: message=received frame=Reset { stream_id: StreamId(1), error_code: CANCEL }
2026-06-16T22:41:26.972140Z  INFO defguard_gateway::gateway: message=gRPC stream from Defguard Core has been closed log.target=defguard_gateway::gateway log.module_path=defguard_gateway::gateway log.file=src/gateway.rs log.line=751
2026-06-16T22:41:26.972154Z  INFO defguard_gateway::gateway: message=Defguard Core gRPC stream has been disconnected: 20.30.40.200:53254 log.target=defguard_gateway::gateway log.module_path=defguard_gateway::gateway log.file=src/gateway.rs log.line=760
2026-06-16T22:41:26.972176Z DEBUG Connection{peer=Server}: h2::codec::framed_read: message=received frame=GoAway { error_code: NO_ERROR, last_stream_id: StreamId(0) }
2026-06-16T22:41:26.972196Z DEBUG Connection{peer=Server}: rustls::common_state: message=Sending warning alert CloseNotify log.target=rustls::common_state log.module_path=rustls::common_state log.file=/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustls-0.23.40/src/common_state.rs log.line=585
2026-06-16T22:41:51.208800Z DEBUG defguard_gateway::gateway: message=Gateway disconnected, skipping stats collection log.target=defguard_gateway::gateway log.module_path=defguard_gateway::gateway log.file=src/gateway.rs log.line=839

This behaviour does not depends on is anybody use this location or no. In the morning I enable gateway and in the evening gateway set to disable state.
The same logs on both gateways.

Free instalation.
It was 1.6.x and upgraded to 2.0. Now it 2.0.1 (gateway 2.0.1+abe6d01).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions