github prusa3d/prusa-connect v0.1.0-beta.3
Release 0.1.0-beta.3

pre-release2 hours ago

Prusa Connect 0.1.0-beta.3

Prusa Connect is a server you run on your own network. Your printers connect to it, and you use them from its web app and its API. Nothing goes through a cloud service.

Which file to download

your machine file
a Linux PC or NAS, 64-bit Intel or AMD prusa_connect_amd64
a Raspberry Pi Zero 2 W, 3, 4 or 5 with a 64-bit system, or another 64-bit ARM Linux machine prusa_connect_aarch64
a Raspberry Pi 2, Zero 2 W, 3, 4 or 5 with a 32-bit system prusa_connect_armv7
a Raspberry Pi Zero, Zero W or 1 prusa_connect_armhf
Windows on Intel or AMD prusa_connect_windows_amd64.exe
Windows on ARM prusa_connect_windows_arm64.exe
a Mac with an Intel processor prusa_connect_macos_amd64
a Mac with Apple silicon (M1 and later) prusa_connect_macos_arm64

These are the full build. Each one carries the web app, the HTTP API, the live event stream, MQTT, SQLite and PostgreSQL storage, and Prometheus metrics. MQTT, the metrics and PostgreSQL stay off until the configuration file turns them on.

The prusa_connect_minimal_* files are a smaller Linux build for the same four processors. It has the API and the printer connection, and it has no web app, no MQTT, no metrics and no PostgreSQL.

What changed

Security

  • The Fractal module lists a printer of a server only to a person who may observe that printer, in GET <mount>/nodes and GET <mount>/nodes/{path}. Before, every person who may view the link read the serial number and the state of every printer the server keeps a copy of.
  • PUT /api/v1/connector-endpoints/{name} refuses an address that holds a user name or password, or any "@", with a 422. The escaped "%40" is refused the same way. An endpoint already stored with either is no longer listed by GET /api/v1/connector-endpoints or dialled. It is reported as a configuration failure by its name alone.
  • A write that a browser sends from an origin off the allowed-origins list is refused with 403 CROSS_ORIGIN_REFUSED, so a malicious page can no longer install a module. A reverse proxy that rewrites Host over plain HTTP needs its public origin under core.api.allowed_origins.
  • In open mode, a name off the allowed-origins list gets 403 HOST_REFUSED, so a page cannot point a name it owns at the server. An address, a name of one label and a local-network name such as printers.local are always answered. Any other name is refused for every client, the CLI and PrusaSlicer included. To keep using one, open the server by its IP address and add the name under Settings, Server, Network, or under core.api.allowed_origins. The web page on such a name shows this refusal and what to do, not a sign-in form.
  • In printer connector mode token and both, a printer that already has a token and registers again gets a new code, which an operator approves. Before, a caller that knew a printer's fingerprint, shown as unit_uid by GET /api/v1/devices, could collect that printer's token from /p/register. A printer that was factory reset no longer gets its token back by itself, so approve its new code in the list of new printers.
  • A printer connector in mode none or fingerprint writes a warning to the log at start, because a caller that knows a printer's fingerprint can connect as that printer there. The first-run wizard says the same beside the choice that admits every printer.

