I was able to deploy now, but the machine keeps stopping and restarting and I’m unable to connect.
Below are a few snippets from my logs:
hkg [info] Starting machine
hkg [info] PCI: Fatal: No config space access function found
hkg [info] waiting for machine to be reachable on 0.0.0.0:8080 (waited 17.131469475s so far)
hkg [error] failed to connect to machine: gave up after 15 attempts (in 22.135531386s)
# fly.toml app configuration file generated for finalytics on 2023-10-10T11:21:26+08:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "finalytics"
primary_region = "hkg"
[build]
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
Thanks for pointing out to me about by docker file. I just checked and the issue was with my docker file. After amending the file, I’m able to deploy the app successfully