Failure of deployed website to load in properly

I deployed a web application to fly initially and it was working perfectly. Then I deployed more things to fly with a django web application and the initial website I had stopped working. I’ve tried restarting the machines. I’ve changed the settings in the fly.toml for the web app that’s not working to this:

[build]

[http_service]
  internal_port = 8043
  force_https = true
  auto_stop_machines = false
  auto_start_machines = true
  min_machines_running = 1
  processes = ['app']

[[vm]]
  memory = '3gb'
  cpu_kind = 'shared'
  cpus = 1

I’ve scaled up, added more machines, more storage, and more regions. I made sure that the machines couldn’t be auto-stopped, but still the website is completely blank when I navigate to it. I’m on the hobby plan and have $25 of credits on my account. I have 5 apps deployed in total on my account. 2 of those apps are postgresql databases. Can anyone help me understand what’s going wrong?

what’s in your logs?

These are my logs:

2024-04-06T03:12:54.282 app[5683e0ec775348] mia [info] 3:12AM INF Listening at http://0.0.0.0:8043 /...

2024-04-06T03:12:54.874 runner[5683e0ec775348] mia [info] Machine created and started in 3.116s

2024-04-06T04:02:24.415 runner[1857700b2e6268] iad [info] Pulling container image registry.fly.io/lexal-client:deployment-01HTRS4M6SF1P1GN02JVQ9H7AB

2024-04-06T04:02:24.595 runner[1857700b2e6268] iad [info] Successfully prepared image registry.fly.io/lexal-client:deployment-01HTRS4M6SF1P1GN02JVQ9H7AB (180.297488ms)

2024-04-06T04:02:25.011 runner[1857700b2e6268] iad [info] Configuring firecracker

2024-04-06T04:02:25.041 app[1857700b2e6268] iad [info] INFO Sending signal SIGINT to main child process w/ PID 316

2024-04-06T04:02:25.875 app[1857700b2e6268] iad [info] INFO Main child exited with signal (with signal 'SIGINT', core dumped? false)

2024-04-06T04:02:25.887 app[1857700b2e6268] iad [info] INFO Starting clean up.

2024-04-06T04:02:25.887 app[1857700b2e6268] iad [info] [ 2997.807630] reboot: Restarting system

2024-04-06T04:02:26.898 app[1857700b2e6268] iad [info] [ 0.038231] Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!

2024-04-06T04:02:26.936 app[1857700b2e6268] iad [info] [ 0.050989] PCI: Fatal: No config space access function found

2024-04-06T04:02:27.132 app[1857700b2e6268] iad [info] INFO Starting init (commit: 5b8fb02)...

2024-04-06T04:02:27.142 app[1857700b2e6268] iad [info] INFO Preparing to run: `/goStatic -fallback index.html` as appuser

2024-04-06T04:02:27.144 app[1857700b2e6268] iad [info] INFO [fly api proxy] listening at /.fly/api

2024-04-06T04:02:27.151 app[1857700b2e6268] iad [info] 2024/04/06 04:02:27 listening on [fdaa:9:e13:a7b:dc:8095:68d2:2]:22 (DNS: [fdaa::3]:53)

2024-04-06T04:02:27.165 runner[1857700b2e6268] iad [info] Machine created and started in 2.767s

2024-04-06T04:02:27.186 app[1857700b2e6268] iad [info] 4:02AM INF Listening at http://0.0.0.0:8043 /...

2024-04-06T04:02:37.635 runner[3d8d549ae26178] mia [info] Pulling container image registry.fly.io/lexal-client:deployment-01HTRS4M6SF1P1GN02JVQ9H7AB

2024-04-06T04:02:37.640 runner[2865533f925948] iad [info] Pulling container image registry.fly.io/lexal-client:deployment-01HTRS4M6SF1P1GN02JVQ9H7AB

2024-04-06T04:02:37.826 runner[2865533f925948] iad [info] Successfully prepared image registry.fly.io/lexal-client:deployment-01HTRS4M6SF1P1GN02JVQ9H7AB (186.533967ms)

2024-04-06T04:02:37.975 runner[3d8d549ae26178] mia [info] Successfully prepared image registry.fly.io/lexal-client:deployment-01HTRS4M6SF1P1GN02JVQ9H7AB (340.70115ms)

2024-04-06T04:02:38.191 runner[2865533f925948] iad [info] Configuring firecracker

2024-04-06T04:02:38.231 app[2865533f925948] iad [info] INFO Sending signal SIGINT to main child process w/ PID 315

2024-04-06T04:02:38.364 runner[3d8d549ae26178] mia [info] Configuring firecracker

2024-04-06T04:02:38.423 app[3d8d549ae26178] mia [info] INFO Sending signal SIGINT to main child process w/ PID 315

2024-04-06T04:02:38.695 app[2865533f925948] iad [info] INFO Main child exited with signal (with signal 'SIGINT', core dumped? false)

2024-04-06T04:02:38.710 app[2865533f925948] iad [info] INFO Starting clean up.

2024-04-06T04:02:38.710 app[2865533f925948] iad [info] [ 2997.794566] reboot: Restarting system

2024-04-06T04:02:38.879 app[3d8d549ae26178] mia [info] INFO Main child exited with signal (with signal 'SIGINT', core dumped? false)

