is_alive ignores the port in base_url #15

Closed
opened 2026-10-14 08:58:50 +00:00 by christianmanivong · 0 comments
Owner

is_alive (~141-158) opens socket.create_connection((host, 443)), while base_url may name another port (https://fw:8443). A firewall whose API is not on 443 reads as dead. Fix: derive host and port from base_url.

Prio P4.

`is_alive` (~141-158) opens `socket.create_connection((host, 443))`, while `base_url` may name another port (`https://fw:8443`). A firewall whose API is not on 443 reads as dead. Fix: derive host and port from `base_url`. Prio P4.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-opnsense#15