GoogleCloudPlatform / GoogleCloudPlatform/esp-v2

AUTO DnsLookupFamily not working with Serverless VPC Connector

Open
#423 8 comments 0 reactions 1 assignee Claimed by @nareddyt View on GitHub
bug
Dominant language
Go
Stars
307
Forks
185
Avg merge
14h 45m
Merged PRs (30d)
6

Description

Hello!

I got the basic setup described by the [Endpoints for Cloud Run with ESPv2](https://cloud.google.com/endpoints/docs/openapi/get-started-cloud-run) tutorial:
- ESPv2 deployed in cloud run
- a cloud function

My goal is to make the function internal only which, from my understanding, requires that all egress traffic goes through a serverless VPC Connector.

When I add the VPC Connector though, I get 503 errors `upstream connect error or disconnect/reset before headers. reset reason: connection failure` (same as #170 ).

Just like #170 , I got it working by adding `--backend_dns_lookup_family=v4only` to ESPv2_ARGS. The function domain `....cloudfunctions.net` does support IPv6. Is that expected behavior?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.