Repository navigation
EN Clever Dependency Down
Français · Type: troubleshooting · Audience: admin · Context: hosted Studio · Status: ready · Applies from: 4.2.3
The Studio Server (hosted team Studio) · contract: experimental · verified by CI (support matrix of 4.4.0, 2026-10-23): Postgres, S3 and Keycloak in CI; Chromium and Firefox (job studio-hosted); WebKit on macOS, by hand only · automated checks: jobs
studio-hosted,studio-install-smoke; CI planstudioHosted; 3 test files · people's passes:studio-hostednot run (#149),studio-collabnot run (#150),studio-previewnot run (#166),studio-assets-hostednot run (#167),studio-mcp-remotenot run (#196),studio-oidc-genericnot run (#197) · known limits:not-provoked
The Studio depends on four services besides itself: the worker app, the PostgreSQL add-on, the Cellar bucket and the OpenID provider. This page tells, for each, what members see when it is down, what is at risk, and how to recover. None of these outages was provoked on the reference deployment: the effects below are read from the code.
| What members see | Usually |
|---|---|
| Saves refused with 503 "the edit cannot be judged now: …"; the header's health stays grey; the room view keeps an older preview | The worker |
Every save refused with 503 "this instance does not serve writes yet; try again"; /readyz 503 "writes":"waiting"; reads failing too |
PostgreSQL |
Saves of new images or sounds failing; previews failing; rpoMs growing on /readyz
|
Cellar |
| Logins failing; after a while, 503 "the identity provider cannot be reached: the session is suspended" | The provider |
-
The worker: the app stopped, crashed or redeploying; its
WORKER_PUBLIC_KEYorWORKER_INSTANCEnot matching the Studio's key orworker.instance(403 "the job is for another instance", or a signature refused); its lanes full (8 jobs each, then 429); the two apps at different versions during an upgrade. - PostgreSQL: the add-on down or in maintenance; its connections exhausted ("too many connections", the DEV plan during a redeploy).
- Cellar: the service unreachable, the bucket deleted, or its credentials changed.
- The provider: the Keycloak add-on down, or the provider's client secret changed without the Studio's.
# on your machine
curl -s https://studio.example.fr/readyz"writes":"waiting" means this instance does not hold the service lease: PostgreSQL first (or a redeploy). A growing
rpoMs means the journal cannot reach the bucket: Cellar.
# on your machine, in the engine repository; stop it by its process id once read
clever logs --alias my-game-studio > studio.log 2>&1 &
clever logs --alias my-game-worker > worker.log 2>&1 &| Log line | Points at |
|---|---|
health-failed or preview-failed with "the processing worker refused the job (403: …)" |
The worker refuses: read the reason (keys, instance, expiry) |
worker-job-refused in the worker's log |
The same, from the worker's side |
leases-read-failed, reconcile-failed, "too many connections" |
PostgreSQL's connections |
ship-failed with an S3 message |
Cellar |
lease-lost with no lease-taken after it |
PostgreSQL: the instance could not renew |
Clever Cloud's console shows each add-on's state; clever status --alias my-game-worker shows the worker's instances.
-
The worker. Restart it (
clever restart --alias my-game-worker) and check that its key and instance name match the Studio's (Configuration, step 6). Meanwhile: writes that need a check are refused rather than let through (the Studio fails closed); writes tonotes.json, the storyboard,voices.json,playtests/,art/,audio/andprivate/need no check and still go through; previews, the health, Prepare and the cuts wait. Nothing confirmed is lost.
- PostgreSQL. An instance that cannot renew its lease stops writing by its own clock within 30 s; nothing is written half. When the add-on comes back, the instance takes the lease again and writes resume. If the database is lost, restore the latest backup into a new add-on and replay the journal (restore drill): what is lost is what was not shipped yet (RPO).
-
Cellar. Confirmed operations stay in PostgreSQL; their shipping to the bucket is retried every 30 s
(
ship-failed), andrpoMsgrows meanwhile: if the database were lost now, those operations would be. When Cellar is back, the journal catches up andrpoMsreturns to 0. The daily backup fails while the bucket is unreachable: take one by hand once it is back (Backups). If the bucket is lost, only your copy made elsewhere can restore the game.
- The provider. Sessions live on until R (15 min) after their last check, then are suspended (503) until the provider answers; new logins fail until then. Bring the provider back; if its client secret changed, set the same one in the Studio (Rotating keys).
Limit ·
not-provokedNone of these outages was provoked on a live installation: the behaviour is read from the code (the guard that fails closed, the lease, the shipping retries, the session suspension), and the times are the code's constants, not observations.
/readyz is 200 with rpoMs back to 0; a save goes through at the next revision; the header's health turns green and
a preview builds; a member can log in.
- A 503 during a deploy is the lease handing over, not an outage: it lasts seconds to about a minute (Redeploys).
- A 423 is a span held by another member, not a service down (Write refused: span locked).
- A 409 is a stale base revision (Write refused: stale base).
- Other Clever symptoms (a missing cookie, a slow preview, clock skew, a silent cron): Troubleshooting.
Generated publication · publication générée — current documentation · documentation courante: quest'n'click 4.4.0 r1, documentation revision · révision de la documentation 8dc717c69acb62c4742b69c54a7e7dfb620f75d8.
Earlier versions and permalinks · versions précédentes et liens permanents: https://wanoo.github.io/quest-n-click/docs/
An edit made in this wiki is overwritten at the next publication · une modification faite dans ce wiki est écrasée à la publication suivante.
Edit the source · Modifier la source · Report an error · Signaler une erreur
Index (6)
Start (6)
Play (9)
Install (17)
- Requirements
- Install from the release archive
- Install from npm, once published
- Install from the repository to work on the engine
- doctor: checking your machine
- Image toolchain
- Audio toolchain: ffmpeg, fluidsynth, Furnace, uv
- Upgrade
- Upgrade notes: 4.4
- Upgrade notes: 4.3
- Upgrade notes: 4.2
- Upgrade notes: 4.1
- Upgrade notes: v3
- Upgrade notes: v2 to v3
- Coming from web-scumm
- Package reference
- Install troubleshooting
Create a game (55)
- Your first game
- Layout of a created project and of the engine repository
- The working loop
- Content principles and the identity contract
- Rooms
- Geometry: placement, walk zones, masks, layers, camera
- Something is visible but unreachable
- Reactions
- Game commands
- Conditions
- Flags, variables and events: which to use
- Custom code
- Characters
- Items and inventory
- World map
- Dialogues
- Scripts and events
- Moving characters: patrols and walks
- Exits
- Chapters and objectives
- State and saves: persistent or temporary, renaming an id, migrations
- Staging: wide rooms and animations
- The stage: lights, particles, floors
- Skin and fonts
- Title and credits
- Heroes: several characters and hero choice
- Built-in minigames
- A custom minigame
- Translations
- Music in stems
- Sound effects
- Voices: per language and per hero
- Images: prompts, cutting sheets, transparency, scale
- Asset provenance
- The storyboard, source of truth
- Puzzle design
- Classic mechanics
- Review pages
- DSL reference
- Checking your game
- What the solver proves
- Solver options
- Playtests
- Remix
- Speedrun for authors
- The sealed ending
- Production template
- Example games
- Working with an AI
- Build and release a game
- Publish on GitHub Pages
- The static game on Clever Cloud
- Other static hosts
- Sub-path, cache and service worker, incomplete deploys, going back
- Testing on a phone over the LAN
Local Studio (24)
- The local Studio: overview and launch
- Edit a room
- Placement and stage
- Preview, apply, undo
- Storyboard
- Assets and cutting
- Check: validator, solver, critical path, heat, health, coverage
- Before and after captures
- Semantic diff
- Play and replay a session
- Rule explainer
- Language and objectives
- Voices and the heroes × languages matrix
- Map
- Notes
- Remix in the Studio
- Music
- The Assistant: bring your own key
- Demo mode and studio-apply
- Local and LAN security
- Studio API
- Local MCP: setting up each client
- MCP tools
- Studio troubleshooting
Team Studio (21)
- What runs where
- Concepts: revision, transaction, span, lease, preview, build
- Starting as an invited dev
- Working together day to day
- Roles and actions: the full matrix
- Invitations
- Managing members
- Write refused on the hosted Studio: stale base revision (409)
- Write refused on the hosted Studio: span locked (423)
- Recovering after a lost lease, a disconnection or a stale preview
- Comments
- Map and semantic diff
- Publishing builds
- Remote MCP
- The game in Git
- Upgrading the engine of a hosted game
- Hosted assets
- The server's command line
- Health and metrics routes
- Trying it locally with compose.yml
- Known limits
Clever Cloud (23)
- Clever Cloud: overview, cost and prerequisites
- Apps and add-ons
- Domains and TLS
- Keycloak
- Generic OIDC and GitLab
- Configuration
- First deployment
- Backups
- RPO and RTO
- Restore the Studio on a fresh installation
- Redeploys
- Upgrading the server and checking state after a migration
- Limits of going back
- Monitoring
- Security
- Rotating keys
- Recovering admin access
- Changing domain or OIDC provider
- Worker, PostgreSQL or Cellar down
- Exporting the game and leaving the installation
- Retention
- Clever Cloud troubleshooting
- Costs and teardown
Reality Bridge and connectors (16)
- The Reality Bridge: what it is
- Quick start
- Guarantees
- Install and run the Bridge
- Backup and restore
- Several tenants
- Signals and the manifest
- The Bridge's command line
- Connectors overview
- Email connector
- Telnet connector
- SSH connector
- Open Badges connector
- The connector SDK
- Security: Biscuit and signatures
- Bridge and connector troubleshooting
Contribute (25)
- Welcome
- Developer setup
- The dev loop
- Before a pull request
- Conventions
- Writing documentation
- Architecture
- Code tour
- Import boundaries
- Which tests run when
- Mutation testing
- The coverage ratchet
- The quality baseline
- CI explained
- Field passes
- Benchmarks
- Releasing
- npm packages
- Decisions and ADRs
- Governance
- Bot pull requests
- Contributing with AI agents
- Security policy
- Code of conduct
- Licences and credits