I have some global Load balancer on the GCP. This balancer should send requests to the instance group with two back services.
And when I try to send some requests, I randomly get 502 errors failed_to_connect_to_backend
from my load balancer.
I can get a successful answer seven times, one by one, and then 2-3 times 502 error for the same request.
In the Monitoring Dashboard I see this - my both services are healthy. The Instanse groups overwiev shows 100% healthy status too.
URL map rules is default default I also don`t see any problems with resource consumption
And, unfortunately, I couldn't get any logs from the back-end side for the 502 errors, have only logs from the Load Balancer