What I’m trying to do:
I am trying to publish my Anvil app on Google Cloud. I have followed the procedure described in the documentation and everything goes well until I try to run the ```
anvil-app-server --app JCS003 --origin https://application.medical.text.processor.com/
anvil-app-server --app JCS003 --origin https://application.medical.text.processor.com/
Found Anvil App Server JAR in package directory
Launching HTTPS Server on port 443
Traefik dashboard: http://localhost:21731/dashboard/
INFO[0000] Configuration loaded from flags.
INFO[2022-11-23T21:09:08Z] Traefik version 2.5.4 built on 2021-11-08T17:41:41Z
INFO[2022-11-23T21:09:08Z]
Stats collection is disabled.
Help us improve Traefik by turning this feature on :)
More details on: https://doc.traefik.io/traefik/contributing/data-collection/
INFO[2022-11-23T21:09:08Z] Starting provider aggregator.ProviderAggregator {}
INFO[2022-11-23T21:09:08Z] Starting provider *file.Provider {"watch":true,"filename":"/home/juniorcs003/.anvil-data/traefik/traefik.yml"}
INFO[2022-11-23T21:09:08Z] Starting provider *traefik.Provider {}
INFO[2022-11-23T21:09:08Z] Starting provider *acme.Provider {"caServer":"https://acme-v02.api.letsencrypt.org/directory","storage":".anvil-data/letsencrypt-certs.json","keyType":"RSA4096","tlsChallenge":{},"ResolverName":"letsEncrypt","store":{},"TLSChallengeProvider":{"Timeout":4000000000},"HTTPChallengeProvider":{}}
INFO[2022-11-23T21:09:08Z] Testing certificate renew... providerName=letsEncrypt.acme
INFO[2022-11-23T21:09:08Z] Starting provider *acme.ChallengeTLSALPN {"Timeout":4000000000}
WARN[2022-11-23T21:09:08Z] No domain found in rule PathPrefix(`/`), the TLS options applied for this router will depend on the hostSNI of each request entryPointName=https routerName=https-route@file
WARN[2022-11-23T21:09:09Z] No domain found in rule PathPrefix(`/`), the TLS options applied for this router will depend on the hostSNI of each request routerName=https-route@file entryPointName=https
Found 4 migration(s) for (base runtime) DB.
Executing Anvil migrations...
Database currently at "2022-06-06-runtime-background-task-sessions"
Database is already up to date.
[TRACE anvil.app-server.run] Invalidating; new version 1
[INFO anvil.core.server] HTTP Server running on port 52814
[INFO anvil.app-server.run] App URL: https://application.medical.text.processor.com
[INFO anvil.app-server.dispatch] Launching built-in downlink...
[INFO anvil.app-server.run] SMTP Server running on port 25
Connecting to ws://localhost:52814/_/downlink
Anvil websocket open
[INFO anvil.executors.downlink] Downlink client connected with spec {:runtime "python3-full", :session_id "NXqx4t8RegnbcAEwqSnN"}
Downlink authenticated OK
INFO[2022-11-23T21:09:13Z] Register... providerName=letsEncrypt.acme
WARN[2022-11-23T21:09:14Z] No domain found in rule PathPrefix(`/`), the TLS options applied for this router will depend on the hostSNI of each request entryPointName=https routerName=https-route@file
ERRO[2022-11-23T21:09:14Z] Unable to obtain ACME certificate for domains "application.medical.text.processor.com" : unable to generate a certificate for the domains [application.medical.text.processor.com]: error: one or more domains had a problem:
[application.medical.text.processor.com] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for application.medical.text.processor.com - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for application.medical.text.processor.com - check that a DNS record exists for this domain providerName=letsEncrypt.acme
WARN[2022-11-23T21:09:16Z] No domain found in rule PathPrefix(`/`), the TLS options applied for this router will depend on the hostSNI of each request entryPointName=https routerName=https-route@file
WARN[2022-11-23T21:09:18Z] No domain found in rule PathPrefix(`/`), the TLS options applied for this router will depend on the hostSNI of each request routerName=https-route@file entryPointName=https
ERRO[2022-11-23T21:09:19Z] Unable to obtain ACME certificate for domains "application.medical.text.processor.com" : unable to generate a certificate for the domains [application.medical.text.processor.com]: error: one or more domains had a problem:
[application.medical.text.processor.com] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for application.medical.text.processor.com - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for application.medical.text.processor.com - check that a DNS record exists for this domain providerName=letsEncrypt.acme
WARN[2022-11-23T21:09:20Z] No domain found in rule PathPrefix(`/`), the TLS options applied for this router will depend on the hostSNI of each request routerName=https-route@file entryPointName=https
WARN[2022-11-23T21:09:22Z] No domain found in rule PathPrefix(`/`), the TLS options applied for this router will depend on the hostSNI of each request entryPointName=https routerName=https-route@file
WARN[2022-11-23T21:09:26Z] No domain found in rule PathPrefix(`/`), the TLS options applied for this router will depend on the hostSNI of each request entryPointName=https routerName=https-route@file
ERRO[2022-11-23T21:09:26Z] Unable to obtain ACME certificate for domains "application.medical.text.processor.com" : unable to generate a certificate for the domains [application.medical.text.processor.com]: error: one or more domains had a problem:
[application.medical.text.processor.com] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for application.medical.text.processor.com - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for application.medical.text.processor.com - check that a DNS record exists for this domain providerName=letsEncrypt.acme
**What I've tried and what's not working:**
I am not sure what I am missing in my DNS / VM configuration. I tried accessing the VM from its external IP address with no successs.
**Code Sample:**
```python
# this is a formatted code snippet.
# paste your code between ```
Clone link:
share a copy of your app