Changed

  • A server with the Fractal module and no accept block now listens on 127.0.0.1 for the nodes of its own printers, on two ports the system chooses. Its link status says it accepts nodes, and a program on the same machine can join it.
  • The Fractal module shows each printer of a server as a node of its own, at <server path>/<printer identifier>. Its interfaces have the instance 1, or the number of a head or slot, so a call names the node of the printer and not the server.
  • A printer that is offline is marked stale on the servers above, and no longer reads BLOCKED with empty readings.
  • GET <mount>/nodes of the Fractal module lists a server that reports no interface of its own, with interfaces: 0. It is connected while a node under it is.
  • A call a person sends through the Fractal module to a printer of the same server needs that person's operate permission on the printer. Without it the answer is CALL_DENIED. The call runs as the module, so sink:fractal needs the operator role on that printer.
  • A server whose accept.verification is jwt needs a join token for each of its own printers, in the new setting printers.join_credentials. A printer with no token there is not shown to the network.
  • A server prints a shared file on its own printer with PrintFile and a fractal URL on the node of that printer. A file the server shares itself prints from its storage with no copy, and a file from a server above is fetched once.
  • [sdk] A server that ran with no server above it and has a printer, or any node below it, no longer joins another server when it gets a join block. Its link shows GRANT_REFUSED, it stays at the top of its own tree with its printers, and it joins after its data directory is deleted. A server that joined another one and has a printer keeps its place when its join block is removed. join.Decide and Joiner.Join of sdk/fractal/join refuse with ErrHasChildren.
  • The default of stream_max_bytes of the Fractal module is 32 MiB, down from 256 MiB. A server sets that much free disk aside for each server and each printer below it, and refuses the one that no longer fits.
  • The starting log line names the configuration file by its absolute path in config=, so the path to pass to -config can be copied from it.
  • A flash or an upgrade now always names a firmware file, so the server never sends the printer a bare M997, which the printer firmware crashes on. The path argument of core.command.flash and core.command.upgrade was optional, and a request without it was sent as M997 with no file. It is now required, and a request without it is refused with core.validation/ARGUMENT_MISSING. A path the printer cannot flash, such as an empty one, is refused too, and nothing is sent. Callers must send the firmware file's path.
  • An upload to a storage over the size limit is refused before its body is sent, with
    core.validation/UPLOAD_TOO_LARGE, which names the limit
  • The Cameras view groups a printer's cameras under one name and print progress, with playback, fullscreen controls and a link to each camera detail.
  • Cards hide the sort control when no choices are available.
  • Print percentages appear beside the job filename in the shared footer. Camera previews have no bottom name strip.
  • The Now tab and dashboard camera cards share the same camera workspace. Now shows the selected camera name above its picture.
  • A camera problem indicator opens all known causes and leaves healthy cameras unmarked.
  • Camera settings open within the frame and keep supported module controls available in the fullscreen workspace.
  • The Add camera dialog starts with the camera type and shows only the connection fields that type needs. It keeps the current printer, labels the input Name and places Add camera below the empty list message.
  • An extension's page under Settings, Extensions opens on its Settings tab, or else on a tab of the extension's own, such as How to. The extension's own tabs come right after Settings.
  • An operator can no longer hide a module's settings tab, such as How to, or its card on a printer's Printer tab. An entry of either in hidden_contributions is dropped.
  • The Where it shows tab no longer lists a page kept out of the sidebar, whose switch changed nothing.
  • A browser that opens an extension's address without signing in gets a page with the extension's name and summary, instead of an error. PrusaSlicer's Physical printer tab shows it for the PrusaSlicer 2 Connector.
  • The Controls tab steps 10 mm at a time unless another step is chosen. A 1 mm step barely shows on a printer.
  • Installing or updating a module takes the admin role on the organization. Configuring a resource kind is no longer enough for POST /api/v1/modules.
  • Planning a module install takes the admin role on the organization too. POST /api/v1/modules/plan only feeds an install.
  • The Extensions page greys Install and Update for a person who is not an organization administrator, and says why.
  • Switching on a module installed without approval takes the admin role on the organization. A manager of its resource kind still switches an approved module on and off.
  • After the upgrade, an organization administrator should look over the installed modules. A module a manager of one resource kind installed or switched on before keeps running.
  • A server older than this version refuses to start on a database this version has opened, and says the database was migrated by a newer build. To go back to an older version, restore the backup taken before the upgrade.
  • A server that reads its updates from GitHub offers only stable releases while it runs a stable version. A server on a prerelease, such as 1.2.0-beta.3, is still offered every newer release.
  • A server that is not paired with the Beta Portal now takes its online updates from the public GitHub releases of prusa3d/prusa-connect. It no longer asks to be paired. A paired server still takes them from the Beta Portal, and core.upgrade.release_repository still names a GitHub repository that is read even while paired.
  • Settings → Server → Updates says where the listed releases come from: GitHub, with the repository, or the Beta Portal while paired.
  • Settings → Server → Updates shows the newest release and folds the older ones into a list that opens on a click. The notes of a release open in a dialog from its "Release notes" button.
  • Settings → Server → Updates lists "Releases from the Beta Portal" as a source of its own. A server that is not paired shows one line with a "Pair" button that opens the pairing steps.
  • [sdk] A host opens no print from a new /job/id while /state is IDLE or READY. Before, such a reading opened a print and ended it at once. A driver reports a new id with a state that says the print is on the bed or has ended.
  • [sdk] connectorapitest fails a driver that reports a new /job/id only while /state is IDLE or READY.
  • A server whose Beta Portal access is suspended, or whose pairing the portal refuses, takes its online updates from the public GitHub releases until the access is back.
  • Settings → Server → Updates shows the GitHub releases while the Beta Portal access is suspended, and says so in the pairing.

