Open benlee0423 opened 1 week ago
Is the API deployed currently without a load balancer?
Is the API deployed currently without a load balancer?
API is deployed with load balancer. Because the connection between two does not work, we need to call API url to get big query result.
Custom API Gateway that was created based on this repository does not communicate with Load Balancer in GCP. Followed the steps in the following documentation. https://cloud.google.com/api-gateway/docs/gateway-serverless-neg
Also, try the same with Hello World API Gateway. In this case, it worked perfectly.
The below is the log file with custom API Gateway with Load balancer. The only thing I got from load balancer log is the json payload below in WARNING severity. "jsonPayload": { "remoteIp": "76.115.184.4", "@type": "type.googleapis.com/google.cloud.loadbalancing.type.LoadBalancerLogEntry", "cacheDecision": [ "RESPONSE_HAS_CACHE_CONTROL", "CACHE_MODE_USE_ORIGIN_HEADERS" ], "backendTargetProjectNumber": "projects/580147433214" }
Complete log messages for both big query backend and hello world backend with the same load balancer are attached. hello_load_balancer.txt nwm_load_balancer.txt