runtime error

Exit code: 1. Reason: b2api", "env": "bootstrap", "legacy_stdlog": true} 2026-06-16T23:54:49.448+0800 INFO Auto setup enabled, configuring from environment variables... {"service": "sub2api", "env": "bootstrap", "component": "setup", "legacy_printf": true} 2026-06-16T23:54:49.449+0800 INFO Data directory: /tmp/gateway-data {"service": "sub2api", "env": "bootstrap", "component": "setup", "legacy_printf": true} 2026-06-16T23:54:49.449+0800 INFO Testing database connection... {"service": "sub2api", "env": "bootstrap", "component": "setup", "legacy_printf": true} 2026-06-16T23:54:49.452+0800 ERROR stdlog Auto setup failed: database connection failed: ping failed: dial tcp [2600:1f18:4f06:de00:a42a:2bef:eec5:8890]:5432: connect: network is unreachable {"service": "sub2api", "env": "bootstrap", "legacy_stdlog": true} runtime.main /opt/hostedtoolcache/go/1.26.4/x64/src/runtime/proc.go:290 Detected applied migrations: 0/178 Gateway exited during bootstrap; retrying to continue migrations. Starting gateway on 0.0.0.0:7860 (attempt 6/6) Admin password sync loop started. 2026-06-16T23:54:51.627+0800 INFO stdlog Auto setup mode enabled... {"service": "sub2api", "env": "bootstrap", "legacy_stdlog": true} 2026-06-16T23:54:51.627+0800 INFO Auto setup enabled, configuring from environment variables... {"service": "sub2api", "env": "bootstrap", "component": "setup", "legacy_printf": true} 2026-06-16T23:54:51.627+0800 INFO Data directory: /tmp/gateway-data {"service": "sub2api", "env": "bootstrap", "component": "setup", "legacy_printf": true} 2026-06-16T23:54:51.627+0800 INFO Testing database connection... {"service": "sub2api", "env": "bootstrap", "component": "setup", "legacy_printf": true} 2026-06-16T23:54:51.630+0800 ERROR stdlog Auto setup failed: database connection failed: ping failed: dial tcp [2600:1f18:4f06:de00:a42a:2bef:eec5:8890]:5432: connect: network is unreachable {"service": "sub2api", "env": "bootstrap", "legacy_stdlog": true} runtime.main /opt/hostedtoolcache/go/1.26.4/x64/src/runtime/proc.go:290 Detected applied migrations: 0/178

Container logs:

Fetching error logs...