Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Regional internal proxy Network Load Balancer with hybrid connectivity

Hi all, 

I have this setup in place. 
https://cloud.google.com/load-balancing/docs/tcp/set-up-int-tcp-proxy-hybrid

I have the following issue. 
After creation I need to way for a long time ( + 1h) until I have a success connection.
e.g. after LB recreation

abelmatos_0-1712333926111.png

 

until a success connection I have 
(56) Recv failure: Connection reset by peer
(52) Empty reply from server

What I think is coming from the health check unhealthy for the backends.

https://cloud.google.com/load-balancing/docs/tcp/internal-proxy#failover


Because this are proxy only + envoy proxies there is no way to check logs/metric for the health check. 

I will like to have a idea where I can find logs/metric. 
To identify the root cause of this delay.

 For the connection test I have this 

abelmatos_1-1712334333387.png

 

Solved Solved
2 2 997
1 ACCEPTED SOLUTION

moving health check to tcp resolve the issue.

{
"insertId": "....",
"jsonPayload": {
"projectId": "....",
"healthCheckProbeResult": {
"targetPort": ....,
"probeCompletionTime": "2024-04-08T09:23:34.224Z",
"targetIp": "....",
"healthCheckProtocol": "HEALTH_CHECK_PROTOCOL_TCP",
"previousHealthState": "UNHEALTHY",
"healthState": "HEALTHY",
"ipAddress": "....",
"probeSourceIp": "...."
},
"@type": "type.googleapis.com/google.api.servicecontrol.type.ActiveHealthCheckEvent",
"zone": "europe-west6-a",
"networkEndpointGroupId": "...."
},
"resource": {
"type": "gce_network_endpoint_group",
"labels": {
"network_endpoint_group_id": "....",
"zone": "europe-west6-a",
"project_id": "...."
}
},
"timestamp": "2024-04-08T09:23:34.224Z",
"logName": "projects/..../logs/compute.googleapis.com%2Fhealthchecks",
"receiveTimestamp": "2024-04-08T09:23:42.548487274Z"
}

View solution in original post