Node js app launch stuck at "Status: Image is up to date for heroku/heroku:20-cnb"

i am trying to launch a node app. I am following run a node tutorial from the docs

when i enter “flyctl launch” command the toml file and new application is created successfully, then it gets stuck at this message “Status: Image is up to date for heroku/heroku:20-cnb”

my toml file

# fly.toml file generated for delicate-butterfly-3897 on 2022-08-25T11:58:42+05:30

app = "delicate-butterfly-3897"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[build]
  builder = "heroku/buildpacks:20"

[env]
  PORT = "8080"

[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]]
    force_https = true
    handlers = ["http"]
    port = 80

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

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

Package.json file

{
  "name": "fly-host",
  "version": "1.0.0",
  "description": "",
  "main": "server.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "node server.js"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "express": "^4.18.1"
  }
}
1 Like

Hey there, are you getting a specific error after Status: Image is up to date for heroku/heroku:20-cnb or is the deployment just stalling out there and not continuing further?

Hi, the deployment was stalling at that stage. i was able to solve the issue by running this command flyctl wireguard websockets enable after running that command i was able deploy without any issues.

2 Likes

Fantastic, I’m glad you were able to get unstuck, sorry for that inconvenience!