|
|
|
|
|
by rurban
901 days ago
|
|
I also fell into this new trap: flyctl ips list
flyctl ips release 168.220.XXX.XXX
flyctl ips allocate-v4 --shared
Error: Your account has overdue invoices. Please update your payment information: https://fly.io/dashboard/myname/billingOk, so now they got my credit card info, because I had to pay 2$. flyctl ips allocate-v4 --shared
Error: cannot use a shared ipv4 with wildcard hostnames, please remove those before allocating a shared IP: .XXX flyctl certs list
flyctl certs remove *.XXX
flyctl ips allocate-v4 --shared
Now it works. Just have to fix my DNS records now. ipv6 or CNAME to the app.fly.dev domain preferred.I don't like fly too much, because this is the first free hoster, which I have to constantly check for downtimes and restart the app then. Need a 10m cronjob now. cd ~/MyAppPath
if timeout 5 flyctl logs -a myapp | grep -e "Health check on port 8080 has failed|connection error:"
then
flyctl apps restart myapp
fi
|
|