Added

  • The list of the folders other servers share has a print button on each print file. It prints on the printers under the server sharing the file, and on a printer of this server once an operator gave the Fractal link the operator role on it.
  • A print of a shared file by a person who administers a printer of this server gives the Fractal link the right to operate that printer. The dialog says so under the printer before the print, and the right stays.
  • A server with a files block of the Fractal module keeps the state of every printer below it, whatever shadow.patterns selects.
  • A printer driver can run in a module of kind driver, outside the server's binary. An endpoint names the module's instance as its connector, and the server dials the printer through the module's process. An upgrade or a settings change of a driver module waits until its printers finish printing.
  • core.api.max_upload_size sets the largest file one upload to a storage may be, 200 MiB by default, and
    GET /api/v1/ui reports it as max_upload_bytes
  • [sdk] A module can add a column of its own to the Jobs listing with the slot job-column, and a section to a print's page with job-section. Both hand the module the id of the print. The manifest names the column's heading, so the table's columns are known before the bundle loads.
  • Cameras that receive images can declare their minimum image interval with the optional min_interval setting. The Cameras tab displays this value when it is set.
  • GET /api/v1/devices takes sort=camera, which lists first the printers that have a camera the caller may see and orders each group by name. With order=desc the printers without a camera come first.
  • [sdk] A module draws controls over the picture of a camera of a type it offers with the slot camera-overlay, wherever the core draws the picture. It is handed the camera's name, and only the module that offers the camera's type is drawn there.
  • The Printers page sorts by Cameras first, which lists the printers with a camera first over every page. Each page keeps a printer's cameras together in the grid.
  • On a printer's Now and Cameras tabs, F opens the camera in full screen and closes it, and Space starts or stops its live view. With several cameras the keys act on the one under the pointer. They also work in the full screen view of the Printers page and the dashboard.
  • An app that shows the web app in a web view sets its language and its theme, and signs the person in, with the calls PrusaSlicer uses. The app puts window._prusaApp on the page, opens a page session and calls window._prusaConnect_v2.init.
  • The Status tab of a printing printer that prints more than one object draws them on a plan of the bed, zoomed to the objects, and lists them. A person who may operate the printer can cancel one from either. It needs a printer that reports cancellable objects, such as Buddy firmware, and a file sliced with labelled objects.
  • GET /api/v1/devices/{device_id}/files answers objects with the outline of each labelled object, when it is asked about one print file.
  • [sdk] connectorapi.File has ObjectsInfo, the slicer's objects_info value as the device sent it. A driver fills it on the one file a listing is about.
  • The Storage page deletes every ticked file and folder from the selection bar. It asks once before it
    deletes, and when the storage keeps some of them, it names the ones that stayed.
  • Settings, Appearance has a Language control. This browser keeps the choice, and Automatic goes back to the browser's language, then the server's default.
  • When the page is in Czech, an error a Prusa printer reports shows in Czech, in the words of the printer's own Czech firmware.
  • When the page is in Czech, every error the server reports shows its title and what to do in Czech. The English message and the code stay beside it.
  • GET /api/v1/registrations and the com.prusa.connect.device.registration.announced event carry replaces, the id of the device a waiting printer is already on this server as. The Add a printer page warns that approving such a request takes away the access that printer has now.
  • [sdk] event.RegistrationAnnounced has the field Replaces, so a struct converted to it needs that field too.
  • GET /api/v1/server/version names where online updates come from, with update_repository and update_portal. The first is the GitHub repository read while the server is not paired with the Beta Portal. The second says whether a pairing moves the updates to the portal.
  • [sdk] A module's bundle can call host.describeSetting(key, hint) to give a setting on its Settings tab a title and the value it uses while the field is empty. A core without it leaves describeSetting out, so a module checks for it.
  • The container image has a beta tag on ghcr.io and Docker Hub that follows the newest prerelease. latest, X.Y and X still follow stable releases only, and appear with the first one.

