portal-monitor script hangs after VPN reconnects

wrote this to notify me when the portal goes down. It works fine normally, but whenever OpenVPN drops and reconnects, the script just hangs at the requests. get call even though I set a timeout. Does anyone know why? repo is github.com/aarav-sharma-iiitd/portal-monitor, relevant part is line 34 in monitor.py

Posted May 2, 2026, 2:01 PM UTC

10
Loading comments…