Google Cloud Run - Domain Mapping stuck at Certificate Provisioning

后端 未结 6 1329
Happy的楠姐
Happy的楠姐 2021-02-18 12:57

Is anyone getting this issue with Google Cloud Run Domain Mapping? When I add a custom domain to my domain mappings, I get this:

Waiting for certificate p

相关标签:
6条回答
  • 2021-02-18 13:26

    Turning proxying off in CloudFlare resolved the issue in my case (keeping it as DNS only).

    Most likely the Google balancer needs to get the request first-hand in order to make the certificate safe.

    0 讨论(0)
  • 2021-02-18 13:36

    Adding the domain mapping via the console does not show the correct DNS records to be added as is it missing the name field. If you run gcloud beta run domain-mappings create it shows the DNS records as having a name field with the value of the cloud run service.

    0 讨论(0)
  • 2021-02-18 13:38

    At the moment, seems like Domain Mapping is just a buggy service.

    Seems like the solution at the moment is to be patient and to try several times until it works. I'd suggest to give it some time between attempts.

    The reasons why I feel it's a buggy service:

    1. gcloud beta run domain-mappings create stucks at Creating......⠼.
    2. gcloud beta run domain-mappings describe shows messages such as:
      • "Domain mapping '[...domain_name...]' already exists for this application. You can modify this domain mapping with DomainMappings.PATCH".
      • "Waiting for certificate provisioning. You must configure your DNS records for certificate issuance to begin." - Even though the DNS records are fine.
    3. User Interface isn't any better. It also can stuck while creating... And in the console, it says that it may fail silently, suggesting to use gcloud CLI as a workaround

    0 讨论(0)
  • 2021-02-18 13:39

    I just tried Toggling the proxy off again it seemed to work. They must have fixed something internally.

    0 讨论(0)
  • 2021-02-18 13:44

    I had the same issue in past few days, the loading icon was spinning for hours/day and my DNS records were correct (checked in google toolbox). I "resolved" this issue just by repetitive add/remove of the domain, after like four attempts it suddenly started to working. I always waited for hour+ before each attempt. I used the GCR interface, not the console solution. I guess, as was mentioned before, it's because it's still BETA, but maybe this comment might help someone till they resolve this issue.

    0 讨论(0)
  • 2021-02-18 13:44

    You have forgot the dot at the end of the host ghs.googlehosted.com.

    0 讨论(0)
提交回复
热议问题