Hello
We migrated an app from Heroku using Turboku and while its been running perfectly, we are unable to deploy new changes to the running app. I took the config of the running app using the fly config save
command and below is our config:
kill_signal = "SIGINT"
kill_timeout = 5
[build]
builder = "heroku/buildpacks:18"
[env]
APP_ENV = "production"
PORT = "8080"
[experimental]
allowed_public_ports = []
auto_rollback = true
cmd = []
entrypoint = []
exec = []
[processes]
app = "cross-env node build/index.js"
[[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"
As suggested in troubleshooting faq, I tried opening up port 8080
and in fact even hardcoded it to use that port in app but it didn’t help. This is an express app and is using heroku buildpack 18.
This is the error we are seeing
2022-09-02T19:33:14.802 runner[db2a8f29] iad [info] Starting instance
2022-09-02T19:33:35.971 runner[db2a8f29] iad [info] Configuring virtual machine
2022-09-02T19:33:35.978 runner[db2a8f29] iad [info] Pulling container image
2022-09-02T19:33:50.778 runner[db2a8f29] iad [info] Unpacking image
2022-09-02T19:33:51.112 app[03e272fa] iad [info] [2022-09-02 19:33:51] info: [HPM] Forwarding the GET request from http://www.getacquired.com:8080/api/feed.rss to https://api.getacquired.com/feed.rss
2022-09-02T19:33:51.174 app[03e272fa] iad [info] [2022-09-02 19:33:51] info: [HPM] Server responded with a 200
2022-09-02T19:33:51.178 app[03e272fa] iad [info] [2022-09-02 19:33:51] info: [Express] GET /api/feed.rss 200 - 64.134 ms
2022-09-02T19:33:51.178 app[03e272fa] iad [info]
2022-09-02T19:34:13.446 runner[db2a8f29] iad [info] Preparing kernel init
2022-09-02T19:34:13.879 runner[db2a8f29] iad [info] Configuring firecracker
2022-09-02T19:34:13.891 runner[db2a8f29] iad [info] Starting virtual machine
2022-09-02T19:34:14.178 app[db2a8f29] iad [info] Starting init (commit: 249766e)...
2022-09-02T19:34:14.211 app[db2a8f29] iad [info] Preparing to run: `launcher cross-env node build/index.js` as heroku
2022-09-02T19:34:14.246 app[db2a8f29] iad [info] 2022/09/02 19:34:14 listening on [fdaa:0:6e41:a7b:9d36:db2a:8f29:2]:22 (DNS: [fdaa::3]:53)
2022-09-02T19:34:15.221 app[db2a8f29] iad [info] Starting clean up.
2022-09-02T19:34:21.445 runner[db2a8f29] iad [info] Starting instance
2022-09-02T19:34:35.740 runner[db2a8f29] iad [info] Configuring virtual machine
2022-09-02T19:34:35.747 runner[db2a8f29] iad [info] Pulling container image
2022-09-02T19:34:37.372 runner[db2a8f29] iad [info] Unpacking image
2022-09-02T19:34:37.388 runner[db2a8f29] iad [info] Preparing kernel init
2022-09-02T19:34:37.884 runner[db2a8f29] iad [info] Configuring firecracker
2022-09-02T19:34:37.911 runner[db2a8f29] iad [info] Starting virtual machine
2022-09-02T19:34:38.117 app[db2a8f29] iad [info] Starting init (commit: 249766e)...
2022-09-02T19:34:38.155 app[db2a8f29] iad [info] Preparing to run: `launcher cross-env node build/index.js` as heroku
2022-09-02T19:34:38.187 app[db2a8f29] iad [info] 2022/09/02 19:34:38 listening on [fdaa:0:6e41:a7b:9d36:db2a:8f29:2]:22 (DNS: [fdaa::3]:53)
2022-09-02T19:34:39.163 app[db2a8f29] iad [info] Starting clean up.