Fixed

  • The server reconnects to a Moonraker printer after Klippy restarts, restoring state updates. Previously, the printer's state could remain stale while Moonraker stayed connected.
  • A backup made while no update was waiting was named as if it led to a version called unknown, such as 20261123T104715Z-0.1.0-beta.1-to-unknown. It is now named after the date and the version that made it, such as 20261123T104715Z-0.1.0-beta.1, and the Backups page and prusa-connect backup list show only that version.
  • admin list, admin reset-password and registrations stop and print the absolute path of the database when it does not exist, instead of creating an empty one and reporting no accounts or registrations. They also say which configuration they read, and admin list with no accounts and admin reset-password with an unknown username name the database.
  • The startup warning that the server's address is a bridge address, and the matching Network page notice, appear only on a bridge network. Macvlan, ipvlan and host networking on a Linux host no longer show them.
  • On a printer page and on the Storage page, a file dropped anywhere in the window now uploads, not only one dropped on the small upload box.
  • A tooltip shows above an open popover or dialog. Before, an open popover covered the name of the control under the pointer.
  • The table view on a printer's Files tab shows the Modified column again in a wide window, also for a printer that takes uploads.
  • The State filter on the Printers page now lists a switched-off printer under Offline instead of under the last state it reported. In GET /api/v1/devices, such a device now matches state=OFFLINE and is counted and sorted under OFFLINE, while its state field keeps what it last reported.
  • Extensions can now be installed on Kubernetes with the shipped manifests. The ConfigMap now sets core.modules to the writable config volume, where before every install failed writing beside the read-only configuration file.
  • prusa-connect backup create now uses the PostgreSQL backup mode set in core.upgrade.postgres_backup, as backup restore already did. When the database is left out of the backup, its error names -postgres pg_dump, the configuration key and -acknowledge-external-postgres.
  • A CORE One INDX and a CORE One L INDX report their build volume: the Prusa driver now recognises the model names COREONEINDX and COREONEL-INDX their firmware sends. On firmware that lists tools by number, an INDX shows four heads unless it lists a fifth or higher, and then eight.
  • A transfer stopped before the printer answered its start is stopped on the printer too
  • A printer that resumes a transfer the server no longer holds is told to stop it
  • The app pairing page opened with ?embed=1, as PrusaSlicer 3 opens /pair in its own window, shows without the sidebar and the header, so the person cannot leave the approval.
  • A first-run step that fails with core.internal/UNEXPECTED now logs its cause under the trace id. One such cause
    is a config.yaml made unreadable or invalid after the server started.
  • A new API credential valid for 365 days is no longer refused when the browser's clock runs slightly ahead of the server's
  • An RTSP camera that refuses a request without credentials, such as a Reolink, now opens in the live view. The server sends the credentials with every request after the camera first asks for them.
  • The container image carries the Buddy3D camera extension in /opt/modules/buddy3d-camera. Earlier images left the folder out.
  • An account, API credential or pairing request under /api/v1/auth/, GET /api/v1/principal or a first-run
    request under /api/v1/setup that fails with core.internal/UNEXPECTED now logs its cause under the trace id.
    One such cause is an account store that could not be written.
  • A caller that closes an account, API credential or pairing request under /api/v1/auth/, or
    GET /api/v1/principal, before the answer is now counted as core.validation/REQUEST_ABANDONED with status
    499. It was logged as an error with core.internal/UNEXPECTED.
  • The full screen button of a dashboard's wall view puts the wall over the whole screen, where it did nothing in Chrome, Edge and Firefox. A browser that has no full screen for a page, such as Safari on an iPhone, no longer shows the button.
  • A temperature target typed outside what the printer allows is refused with a message, such as "At most 55°C" for a CORE One chamber. Set on the nozzle, bed and chamber targets waits for a figure in range instead of lowering it to the limit and reporting the change as done.
  • A speed, flow, chamber fan or chamber light figure typed outside its range is refused with a message, such as "At most 200%", and nothing is sent. Enter or leaving the field no longer sends the nearest end of the range in its place.
  • [sdk] A tool now reports the nominal weight of a full spool at material_package_instance/package/nominal_netto_full_weight, as a Prusa printer sends it for an OpenPrintTag that carries no actual weight. The member is connectorapi.MaterialNominalFullWeight, and connectorapi.ReportedMaterial gains the field NominalFullWeight, so a struct converted to ReportedMaterial needs that field too.
  • The Health tab in Settings, Server, now updates when a printer connects or disconnects, is renamed or retired, or when you lose access to one. Before, it showed the state from when the page opened until you reloaded it.
  • Over plain http://, the copy buttons in the new API credential dialog and the dashboard share dialog said the copy had worked, but the clipboard did not change. They now copy the value, and a copy that cannot work says that it failed.
  • A printer's Files tab lists the newest files first again, as it did before 0.1.0-beta.2. The Cards view, and a pane too narrow for the Modified column, offer the Sort by menu and direction buttons the Printers page uses, with Modified, Name and Size.
  • In Czech, the chamber temperature, the allowed pages under Settings → Server → Network and the trust notes of an extension no longer show in English.
  • In Czech, the camera controls over a picture and printing a file another server shares no longer show in English.
  • The web app opens in the language core.frontend.default_language names when the browser asks for none the app has, and the sign-in page opens in it too. Before, the page always opened in English for such a browser.
  • A CORE One INDX no longer reports "This server is not reading the device's telemetry fast enough" all the time. A printer with several heads now gets a telemetry queue that holds a whole frame of its telemetry, so none of it is dropped while the server keeps up.
  • Over HTTPS, the web app and API accept TLS 1.2 and 1.3, so PrusaSlicer 2.9 can reach the PrusaSlicer 2 Connector.
  • The Controls tab no longer turns its axis controls off when the printer stands just past the build plate. A step from there goes back toward the plate by its own size, never further out.
  • The Controls tab no longer holds every control when the printer reports a height between two steps of the Z slider. An MK4 does that after Home, and a reload did not free the controls.
  • The nozzle on the Controls tab's build plate is drawn where it stands on the grid, and on the plate's edge when it stands past it. It used to sit inside a smaller, squashed area and was missing past the plate.
  • The print sheet on the Storage page now shows how much of the file is sent, in percent.
  • A server bound to one address announced every address of the machine over mDNS, on every network. It now announces only the bound address, on the network that holds it, and listens for printers only there
  • A printer whose registration code ran out after 24 hours can register again. Before, POST /p/register answered 500 for that printer until the server restarted.
  • The name of a long file no longer overlaps its step in the list of files on their way. The step now narrows and wraps beside it when the two do not fit side by side.
  • PrusaSlicer 2 keeps showing the PrusaSlicer 2 Connector page on the Physical printer tab, instead of replacing it with "Something went wrong" after a second.
  • Settings → Server → Updates scrolls to the current update when a release is staged, so the click no longer seems to do nothing.
  • Settings → Server → Updates marks the staged release "Already staged" and holds every other Stage button until that update is finished.
  • A server that reads its updates from GitHub no longer offers the version it already runs.
  • A server that reads its updates from GitHub lists the highest version first, also when a patch of an older line was published later.
  • A print started on a Buddy printer that was idle after a print no longer adds a second job under the number of the print before. That job ended at once with the outcome unknown, so Jobs showed one row too many and the job events told "started", "ended" and "started" again for one print.
  • A server that cannot read the releases from GitHub answers RELEASE_SOURCE_UNAVAILABLE, and a GitHub rate limit answers UPGRADE_SERVER_LIMITED with the wait. Both were an unexpected server error before.
  • A server paired with the Beta Portal no longer offers the version it already runs.
  • The Stage button of a release reads "Staging…" while the server downloads and verifies it.
  • The copy button beside a value to copy, such as an API token, is as tall as the value's field. It was about a quarter shorter.
  • A camera that starts sending pictures, such as a newly paired Buddy3D camera, shows its picture without a page reload
  • A printer whose firmware offers only TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 can connect to the printers' own TLS listener. The listener now accepts that suite beside TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, and its startup log line names both under cipher_suites, which replaces cipher_suite.
  • Staging an online update no longer stops after 30 or 60 seconds on a slow link. The server and the web page wait until the release is downloaded and verified. Each file of a release from GitHub may take up to ten minutes to download, as one from the Beta Portal already could.

