Could anyone help with production deployment. WARN hallpass exited, pid: 514, status: signal: 15 (SIGTERM)

Im getting some errors when trying to deploy my app and im stumped. Does anyone have a solution to this? Thanks in advance for the help.

2023-06-19T12:28:43.826 proxy[9185771a239578] lhr [info] Starting machine

2023-06-19T12:28:44.106 app[9185771a239578] lhr [info] INFO Starting init (commit: 0b28cec)…

2023-06-19T12:28:44.123 app[9185771a239578] lhr [info] INFO Preparing to run: /cnb/process/web as 1000

2023-06-19T12:28:44.127 app[9185771a239578] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-06-19T12:28:44.138 app[9185771a239578] lhr [info] 2023/06/19 12:28:44 listening on [fdaa:1:7588:a7b:a9a:bcae:78be:2]:22 (DNS: [fdaa::3]:53)

2023-06-19T12:28:44.200 proxy[9185771a239578] lhr [info] machine started in 374.037406ms

2023-06-19T12:28:45.128 app[9185771a239578] lhr [info] INFO Main child exited normally with code: 0

2023-06-19T12:28:45.129 app[9185771a239578] lhr [info] INFO Starting clean up.

2023-06-19T12:28:45.131 app[9185771a239578] lhr [info] WARN hallpass exited, pid: 514, status: signal: 15 (SIGTERM)

2023-06-19T12:28:45.137 app[9185771a239578] lhr [info] 2023/06/19 12:28:45 listening on [fdaa:1:7588:a7b:a9a:bcae:78be:2]:22 (DNS: [fdaa::3]:53)

2023-06-19T12:28:46.132 app[9185771a239578] lhr [info] [ 2.115174] reboot: Restarting system

2023-06-19T12:28:46.240 runner[9185771a239578] lhr [info] machine exited with exit code 0, not restarting

2023-06-19T12:28:49.779 proxy[9185771a239578] lhr [info] waiting for machine to be reachable on 0.0.0.0:4000 (waited 5.578654271s so far)

2023-06-19T12:28:55.743 proxy[9185771a239578] lhr [info] waiting for machine to be reachable on 0.0.0.0:4000 (waited 11.542635985s so far)

@robwilhelmsson This line just means that hallpass (an SSH server that gets injected into all machines) is terminated. This happens when machine is being shut down.

The important part in the log is:

2023-06-19T12:28:44.123 app[9185771a239578] lhr [info] INFO Preparing to run: /cnb/process/web as 1000
....
2023-06-19T12:28:45.128 app[9185771a239578] lhr [info] INFO Main child exited normally with code: 0

This means that your app is exiting immediately after start, so the machine is terminated.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.