Updater MANIFEST_URL points at a dead host (git.comfac-it.com) #1

Open
opened 2026-10-05 05:11:17 +00:00 by justin · 0 comments
Owner

Summary

InitGui.py hardcodes a MANIFEST_URL that can never resolve, so the auto-updater fails at its first network call for every user.

Current value

MANIFEST_URL = "https://git.comfac-it.com/api/v1/repos/cgg/ComfacCAD/raw/manifest.json"

Two independent defects

  1. Dead host. git.comfac-it.com does not resolve -> HTTP 000. The live host is git.comfac-it.net.
  2. Wrong raw path. Even on a live host, /raw/manifest.json returns 303, not the file. The valid Gitea/Forgejo form is /raw/branch/<branch>/<path> -> 200.

Additionally the repo has moved from cgg/ComfacCAD to comfac-dist/ComfacCAD.

Corrected value

MANIFEST_URL = "https://git.comfac-it.net/api/v1/repos/comfac-dist/ComfacCAD/raw/branch/main/manifest.json"

Verified

  • git.comfac-it.com -> HTTP 000 (no DNS)
  • /comfac-dist/ComfacCAD/raw/manifest.json -> HTTP 303
  • /comfac-dist/ComfacCAD/raw/branch/main/manifest.json -> HTTP 200 (anonymous)

Acceptance criteria

  • Updater fetches the manifest successfully from a clean install
  • Failure is reported to the user, not swallowed by the broad except in run_updater_async

Note

Repointing this URL alone does not make the updater functional end-to-end: the manifest still references four workbench archives in the private cgg org, which return 404 to anonymous users. That is tracked separately.


Correction (supersedes the "two defects" claim above)

An earlier revision of this issue stated the URL was broken in two ways, the second being that /raw/manifest.json returns HTTP 303 and is invalid.

That second claim was wrong. It conflated two distinct URL shapes:

Form Shape Result
Web raw /owner/repo/raw/branch/main/manifest.json 200
Web raw, no branch /owner/repo/raw/manifest.json 303
API raw (what this code uses) /api/v1/repos/owner/repo/raw/manifest.json 200 — correct
API raw + branch (invalid mix) /api/v1/repos/owner/repo/raw/branch/main/manifest.json 404

The API path form originally in the code is correct. There is exactly one defect: the dead host. The 303 observation belonged to the web form only and was never relevant to this code.

Final verified fix

- MANIFEST_URL = "https://git.comfac-it.com/api/v1/repos/cgg/ComfacCAD/raw/manifest.json"
+ MANIFEST_URL = "https://git.comfac-it.net/api/v1/repos/comfac-dist/ComfacCAD/raw/manifest.json"
Check Result
old host, as coded HTTP 000 (no DNS)
new URL, anonymous HTTP 200, returns manifest body
## Summary `InitGui.py` hardcodes a `MANIFEST_URL` that can never resolve, so the auto-updater fails at its first network call for every user. ## Current value ```python MANIFEST_URL = "https://git.comfac-it.com/api/v1/repos/cgg/ComfacCAD/raw/manifest.json" ``` ## Two independent defects 1. **Dead host.** `git.comfac-it.com` does not resolve -> HTTP 000. The live host is `git.comfac-it.net`. 2. **Wrong raw path.** Even on a live host, `/raw/manifest.json` returns **303**, not the file. The valid Gitea/Forgejo form is `/raw/branch/<branch>/<path>` -> 200. Additionally the repo has moved from `cgg/ComfacCAD` to `comfac-dist/ComfacCAD`. ## Corrected value ```python MANIFEST_URL = "https://git.comfac-it.net/api/v1/repos/comfac-dist/ComfacCAD/raw/branch/main/manifest.json" ``` ## Verified - `git.comfac-it.com` -> HTTP 000 (no DNS) - `/comfac-dist/ComfacCAD/raw/manifest.json` -> HTTP 303 - `/comfac-dist/ComfacCAD/raw/branch/main/manifest.json` -> HTTP 200 (anonymous) ## Acceptance criteria - [ ] Updater fetches the manifest successfully from a clean install - [ ] Failure is reported to the user, not swallowed by the broad `except` in `run_updater_async` ## Note Repointing this URL alone does not make the updater functional end-to-end: the manifest still references four workbench archives in the private `cgg` org, which return 404 to anonymous users. That is tracked separately. --- ## Correction (supersedes the "two defects" claim above) An earlier revision of this issue stated the URL was broken in **two** ways, the second being that `/raw/manifest.json` returns HTTP 303 and is invalid. **That second claim was wrong.** It conflated two distinct URL shapes: | Form | Shape | Result | |---|---|---| | **Web** raw | `/owner/repo/raw/branch/main/manifest.json` | 200 | | **Web** raw, no branch | `/owner/repo/raw/manifest.json` | 303 | | **API** raw (what this code uses) | `/api/v1/repos/owner/repo/raw/manifest.json` | **200 — correct** | | API raw + branch (invalid mix) | `/api/v1/repos/owner/repo/raw/branch/main/manifest.json` | 404 | The API path form originally in the code is **correct**. There is exactly **one** defect: the dead host. The 303 observation belonged to the web form only and was never relevant to this code. ## Final verified fix ```diff - MANIFEST_URL = "https://git.comfac-it.com/api/v1/repos/cgg/ComfacCAD/raw/manifest.json" + MANIFEST_URL = "https://git.comfac-it.net/api/v1/repos/comfac-dist/ComfacCAD/raw/manifest.json" ``` | Check | Result | |---|---| | old host, as coded | HTTP **000** (no DNS) | | new URL, anonymous | HTTP **200**, returns manifest body |
justin changed title from Updater manifest URL is a dead host and an invalid raw path to Updater MANIFEST_URL points at a dead host (git.comfac-it.com) 2026-10-05 05:13:47 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
comfac-dist/ComfacCAD#1
No description provided.