Troubleshooting

Symptoms an operator actually sees, and what to do. Error codes are in ../ERRORS.md.

Starting up

The black window closes immediately. The application stopped while starting. (A missing Python or a failed dependency install stops with a message and waits for a key.) Run run.bat from a command prompt so the window stays open and read the last few lines.

"Already listening on" / "Address already in use" / the page will not load. Another copy is already running, or something else holds port 5100 or 5001. run.bat stop stops a copy that is still running; or close the other black window, or check with netstat -ano | findstr :5100.

The browser opens but the page is blank. Hard-refresh with Ctrl+F5. If it stays blank, the browser is too old — Avesta Studio needs WebGL2 and ES modules. Chrome or Edge from the last two years.

The owner console

Where is it? http://127.0.0.1:5001/ — a different port from the clinic application on purpose. It is not reachable from the clinic app and never was meant to be.

It asks me to create an account instead of signing in. Nobody has claimed the console yet. Whoever opens it first becomes the owner, so open it yourself before anyone else can.

Locked out after wrong passwords. Five failures lock that account for five minutes. Wait; there is no bypass.

I forgot the console password. There is no recovery by design — that credential downloads the whole database. Restore the ops_users table from a backup, or reinstall and restore the data.

A practitioner cannot sign in. Check Practitioners on the console's Clinics page. An account showing deactivated has had its password cleared and cannot sign in until you reset it. If they never signed in successfully, reset the password and give them the new one directly.

Signing in to the clinic

It asks me to choose a password the first time. Working as intended. The password you were given is known to whoever created the account; replacing it is the first thing you do, and the old one stops working the moment you do.

"That is the password you were given." Choose a different one — the point is that it changes.

The demo

**The Demo button is not in the header.** The demo is switched off unless run.bat sets SOCKETSTUDIO_DEMO=1: the line is there behind a REM — remove it and start again. It is off because it files a sample patient into the signed-in clinic's own record. With it on, the button appears once you are signed in.

"The demo data is already loaded." A demo is still open from last time. Press Demo to pick it back up, then End demo.

"This build does not include the sample scan." test-data/sample-scan.stl is missing from the install. Without it there is nothing to build the sample case from.

The bar lost its place. It lives in the browser, so a different browser or a private window starts over. The sample data is unaffected — press Demo and it picks up at step one.

Scans

"N separate pieces discarded (…). Kept X% of the scanned surface." The scan contained more than one piece and the biggest was kept; the line gives each discarded piece's area and distance. Usually floating debris, sometimes a genuinely broken scan. Check the measurements against the patient before continuing.

Upload rejected: unsupported format. STL, OBJ, PLY only. Export again from the scanner.

The limb looks inside-out. You scanned a negative cast without ticking the box. Re-upload with This is a negative plaster cast ticked.

The measurements are wrong. Nothing downstream can fix this. Re-scan. Do not rectify your way out of a bad scan.

Socket build

"Generate" does nothing and jumps to Rectification. A socket is built from a saved rectified version. Go to step 2 and press Save rectified & next step, even if you changed nothing.

"No socket print profile is installed: the 3MF carries the geometry without print settings." No socket print profile is installed, so the 3MF carries geometry with no print settings. Owner console → Machines → Print profiles → install the project your print farm exported, named socket- something.

The print check says "The socket is not closed." The socket did not close. Almost always a rectification that pushed material through the far wall, or a scan with a hole. Revert, check the limb, rebuild.

"The wall could not be measured." Same cause: an open mesh has no inside, so there is no wall to measure. The application says so rather than printing a number it cannot stand behind.

The measured wall is thinner than I asked for. Expected at the rim, where the rounding thins the wall by a few tenths. An offset wall (the check-socket recipe) is also thinner wherever it slopes: the entered thickness is laid off horizontally, so a leaning wall measures less — most just above the adapter. A designed wall does not do this. Far below the requested figure anywhere else means the rectification created a pinch — look at the heat map.

Insoles

CHECK instead of FIT PASS, or "did not pass the fit / manufacturability gate". Read the Diagnostics panel: minimum thickness, wall angle, fit gate, or the triangles (the gate refuses a smallest angle under 2° or an aspect ratio over 25). A Diagnostics CHECK for slivers alone — triangles under 5° — is reported, not refused. The usual cause is a parameter pushed past what the size can carry — reduce the arch height or the heel cup, or step the size up.

The gait scan is refused. The message says why: an unsafe path inside the archive, an absolute path, an encrypted member, or too much data. These checks are deliberate; do not work around them. Re-export the archive from the plate software.

The pair looks the same after I change the pathology. The pathology is per foot: it changes the foot whose menu you set, and both only with Edit both feet together ticked. A control you moved by hand stays where you put it — the note under Insole settings says which ("your changes were kept"), and its dot puts it back to the new preset.

The assistant (insole and socket studios)

