When the platform is down¶
The platform at mesopod.cloud runs the console. It can be down for
maintenance or because of a problem. This page tells what continues to work
on your machine, and what waits until the platform is back.
What continues to work¶
Your apps run on your machine, not on the platform. The outpost opens an outbound connection to the platform. Nothing on your machine waits for a connection from us. When the platform is down, these things continue as before:
- Your apps run, and their data stays on your disk.
- Traffic to your apps goes from your devices to your machine.
- The cluster checks the health of each app and restarts an app that stops.
- Network grants between your apps stay in place.
When the platform is back, the outpost connects again automatically.
Apps behind sign-in¶
An app that is open, without sign-in, is not affected.
An app behind sign-in has a gate on your cluster. When you sign in, the gate sets a cookie in your browser. The gate checks this cookie on your machine. The gate does not ask the platform for each request.
- If you signed in before the outage, the app continues to work in that browser until the cookie expires.
- The cookie expires after 24 hours or when your console session ends. The earlier of the 2 is the limit.
- A new sign-in uses the platform. If the cookie expires during the outage, the app is closed to that browser until the platform is back.
If the outpost cannot connect to the platform, a sign-out does not reach the gate. The gate also keeps its last list of workspace members. When the outpost connects again, the gate gets the new lists. Until then, the 24-hour cookie sets the limit.
Certificates¶
Each cluster has 1 certificate for the HTTPS addresses of all its apps. The certificate is on your cluster, and your apps use it during an outage. HTTPS continues to work until this certificate expires.
The platform starts to renew the certificate 30 days before it expires. Then the platform sends the new certificate to your cluster. Thus the certificate on your cluster usually has more than 30 days left. But if a renewal did not get to your cluster before the outage, the certificate can expire sooner.
If the platform is back before the certificate expires, the platform renews it and sends it to your cluster.
App addresses¶
The address of an app, for example photos.basement-nuc.mesopod.app, is a
public DNS record. The platform writes the record to Cloudflare, and
Cloudflare answers for it. The record continues to answer when the platform
is down.
If the LAN address of your machine changes during the outage, the record keeps the old address. The outpost reads the address of your machine when the outpost starts. Thus the outpost can send the old address again when the platform is back.
If your apps do not answer after the platform is back, set the DNS target. In the console, open the cluster's page. Under Addresses, click Change beside the DNS target. Type the new LAN address of your machine. Click Save.
What waits for the platform¶
These actions use the console or the platform. They wait until the platform is back:
- Deploy a new app, or start a stopped app.
- Change the settings or the version of an app.
- Update the outpost. The platform sends the update, so the outpost keeps its current version.
- See the status, the logs and the usage of your apps in the console.