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

Error creating Serverless VPC access: "An internal error occurred"

spr
Bronze 1
Bronze 1

I've got a /28 subnet reserved, and I go to create the VPC Access connector and get the following message:

An internal error occurred: Failed to create a VPC Access connector. Please delete the connector manually.

I've been through the troubleshooting in the documentation, but everything looks fine in the project. I'm doing this in us-central1, and it worked in our dev project, but fails in prod consistently. I've tried adjusting the machine-types and instances as well.

1 3 1,099
3 REPLIES 3

Hi,

 

Could you share which product are you using? Is it a Cloud SQL instance? Also could share the links of the documentation that you have followed?

spr
Bronze 1
Bronze 1

Hi,

I'm trying to get services in Cloud Run to be able to communicate with services in our GKE cluster, by setting up a VPC Access Connector, as described here: https://cloud.google.com/vpc/docs/configure-serverless-vpc-access

I've managed to do this in what is our development project without issue, but in our production project I receive the error mentioned above.

I've seen mentioned in stack overflow that the issue might be related to the fact we don't have a default compute engine service account (and it's been deleted for far too long to be restored by ourselves). That's the only notable difference between the two projects we've been able to identify.

Deleting the default Compute Engine or App Engine service accounts can lead to unexpected consequences such as the ones you are facing. The recommended approach is to disable them instead of deleting. To solve your issue I would recommend you to create a new project and move your operations there.