Check the download

SHA256SUMS holds the checksum of every file. Download it beside the binary.

On Linux, in the folder that holds both files:

sha256sum --ignore-missing -c SHA256SUMS

It prints the file name and OK. On a Mac, compare the output of shasum -a 256 <file> with the line for that file in SHA256SUMS. On Windows, compare the output of Get-FileHash .\<file> -Algorithm SHA256 in PowerShell. PowerShell prints the checksum in capital letters, and the comparison ignores case.

Start it

config.yaml is the configuration to start from. The server reads config/config.yaml in the folder it starts in, so make a folder named config beside the binary and move the file into it:

prusa-connect/
  prusa_connect_<your file>
  config/config.yaml

The server then writes its database under config/config.d and the uploaded files under storage, in the same folder. A config.yaml left beside the binary is not read, and the log says where it looked.

On Linux and macOS:

chmod +x prusa_connect_<your file>
./prusa_connect_<your file>

prusa-connect.service runs it as a systemd service on Linux. The page "Install from a release" says how to install it.

The container image of this release is on GitHub's container registry, for amd64 and arm64. The page "Container Deployment" says how to run it with Docker Compose.

prusa-connect-<version>-source.tar.gz is the source code of this release, for a person who builds the image or the binary.

Then open http://<this machine>:8080/ in a browser. The first page asks how people sign in and how printers join.

Signing

The macOS binaries are signed with a Developer ID and notarized by Apple, so macOS opens them without a warning. The Windows binaries are not signed yet: Windows SmartScreen may say that it protected your PC. Choose "More info", then "Run anyway". The documentation page "Install from a release" shows the step and how to check the file first.

Don't miss a new prusa-connect release

NewReleases is sending notifications on new releases.