Skip to content
← Back to writing

October 10, 2026

Movviz, our first app request from outside

A user asked for one app in the HomelabARR CE catalogue. Taking it all the way to a public address through Cloudflare and Authelia surfaced a bug that had been dropping the ports of 539 apps, and a status message that gave up two minutes too early.

Just before 1 AM on Saturday I found an issue on the HomelabARR CE repo titled "App catalog request: Movviz". It had been sitting there since Thursday evening. It was the first time someone outside the project had asked us to carry an app. The only other outside post in that repo's history was an automated security scanner back in June. Movviz is a self-hosted media platform that does discovery, requests, automation, a built-in BitTorrent engine and playback, and the request came from the person who builds it. I wanted it in both catalogues that night, and I wanted it working the way a stranger would use it, at its own address, from the internet.

The Eight.ly OS App Store on the NAS after reinstalling Movviz in reverse-proxy mode: Installed Movviz, with the two torrent peer ports 55000 and 55001 listed as open for TCP and UDP, and a box above reading Address not published because movviz.mjashley.com did not resolve on the internet yet.

Into both catalogues

I replied on the issue at 00:59 to say we were on it, and filed EOS-2619 into the running sprint. The template came straight from the maintainer's own compose file. The web page and API live on port 9810 and go behind the reverse proxy. Two torrent peer ports, 55000 and 55001, are published for TCP and UDP, one for movies and one for series. Settings go in /config under app data, and downloads and the library share one media root at /data, so an import is a move and never a copy, and the template keeps the upstream health check, a wget against /api/healthz.

The Eight.ly App Store template merged as eightly-templates #96 at 01:08. The HomelabARR CE copy merged as #574 at 01:12, and CE users get it with the next CE release because CE ships its app list inside the image.

Calling it live too early

The first proof went sideways. My dev VM, os-dev, refused the install, and it was right to. It has no storage array mounted, and the App Store will not put an app's media on the system disk. So I moved to appsweep, a throwaway VM I use for App Store sweeps, synced its catalogue from the Settings screen, searched for Movviz and installed it with the defaults. It came up healthy 37 seconds after starting. Its address redirected to the Authelia sign-in, and at 01:32 I posted on the issue that Movviz was live.

Two minutes later I looked at what "live" actually covered. The address I had checked lived only inside that test box's own proxy, and nothing in public DNS pointed at it. My check had stopped at the sign-in page and never reached Movviz itself. Then I had shut appsweep down again. That reply also said the two torrent ports could be set at install, and I had not looked at whether they were actually open. I am close enough to release that I cannot accept a half-finished proof, even on a small ticket. So I started over on the NAS, which has the real array, real media and a Cloudflare tunnel, and set the bar where a user would: install from the App Store, open the address from outside, and land on Movviz.

The ports that were never there

On the NAS, the install went through cleanly. Settings landed on the cache SSD, media on the array at /mnt/array/data, and the container was healthy in about 20 seconds. Then I read what Docker actually had. The Review step had shown each peer port as "→ 55000" with no host side. The compose file the installer wrote had no ports section at all. Docker listed 55000 and 55001 as exposed and published nothing.

So the reply I had posted 20 minutes earlier was wrong on its most specific claim. In reverse-proxy mode, the install wizard did more than leave the web port unpublished. It threw away every port the app had, and it turned UDP ports into TCP on the way. A torrent client set up like that can only make outbound peer connections, which the Movviz docs warn will stall downloads. The same thing would break a game server, an MQTT broker or anything else that talks on a port that is not a web page.

I filed it as EOS-2621 at 01:36, at Highest, in the running sprint. Counting the catalogue for templates with a web port plus other ports gave 539 affected apps, including qBittorrent, Transmission, Deluge, Syncthing, Frigate, Mosquitto and Minecraft. The fix, PR #1989, merged at 02:25 as 4276243d3. In proxy mode only the port the proxy routes to stays unpublished, and every other port is published exactly as it would be in bridge mode with its protocol kept. The Review step now shows each port as "this box → app" with TCP or UDP, and marks the web page as going through the reverse proxy. The install result names the ports left open. The new screen test fails 5 of 6 against the code from before the fix and passes 6 of 6 after it. The fix also turned up one template that was wrong the other way: AdGuard Home pointed the proxy at its DNS port. That went to the follow-up sprint as EOS-2625.

I held the v2.3.74 release for that fix so the NAS could get it in the same update as the Publish feature I had built the day before, which can put an app's address on the internet through a Cloudflare tunnel or forwarded ports at install time. A flaky changelog test held the release a little longer. It turned out to be a grep -q under pipefail that failed by chance, and the same flaw sat in three live scripts. That was EOS-2622. v2.3.74 went out a little before 4 AM, and the NAS took it from its own update screen.

Two minutes short

At about 06:24 I uninstalled Movviz on the NAS and installed it again from the App Store, this time with "Publish this address to the internet through Cloudflare" ticked. The Review step listed the web page through the reverse proxy on 9810 and four published ports: 55000 and 55001, each for TCP and UDP. The install finished at about 06:26. The ports line was right, and the screenshot above is that screen.

The box above it was wrong. "Address not published: movviz.mjashley.com does not resolve on the internet yet." The Routes page agreed and marked the route Unreachable. About two minutes later the same public resolver the box asks returned Cloudflare's addresses. At 06:28:07, Network > Routes > Check from the internet said the address answered from the internet with the same redirect to Authelia as the box's own proxy. A server I run outside the house got the same 302 to authelia.mjashley.com. In Chrome, movviz.mjashley.com went through Cloudflare, through the Authelia sign-in, and onto Movviz's own first-run login page, with the tab titled "Movviz – Login".

The cause is in pkg/api/vpn/publish_proof.go. The check after a publish tries six times, ten seconds apart. A brand-new DNS record that takes more than a minute to reach the public resolver gets reported as a failure, and the route keeps that failed state until someone presses Check again. The address was fine. The install result told the owner it had failed. I filed it at 06:29 as EOS-2628 in the follow-up sprint. When it is built, the install will say the address is still being confirmed, and the Routes page will flip to answering on its own when the record arrives. An address that never answers will still get a plain failure that names what the internet returned.

Closing it out

EOS-2621 and EOS-2619 closed at 06:31 with that evidence attached: the Review step as shown, the install result, the container row with 55000 and 55001 published for both protocols, the outside curl and the Routes check. The issue on GitHub has its answer, and anyone running Eight.ly OS can install Movviz from the App Store today.

What stays with me is the reply I sent at 01:32. It promised ports that the installer was quietly dropping for 539 apps, and I only found that because I made myself finish the path on a real box with a real domain. One request from one user turned into two product bugs and a release.