Pushed the BYOC network module to client staging org using genesys-cloud-sdk-js@3.71.2. The BYOC health check is doing jack all. It’s rejecting the POST with a 502 Bad Gateway when the VPC peering connection flaps. Logs show the lambda function’s actually returning 200s but the gateway times out anyway.
2 Likes
When you check the BYOC health status, you’re hitting a 502 because you’re POSTing to an endpoint that only supports GET. The BYOC health check is a simple retrieval of the current edge status, not a state change. Switch to a GET request and the gateway will pass it through correctly. The VPC flap is likely causing transient latency, but the method mismatch is what’s triggering the immediate gateway error. Check the response headers for Retry-After if it keeps timing out during the flap.