There is no message box under the model. The assistant is off for this clinic. The clinic's admin turns it on on the Clinic page (Turn the assistant on). In the socket studio the box sits under the stage assistant's row, in every step.

The socket assistant answers "Wall thicknesses are entered by you, never by the assistant." The three walls are typed by you (or come from the recipe you name), and no sentence can set them. In a socket, a thickness that names nothing else ("5 mm thicker") is read as the wall. The new liner ("liner 3 mm", "gel 6") and the rim stroke ("rim reinforcement 3 mm") are not the wall and are carried out.

The socket assistant asks "Over which landmark?" Relief and pressure are made over a landmark you have placed, named in the sentence: "relief 2 mm over the fibular head". Place the landmark first (or sign the Landmarks stage), then say it again.

"... is not a name the studio uses. Did you mean: ..." The words were not one of the studio's names for a control, so it asks instead of guessing. Choose This one to put that control's row on the sheet (still behind Apply), or None of these.

A question gets "The cloud assistant is not connected, so here is what the knowledge base has on it". The cloud layer is not running, so a question gets the knowledge base's own passages, found by their words, rather than an answer. It needs three things: the clinic's switch (Turn the cloud interpreter on on the Clinic page), a key (console → Settings → Cloud interpreter API key), and the openai package, which a default install does not have. The Clinic page says which is missing. A change ("heel raise right 8 mm") is read on this machine and does not need it.

A review is refused. "A review of the design against the knowledge base is off in this clinic": a review sits behind the clinic's proposing switch (Turn proposing on). "A review needs the cloud assistant, which is not connected": it needs the cloud layer above as well. Either way nothing was sent.

The console's Knowledge base page refuses a document. The message says why. Only PDF, Word (.docx), Markdown and text files go in, up to 30 MB. A PDF needs a text layer: a scanned PDF has none — add a text PDF or the source document. The same file cannot be added twice, and a file with no text in it is refused.

Batch build

"No patient folder here has both left and right STL files." The day folder must contain one subfolder per patient, each holding Left-Insole-1.STL and Right-Insole-1.STL.

"This folder already has a 3MF file." Protection against overwriting finished work. Tick Overwrite existing files only if you mean it.

The folder is on a network drive and cannot be seen. The application runs as the logged-in user. Map the drive for that user, or use a UNC path.

Printing

The print queue is empty but I approved a design. Approving files the design; it writes nothing to the queue. A socket is then ordered with Order print on its case page, and an approved insole pair raises its order itself. The project is written when someone presses Build the print project on the console's Workshop. They are separate on purpose — approval is clinical, queueing is production.

The printer does not pick jobs up. The farm has to watch the folder shown on the queue (console → Machines → Print queue). No settings page changes that folder, so point the farm's watch directory at it.

Data

Take a backup before every upgrade. Owner console → Settings → Download a backup. It contains patient data; store it accordingly.

How do I remove the demo records? Press End demo in the demo bar. If the bar is not showing, press Demo in the header to bring it back, then end it. It removes exactly what it created. No Demo button means the demo has been switched off since: switch it back on in run.bat, then end it.

Disk filling up. Every version keeps its mesh. Delete cases you no longer need (Delete case on the case page); the files go with them unless another record still uses them. A case with an order that reached us is kept.

Automatic pricing (the slicer)

"Slice it for me" reports an error instead of numbers. Read the error — it is the slicer's own words, not ours. Two are common:

"Relative extruder addressing requires… Add G92 E0 to layer_gcode." OrcaSlicer has no printer configured on this machine, so it fell back to a default profile that will not slice. Open OrcaSlicer, pick your printer and filament, and save them as presets. Press Test it in the console afterwards (Machines → Slicer).

"The slicer crashed (segmentation fault)." This build cannot slice a .3mf project from the command line — verified on 2026-08-30 against OrcaSlicer's own project export, so it is the build and not the file. Update OrcaSlicer, or keep pricing by hand.

Nothing happens / there is no Slice button. No slicer was found. Install OrcaSlicer, or set its path in the console under Settings → OrcaSlicer executable.

None of this stops you quoting. Slice the job in OrcaSlicer yourself, read filament used [g] and estimated printing time off the G-code, and type the two numbers into the pricing form. Every other figure on the quote is worked out from the clinic's own terms either way — the slicer only ever supplies those two.

Paying for a print order

"Pay by card" is greyed out. Working as intended for now. Card and SEPA go through Stripe, which needs a merchant account in the company's name; until that exists the button says so rather than failing after the clinic has typed their details. Wallet and bank transfer both work today.

Turning card payment on. Console → Settings → the Stripe secret key is the switch, but card payment is not finished yet: with a key set the button still stays greyed out.

"Mark paid" pressed twice. It cannot charge twice. The second press answers "already settled" and moves no money; the ledger is checked for exactly one debit by the test suite.

A wallet order will not settle. The balance would go below the debt floor. Charge the wallet, or have the clinic pay on invoice instead — the quote shows both figures.