Skip to content

Basic Station WS keepalive/ping interval seems ~15s and not configurable #249

@HansDaigle

Description

@HansDaigle

Summary

We’re running ChirpStack Gateway Bridge v4 in Basic Station mode. On LTE gateways we see persistent ~15s keepalive traffic to the LNS (WSS). This appears to be WebSocket ping/pong (TLS encrypted), not application payload. The interval is too frequent for data‑capped LTE, and we can’t find any config option to change it.

Evidence

  • Gateway is Semtech Basic Station (/usr/bin/lbs/station) connecting to wss://lns.stack927.com:443 via Gateway Bridge.
  • Packet captures show ACK‑only traffic at ~15–16s intervals over the LNS TCP connection, even with no LoRaWAN traffic.
  • No config option in chirpstack-gateway-bridge TOML for WS ping/keepalive; only MQTT keepalive in chirpstack config.

Implementation description

Expose a configuration option for the Basic Station WebSocket ping interval (and/or disable/adjust it), or document how to tune it. Default of ~15s is too aggressive for LTE/NAT environments.

Environment

  • ChirpStack Gateway Bridge: chirpstack/chirpstack-gateway-bridge:4
  • Basic Station backend (type="basic_station")
  • LTE gateways with data cap

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