Skip to content

HamAlert connection times out every ~2 minutes #152

@EnigmaCurry

Description

@EnigmaCurry

Description

The HamAlert telnet feed connection is timing out approximately every 2 minutes, causing a reconnect cycle. The connection succeeds and authenticates each time, but drops again ~2 minutes later.

Observed pattern

  • Connect and authenticate successfully
  • ~2 minutes later: TimeoutError
  • 10 second pause, then reconnect
  • Repeats indefinitely

Sample logs (2026-04-05)

19:45:35 UTC WARNING: rigbook.spots: HamAlertFeed connection error: TimeoutError
19:45:45 UTC INFO: rigbook.spots: HamAlert: connecting to hamalert.org:7300
19:45:48 UTC INFO: rigbook.spots: HamAlert: connected and authenticated as wa7pge
19:47:49 UTC WARNING: rigbook.spots: HamAlertFeed connection error: TimeoutError
19:47:59 UTC INFO: rigbook.spots: HamAlert: connecting to hamalert.org:7300
19:48:02 UTC INFO: rigbook.spots: HamAlert: connected and authenticated as wa7pge
...

This repeats consistently with ~2 minute intervals between connect and timeout.

Possible causes

  • Read timeout too short for idle periods (server may not send data for extended periods)
  • Missing keepalive/ping mechanism to keep the connection alive
  • Server-side idle disconnect not being handled gracefully

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions