Cannot deploy anvil app on Google CLoud

I’m trying to deploy my anvil app to Google Compute Engine following this guide, but it did not work.

Running anvil-app-server --app CRUDnewsappwalkthrough --origin https://prim-app.com/
gave me:

[INFO  anvil.app-server.tables] Anvil will now exit. Run with --ignore-invalid-schema to startup anyway, or --auto-
migrate to apply the changes above.
Runtime exiting. Shutting down Traefik.
INFO[2021-08-06T14:53:27Z] I have to go...                              
INFO[2021-08-06T14:53:27Z] Stopping server gracefully                   
ERRO[2021-08-06T14:53:27Z] accept tcp [::]:443: use of closed network connection  entryPointName=https
ERRO[2021-08-06T14:53:27Z] close tcp [::]:443: use of closed network connection  entryPointName=https
ERRO[2021-08-06T14:53:27Z] accept tcp 127.0.0.1:57396: use of closed network connection  entryPointName=dashboard
ERRO[2021-08-06T14:53:27Z] close tcp 127.0.0.1:57396: use of closed network connection  entryPointName=dashboard
INFO[2021-08-06T14:53:27Z] Server stopped                               
INFO[2021-08-06T14:53:27Z] Shutting down                                

The only thing I can think of is that I didnt register my domain properly. This is my DNS zone:

The first line of the log you posted tells you what the problem is and provides two options to resolve it.

1 Like

Thanks! Both returned

ERRO[2021-08-09T08:06:36Z] Unable to obtain ACME certificate for domains "prim-app.com" : unable to generate a cert
ificate for the domains [prim-app.com]: acme: Error -> One or more domains had a problem:
[prim-app.com] acme: error: 400 :: urn:ietf:params:acme:error:dns :: No valid IP addresses found for prim-app.com, 
url:   providerName=letsEncrypt.acme

Hello,
Did you find a solution for this issue? I am facing the same problem