Before 7 hours and fly.io network outage, I could deploy my project well.
But after fly.io’s network error, I cannot do it.
And my web app has not worked.
-------
✔ release_command 148e774b110d68 completed successfully
-------
This deployment will:
* create 2 "web" machines
No machines in group web, launching a new machine
WARNING The app is not listening on the expected address and will not be reachable by fly-proxy.
You can fix this by configuring your app to listen on the following addresses:
- 0.0.0.0:8080
Found these processes inside the machine with open listening sockets:
PROCESS | ADDRESSES
-----------------*----------------------------------------
/.fly/hallpass | [fdaa:0:b2f4:a7b:db52:6cec:fd18:2]:22
WARN failed to release lease for machine e286330f9956e8 [web]: lease not found
-------
✖ Failed: timeout reached waiting for health checks to pass for machine e286330f9956e8: failed to get VM e286330f9956e8: Get "https://api.…
-------
Error: timeout reached waiting for health checks to pass for machine e286330f9956e8: failed to get VM e286330f9956e8: Get "https://api.machines.dev/v1/apps/cookietv/machines/e286330f9956e8": net/http: request canceled
and click the link, this page said
{"error":"Authenticate: token validation error"}
My fly.toml is here.
# fly.toml app configuration file generated for cookietv on 2024-05-09T04:37:02+09:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'cookietv'
primary_region = 'nrt'
kill_signal = 'SIGINT'
kill_timeout = '5s'
swap_size_mb = 512
[experimental]
auto_rollback = true
[build]
[build.args]
BUILD_COMMAND = 'bin/rails fly:build'
SERVER_COMMAND = 'bin/rails fly:server'
[deploy]
release_command = 'bin/rails fly:release'
[env]
PORT = '8080'
[processes]
web = 'bin/rails fly:server'
[[services]]
protocol = 'tcp'
internal_port = 8080
processes = ['web']
[[services.ports]]
port = 80
handlers = ['http']
force_https = true
[[services.ports]]
port = 443
handlers = ['tls', 'http']
[[services.ports]]
port = 10000
[services.concurrency]
type = 'connections'
hard_limit = 25
soft_limit = 20
[[services.tcp_checks]]
interval = '15s'
timeout = '2s'
grace_period = '30s'
[[statics]]
guest_path = '/app/public'
url_prefix = '/'
What should I do?