mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-11 08:29:13 -05:00
[GH-ISSUE #2605] [gerbil]: Never online sites default to listenPort 0 #4140
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LaurenceJJones on GitHub (Mar 5, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2605
Originally assigned to: @oschwartz10612 on GitHub.
Sites push which port and address they are listening on to Pangolin, if the site never comes online the
listenPortis not configured within the database so:483d54a9f0/server/lib/rebuildClientAssociations.ts (L580-L583)will default the
orcondition to0which then triggers a gerbil error since nothing can bind to port0gerbil correctly expects a listenPort> 0.User deleted the never online site from discussion below and it fixed the intermediate problem for them but we need to ensure that either we filter the status of the site before mapping the destinations or we simply do not define a
orcondition of0.or if we do allow an or condition of
0then gerbil can smartly ignore these entries.Discussed in https://github.com/orgs/fosrl/discussions/2604