I assume that you are using HTTPS Load balancer. I would recommend you to 
check this debugging Health Checks document[1] to troubleshoot the health 
check failure.

[1]https://cloudplatform.googleblog.com/2015/07/Debugging-Health-Checks-in-Load-Balancing-on-Google-Compute-Engine.html
 

Verify that the Health Check is checking something which will reply with an 
HTTP 200 response by the backend. You can bypass the load balancer and send 
a curl request directly to the backend instance on its external IP to test 
it. For example
$ sudo curl -I http://35.x.x.x

2. Use netstat -nltp on the backend instance to see what's listening on TCP 
ports. It should be listening on a non-loopback (127.0.0.1) address, or 
"all-addresses" (0.0.0.0 or ::), using one of the named ports set on the 
instance group.

3. Make sure that the local firewall on the instance is not blocking the 
health check probes coming from the IP ranges 130.211.0.0/22 and 
35.191.0.0/16.

4. Run a tcpdump on the backend instance to verify that traffic is reaching 
it from the above IP ranges(130.211.0.0/22 and 35.191.0.0/16).

Also, make sure that the backend writes the right http headers to mark 
content as cacheable [2].

[2]https://cloud.google.com/cdn/docs/caching#cacheability


On Tuesday, January 29, 2019 at 9:26:56 AM UTC-5, Ricardo Vieira wrote:
>
> Hello Everyone,
>
> I am configuring an LB to later use CDN but I am not able to finish it 
> because of a failing Health Check.
>
> All backend instances are OK, running and I am able to connect to them 
> without any issue, all firewalls are open to the IP address of the health 
> check machines. Have increased timeout time to exclude that as well.
>
> Any tip on this?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f6c15bde-d773-4397-a9a1-74338010535f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to