You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remote-hub ocx connect always times out downloading a large catalog (hard-coded 5s, no override, ~18KB base_instructions per model) #3288
downloadClientCatalog() in src/client/connect.ts uses DEFAULT_TIMEOUT_MS = 5_000 (src/client/hub-client.ts) with no CLI flag or env override. The hub serves the same catalog locally in 0.15 s; over a ~1.4 MB/s link the 8.4 MB body needs ~6 s — past the cap, so connect deterministically fails and rolls back (clean rollback, to be fair).
Workaround we used
Shrank the catalog below the budget: disabled liveModels on two aggregator providers (416 → 90 models, 8.4 MB → 1.9 MB, ~1.4 s transfer) and connect succeeded immediately.
Suggestions
Expose the client fetch timeout (flag or env) so slow links / large catalogs can be accommodated.
Consider serving GET /v1/catalog gzipped — the JSON is highly compressible and this would also shrink the footprint for every client.
Consider documenting a catalog-size budget for remote clients, or warning on ocx sync when the persisted catalog exceeds it.
Related context: each routed model inheriting the full base_instructions template is what makes the per-entry cost ~18 KB; if that block were deduplicated or omitted for routed entries on the download path, catalogs would shrink by ~90%.
Thanks for taking the time to submit this issue. It was closed automatically because it was not opened with a recognized issue template (Bug report, Feature request, Documentation, or Provider compatibility). Freeform and API-opened issues cannot skip this check.
This issue does not use a recognized issue template.
Please edit the issue to add:
Open a new issue with the Bug report, Feature request, Documentation, or Provider compatibility template.
Or edit this issue so the body uses the template section headings for the kind of report you are filing.
Activity
github-actions commentedon Sep 2, 2026
Issue closed: use an issue template
Thanks for taking the time to submit this issue. It was closed automatically because it was not opened with a recognized issue template (Bug report, Feature request, Documentation, or Provider compatibility). Freeform and API-opened issues cannot skip this check.
Please edit the issue to add:
See the Contributing guide for details.
Once the report passes the automated checks, it will be reopened automatically unless a maintainer has changed its state.