PCI fatal error. Proxy can not connect to machine?

So I have uploaded a public image to github registry, and I am trying to deploy from that image. The image is loaded, but the app is not showing in the browser and I get this errors in my logs:

 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

2023-11-14T16:27:05.508 app[e2865955b67968] otp [info] \\/ ___)| |_)| | | | | || (_| | ) ) ) )

2023-11-14T16:27:05.508 app[e2865955b67968] otp [info] ' |____| .__|_| |_|_| |_\__, | / / / /

2023-11-14T16:27:05.508 app[e2865955b67968] otp [info] =========|_|==============|___/=/_/_/_/

2023-11-14T16:27:05.508 app[e2865955b67968] otp [info] :: Spring Boot :: (v3.1.5)

2023-11-14T16:27:06.378 app[e2865955b67968] otp [info] INFO Main child exited normally with code: 1

2023-11-14T16:27:06.378 app[e2865955b67968] otp [info] INFO Starting clean up.

2023-11-14T16:27:06.379 app[e2865955b67968] otp [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-14T16:27:06.384 app[e2865955b67968] otp [info] 2023/11/14 16:27:06 listening on [fdaa:2:8f90:a7b:1aa:f006:8518:2]:22 (DNS: [fdaa::3]:53)

2023-11-14T16:27:07.380 app[e2865955b67968] otp [info] [ 2.295034] reboot: Restarting system

2023-11-14T16:27:07.539 runner[e2865955b67968] otp [info] machine did not have a restart policy, defaulting to restart

2023-11-14T16:27:07.775 proxy[e2865955b67968] otp [info] waiting for machine to be reachable on 0.0.0.0:9090 (waited 10.501394846s so far)

2023-11-14T16:27:07.850 app[e2865955b67968] otp [info] [ 0.040708] PCI: Fatal: No config space access function found

2023-11-14T16:27:08.079 app[e2865955b67968] otp [info] INFO Starting init (commit: 15238e9)...

2023-11-14T16:27:08.100 app[e2865955b67968] otp [info] INFO Preparing to run: `/cnb/process/web` as 1000

2023-11-14T16:27:08.102 app[e2865955b67968] otp [info] INFO [fly api proxy] listening at /.fly/api

2023-11-14T16:27:08.107 app[e2865955b67968] otp [info] 2023/11/14 16:27:08 listening on [fdaa:2:8f90:a7b:1aa:f006:8518:2]:22 (DNS: [fdaa::3]:53)

2023-11-14T16:27:08.781 proxy[e2865955b67968] otp [error] failed to connect to machine: gave up after 15 attempts (in 11.50713548s

my java app listens to 9090, as I set it in application.properties:
server.port=9090

and this is my fly.toml file:

app = "fresh-new-spring-demo"
kill_signal = "SIGINT"
kill_timeout = 5


primary_region = "otp"

[build]
  image = "ghcr.io/dragosp33/spring-boot-demo:latest"


[http_service]
  internal_port = 9090
  auto_stop_machines = true
  auto_start_machines = true
  min_machines_running = 0
  processes = ["app"]

I don’t have much to contribute other than I think we’re having similar issues: Error fetching data from API server.

Based on INFO Main child exited normally with code: 1 it looks like the app is crashing on boot. This could be a config issue with the app, or not having enough memory to fully boot.

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