Skip to content

[Bug]: Cross-subnet Linux cluster member cannot discover remote models despite successful mTLS authentication #243

Backlog

Description

@jayd609

PAIR version or commit

Service release 1.0.0 / Linux TUI 1.0.3

Affected component

Discovery or pairing

Environment

  • Cluster: 3 nodes running matching PAIR component versions.
  • Mac Studio: Apple M5 Ultra, ARM64, 512 GB unified memory, macOS, Ollama and LM Studio.
  • MacBook Pro: Apple M5 Max, ARM64, 128 GB unified memory, macOS, Ollama and LM Studio.
  • Linux: Ubuntu 26.04 LTS, x86_64, Proxmox VM, 2 vCPU, 4 GB RAM, no GPU or local inference engine.
  • Node scanner: 0.20.5
  • Node info: 0.13.4
  • Cluster manager: 1.1.6
  • Manual nodes: 0.11.2
  • UI broker: 1.3.1
  • Proxy: 1.4.0

The Macs share a LAN subnet. The Linux VM resides on a separate routed subnet. NetBird/WireGuard connectivity is also available. Bidirectional TCP connectivity on ports 14318–14323 is verified.

Affected models include gpt-oss:120b, frob/deepseek-v4.1-flash:552b and all other remote Ollama and LM Studio models.

Exact macOS and inference engine versions were not recorded.

Steps to reproduce

  1. Establish a PAIR cluster between two macOS machines running Ollama and LM Studio.
  2. Install PAIR on a CPU-only Linux VM on a separate routed subnet.
  3. Ensure bidirectional connectivity on ports 14318–14323.
  4. Join the Linux node to the existing cluster.
  5. Manually discover both macOS nodes using their LAN addresses.
  6. Query the Linux PAIR proxy using curl http://127.0.0.1:11434/api/tags or curl http://127.0.0.1:1234/v1/models.

Expected behavior

Authenticated cluster members should automatically discover and expose remote model inventories through their local proxies, including across routed subnets without mDNS connectivity.

Manual discovery should retrieve both node telemetry and authenticated model inventories. CPU-only nodes should be able to act as inference-routing clients without requiring a local inference engine.

Discovery failures should produce actionable diagnostics. Explicit selection of preferred cluster IP addresses would also be beneficial.

Actual behavior

The Linux node successfully joins the cluster. Manual discovery retrieves hardware telemetry and displays both Macs as online members, but all remote model inventories remain empty.

The Ollama, LM Studio and llama.cpp proxies return {"error":"model inventory unavailable"}.

Direct mTLS requests from Linux to both Macs successfully retrieve engine status and complete model inventories. Both remote inference engines are healthy.

Restarting PAIR and replacing automatically selected overlay addresses with reachable LAN addresses do not resolve the issue.

Inventory aggregation is also asymmetric between the Macs:

Node Local Ollama models Additional remote models
MacBook Pro 22 5
Mac Studio 8 0
Linux VM 0 0

The discovery pipeline may depend on mDNS metadata for authenticated model inventory enrichment. Manual discovery retrieves node telemetry, but no subsequent model inventory requests were observed during packet capture.

The exact root cause remains unconfirmed. Remote inference through the Linux proxy was not independently tested.

Workaround: SSH tunnel to the remote inference backend.

Potentially related issues: #91, #65, #44. This report adds evidence that authenticated remote inventory retrieval succeeds despite failed automatic discovery.

Sanitized logs or screenshots

**Linux proxy responses (ports 11434, 1234, 8080):**


{"error":"model inventory unavailable"}


**Direct authenticated remote inventory requests:**


curl -skS -i \
  --cert "$PAIR/cluster/node.crt" \
  --key "$PAIR/cluster/node.key" \
  "https://[REMOTE_IP]:14322/v1/models"


Results:
- Mac Studio: HTTP 200, 9 models (8 Ollama, 1 LM Studio).
- MacBook Pro: HTTP 200, 23 models (22 Ollama, 1 LM Studio).
- Both responses contain valid `models`, `modelsByEngine` and `loadedByEngine` fields.

Authenticated requests to port 14323 `/v1/engines` also return HTTP 200, confirming healthy Ollama and LM Studio instances.

The `-k` option bypasses server certificate verification for diagnostic purposes only. Client certificate authentication remains active.

**Unauthenticated remote inventory requests:**


HTTP/1.1 403 Forbidden
forbidden: plaintext model requests are accepted only from loopback


**Cluster-manager connections:**


ESTAB [LINUX_IP] -> [MAC_STUDIO_IP]:14321
ESTAB [LINUX_IP] -> [MACBOOK_IP]:14321


**Manual discovery packet capture:**


GET /v1/node-info HTTP/1.1
TCP 14318
HTTP/1.1 200 OK


No remote requests to port 14322 were observed during the capture interval.

**Additional diagnostics:**
- Scanner, manual-nodes, engine-manager and proxy processes run with `--cluster-dir`.
- Linux scanner listens on UDP 5353 and publishes `_nvpair-node._tcp.local` advertisements.
- No incoming remote PAIR advertisements were observed during a 30-second capture.
- Native DNS-SD browsing on the Mac Studio returned no PAIR service instances during testing.
- Private addresses and node identities have been redacted.

Confirmations

  • I searched existing issues for duplicates.
  • This is not a security vulnerability.
  • I agree to follow the Code of Conduct.

Activity

  1. added
    bug
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions