My .fly.dev domain missing SSL certificate

I just deployed a new Express app with Fly and I can’t reach the app at the fly.dev domain it’s been assigned. I can reach the app at the ipv4 address ( on HTTP ), but the fly.dev domain is unreachable because it’s missing a SSL certificate.

What can I do to resolve this?

It looks as if the Fly service that has to issue SSL certificates for fly.dev domains isn’t working?

My deployment hangs after running the release command.

Hi @user60, to see what the issue is with the hanging deployment, could you post the logs you see? There should be a clue there. We also need to figure out if the release command itself is finishing successfully.

Regarding the SSL certification, could you post your section of fly.toml? The handlers will need to be configured as described in App Configuration (fly.toml) for TLS to work correctly.

Sure! My fly.toml file:

app = "my-app-production"

kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[env]
PORT = "8080"

[deploy]
  release_command = "npx prisma migrate deploy --schema ./database/schema.prisma"

[experimental]
  allowed_public_ports = []
  auto_rollback = true

[[services]]
  http_checks = []
  internal_port = 8080
  processes = ["app"]
  protocol = "tcp"
  script_checks = []

  [services.concurrency]
    hard_limit = 25
    soft_limit = 20
    type = "connections"

  [[services.ports]]
    handlers = ["http"]
    port = 80

  [[services.ports]]
    handlers = ["tls", "http"]
    port = 443

  [[services.tcp_checks]]
    grace_period = "5s"
    interval = "15s"
    restart_limit = 0
    timeout = "2s"

Working now!

1 Like