Error Log (Go Site) Needs To Listen On 0.0.0.0:8080

I’m having a problem getting my app to work. Checked the log as follows;

2024-02-06T17:06:31.455 app[3d8d5d0f90e028] lhr [info] INFO Starting init (commit: bfa79be)...

2024-02-06T17:06:31.475 app[3d8d5d0f90e028] lhr [info] INFO Preparing to run: `launcher /app/server` as 1000

2024-02-06T17:06:31.479 app[3d8d5d0f90e028] lhr [info] INFO [fly api proxy] listening at /.fly/api

2024-02-06T17:06:31.496 app[3d8d5d0f90e028] lhr [info] 2024/02/06 17:06:31 listening on [fdaa:5:8a81:a7b:8e:d2f3:a1b9:2]:22 (DNS: [fdaa::3]:53)

2024-02-06T17:06:31.508 runner[3d8d5d0f90e028] lhr [info] Machine started in 472ms

2024-02-06T17:06:31.551 app[3d8d5d0f90e028] lhr [info] bash: /app/server: No such file or directory

2024-02-06T17:06:32.480 app[3d8d5d0f90e028] lhr [info] INFO Main child exited normally with code: 127

2024-02-06T17:06:32.481 app[3d8d5d0f90e028] lhr [info] INFO Starting clean up.

2024-02-06T17:06:32.482 app[3d8d5d0f90e028] lhr [info] WARN hallpass exited, pid: 307, status: signal: 15 (SIGTERM)

2024-02-06T17:06:32.489 app[3d8d5d0f90e028] lhr [info] 2024/02/06 17:06:32 listening on [fdaa:5:8a81:a7b:8e:d2f3:a1b9:2]:22 (DNS: [fdaa::3]:53)

2024-02-06T17:06:33.482 app[3d8d5d0f90e028] lhr [info] [ 2.317721] reboot: Restarting system

2024-02-06T17:06:33.606 runner[3d8d5d0f90e028] lhr [info] machine has reached its max restart count (10)

app = “name”
primary_region = “lhr”

[build]
builder = “paketobuildpacks/builder:base”
buildpacks = [“Google Cloud console”]
[build.args]
BP_GO_BUILD_IMPORT_PATH = “github.com/username/directory/foldername
BP_KEEP_FILES = “assets/*:”

[processes]
web = “/app/server”

[env]
PHX_HOST = “name.fly.dev
PORT = “8080”

[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = [“web”]

[[vm]]
cpu_kind = “shared”
cpus = 1
memory_mb = 1024

using echo framework. Was working fine the day before and nothng was changed.

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