Can you clarify what you mean by GrowthBook stops working? Does the GB app crash/exit? Or do your SDK integrations which communicate with the GB app fail?
A 502 typically means some sort of networking / firewall issue, so I'd check that each node is able to ping the other. You can also see if the
https://growthbook-proxy.development.domain.com/healthcheck endpoint works when calling it directly