2024-04-06T04:02:38.890 app[3d8d549ae26178] mia [info] INFO Starting clean up.

2024-04-06T04:02:38.891 app[3d8d549ae26178] mia [info] [ 2997.860583] reboot: Restarting system

2024-04-06T04:02:39.761 app[2865533f925948] iad [info] [ 0.039035] Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!

2024-04-06T04:02:39.799 app[2865533f925948] iad [info] [ 0.052095] PCI: Fatal: No config space access function found

2024-04-06T04:02:39.839 app[3d8d549ae26178] mia [info] [ 0.047344] PCI: Fatal: No config space access function found

2024-04-06T04:02:40.000 app[2865533f925948] iad [info] INFO Starting init (commit: 5b8fb02)...

2024-04-06T04:02:40.017 app[2865533f925948] iad [info] INFO Preparing to run: `/goStatic -fallback index.html` as appuser

2024-04-06T04:02:40.019 app[2865533f925948] iad [info] INFO [fly api proxy] listening at /.fly/api

2024-04-06T04:02:40.033 app[2865533f925948] iad [info] 2024/04/06 04:02:40 listening on [fdaa:9:e13:a7b:dc:e07b:e9da:2]:22 (DNS: [fdaa::3]:53)

2024-04-06T04:02:40.035 runner[2865533f925948] iad [info] Machine created and started in 2.419s

2024-04-06T04:02:40.060 app[3d8d549ae26178] mia [info] INFO Starting init (commit: 5b8fb02)...

2024-04-06T04:02:40.066 app[2865533f925948] iad [info] 4:02AM INF Listening at http://0.0.0.0:8043 /...

2024-04-06T04:02:40.075 app[3d8d549ae26178] mia [info] INFO Preparing to run: `/goStatic -fallback index.html` as appuser

2024-04-06T04:02:40.077 app[3d8d549ae26178] mia [info] INFO [fly api proxy] listening at /.fly/api

2024-04-06T04:02:40.082 app[3d8d549ae26178] mia [info] 2024/04/06 04:02:40 listening on [fdaa:9:e13:a7b:88:798b:923d:2]:22 (DNS: [fdaa::3]:53)

2024-04-06T04:02:40.106 runner[3d8d549ae26178] mia [info] Machine created and started in 2.479s

2024-04-06T04:02:40.118 app[3d8d549ae26178] mia [info] 4:02AM INF Listening at http://0.0.0.0:8043 /...

2024-04-06T04:02:50.650 runner[5683e0ec775348] mia [info] Pulling container image registry.fly.io/lexal-client:deployment-01HTRS4M6SF1P1GN02JVQ9H7AB

2024-04-06T04:02:50.954 runner[5683e0ec775348] mia [info] Successfully prepared image registry.fly.io/lexal-client:deployment-01HTRS4M6SF1P1GN02JVQ9H7AB (304.177425ms)

2024-04-06T04:02:51.309 runner[5683e0ec775348] mia [info] Configuring firecracker

2024-04-06T04:02:51.368 app[5683e0ec775348] mia [info] INFO Sending signal SIGINT to main child process w/ PID 315

2024-04-06T04:02:51.743 app[5683e0ec775348] mia [info] INFO Main child exited with signal (with signal 'SIGINT', core dumped? false)

2024-04-06T04:02:51.755 app[5683e0ec775348] mia [info] INFO Starting clean up.

2024-04-06T04:02:51.755 app[5683e0ec775348] mia [info] [ 2997.824120] reboot: Restarting system

2024-04-06T04:02:53.098 app[5683e0ec775348] mia [info] [ 0.050901] PCI: Fatal: No config space access function found

2024-04-06T04:02:53.314 app[5683e0ec775348] mia [info] INFO Starting init (commit: 5b8fb02)...

2024-04-06T04:02:53.325 app[5683e0ec775348] mia [info] INFO Preparing to run: `/goStatic -fallback index.html` as appuser

2024-04-06T04:02:53.326 app[5683e0ec775348] mia [info] INFO [fly api proxy] listening at /.fly/api

2024-04-06T04:02:53.335 app[5683e0ec775348] mia [info] 2024/04/06 04:02:53 listening on [fdaa:9:e13:a7b:a0:c19a:3636:2]:22 (DNS: [fdaa::3]:53)

2024-04-06T04:02:53.340 runner[5683e0ec775348] mia [info] Machine created and started in 2.715s

2024-04-06T04:02:53.365 app[5683e0ec775348] mia [info] 4:02AM INF Listening at http://0.0.0.0:8043 /...

and when I run fly status on my app I get this:

App
  Name     = lexal-client                                        
  Owner    = personal                                            
  Hostname = lexal-client.fly.dev                                
  Image    = lexal-client:deployment-01HTRS4M6SF1P1GN02JVQ9H7AB  

Machines
PROCESS ID              VERSION REGION  STATE   ROLE    CHECKS  LAST UPDATED         
app     1857700b2e6268  13      iad     started                 2024-04-06T04:02:27Z
app     2865533f925948  13      iad     started                 2024-04-06T04:02:40Z
app     3d8d549ae26178  13      mia     started                 2024-04-06T04:02:40Z
app     5683e0ec775348  13      mia     started                 2024-04-06T04:02:53Z

it looks like a site is up at that address, did you figure this out?

Not really, it just kind of started working out of nowhere. I didn’t do anything different.

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