# CMP — Companion

> Glyph Companion resolver container, r-dlp auto-updates, and internal proxy routes.

Source: https://errors.glyph.my/area/cmp.md

## GX-CMP-001

**Companion r-dlp update failed (using cache)**

- **What happened:** Glyph Companion could not fetch a newer r-dlp release at startup and kept using its verified cached binary.
- **What you can do:** No urgent action required; check outbound internet/GitHub connectivity from the Companion container.
- **When to open an issue:** Open an issue if GitHub is reachable and updates fail consistently.
- **Direct link:** https://errors.glyph.my/gx-cmp-001

## GX-CMP-002

**Companion r-dlp cache unavailable (using bundled)**

- **What happened:** Glyph Companion could not update r-dlp and found no verified cached copy, falling back to the bundled binary.
- **What you can do:** Ensure /cache is writable and the container can reach GitHub Releases.
- **When to open an issue:** Open an issue if /cache is writable and GitHub is reachable.
- **Direct link:** https://errors.glyph.my/gx-cmp-002

## GX-CMP-003

**Companion r-dlp verification failed**

- **What happened:** An r-dlp update downloaded by Companion failed SHA-256 or minisign signature verification and was rejected.
- **What you can do:** Restart the Companion container to retry, and verify release-key.pub is up to date.
- **When to open an issue:** Open an issue immediately if an official r-dlp release fails signature verification.
- **Direct link:** https://errors.glyph.my/gx-cmp-003

## GX-CMP-004

**Companion internal authentication failed**

- **What happened:** An internal Companion route (/internal/*) rejected the request due to a missing or mismatched YTDLP_SERVICE_TOKEN.
- **What you can do:** Verify YTDLP_SERVICE_TOKEN matches between your Glyph server/Worker and Companion container.
- **When to open an issue:** No issue needed for configuration mismatches.
- **Direct link:** https://errors.glyph.my/gx-cmp-004

## GX-CMP-005

**Companion audio or video resolve failed**

- **What happened:** The Companion service failed to resolve a YouTube audio or video stream.
- **What you can do:** Check Companion logs for r-dlp or yt-dlp errors and update the Companion image.
- **When to open an issue:** Open an issue with Companion logs if all tracks fail.
- **Direct link:** https://errors.glyph.my/gx-cmp-005

## GX-CMP-006

**Companion import service unavailable**

- **What happened:** The Worker could not reach the Companion import helper to fetch a playlist.
- **What you can do:** Retry later, import locally, or check that the Companion container is running and healthy.
- **When to open an issue:** Open an issue if this persists on api.glyph.my.
- **Direct link:** https://errors.glyph.my/gx-cmp-006

## GX-CMP-007

**Companion resolver timed out**

- **What happened:** A Companion resolve or import worker exceeded its execution timeout.
- **What you can do:** Try again in a moment and check Companion CPU/network load.
- **When to open an issue:** Open an issue if timeouts happen on an idle Companion instance.
- **Direct link:** https://errors.glyph.my/gx-cmp-007

## GX-CMP-008

**Companion request invalid**

- **What happened:** An internal Companion endpoint received invalid parameters or an unsupported HTTP method.
- **What you can do:** Make sure Glyph server and Companion are running compatible versions.
- **When to open an issue:** Open an issue if both server and Companion are on the latest release.
- **Direct link:** https://errors.glyph.my/gx-cmp-008
