Skip to content

403 Error when building with docker-compose.dev.yml (ghcr.io/fishaudio/fish-speech:dev is inaccessible) #963

Open
@orionp13

Description

@orionp13

Hello,

I'm encountering a blocking error when trying to build the project locally using docker-compose.dev.yml.

🐛 Problem

When running the following command:

docker compose -f docker-compose.dev.yml build

The build fails with this error:

failed to resolve source metadata for ghcr.io/fishaudio/fish-speech:dev: 
failed to authorize: failed to fetch anonymous token: 
unexpected status from GET request to https://ghcr.io/token?scope=repository%3Afishaudio%2Ffish-speech%3Apull&service=ghcr.io: 403 Forbidden

This seems to indicate that the image ghcr.io/fishaudio/fish-speech:dev is private or requires authentication.


📋 System Info

  • OS: Windows 11 + WSL2 (or Docker Desktop)
  • Docker: up to date
  • Repo version: latest (main branch as of May 2, 2025)

🙏 Request

Could you please:

  • Confirm if the image is private by design?
  • Consider making it public or providing an alternative for local development?
  • Or suggest how to build the full image without depending on ghcr.io?

Thanks in advance for your help and great work on this project!

Cloud or Self Hosted

Self Hosted (Docker)

Environment Details

PS C:\Users*\Logiciels\n8n-docker\n8n-tts\FishSpeech> git clone https://github.com/fishaudio/fish-speech.git
Cloning into 'fish-speech'...
remote: Enumerating objects: 5557, done.
remote: Counting objects: 100% (1583/1583), done.
remote: Compressing objects: 100% (347/347), done.
remote: Total 5557 (delta 1336), reused 1236 (delta 1236), pack-reused 3974 (from 4)
Receiving objects: 100% (5557/5557), 18.62 MiB | 36.12 MiB/s, done.
Resolving deltas: 100% (3673/3673), done.
PS C:\Users*
\Logiciels\n8n-docker\n8n-tts\FishSpeech> cd fish-speech
PS C:\Users*\Logiciels\n8n-docker\n8n-tts\FishSpeech\fish-speech> docker compose -f docker-compose.dev.yml build
time="2025-05-02T23:02:54+02:00" level=warning msg="C:\Users\
*\Logiciels\n8n-docker\n8n-tts\FishSpeech\fish-speech\docker-compose.dev.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion"
Compose can now delegate builds to bake for better performance.
To do so, set COMPOSE_BAKE=true.
[+] Building 4.1s (1/2) docker:desktop-linux
=> [fish-speech internal] load build definition from dockerfile.dev 0.1s
[+] Building 4.3s (1/2) docker:desktop-linux
=> [fish-speech internal] load build definition from dockerfile.dev 0.1s
[+] Building 4.4s (1/2) docker:desktop-linux
=> [fish-speech internal] load build definition from dockerfile.dev 0.1s
[+] Building 22.0s (2/2) FINISHED docker:desktop-linux
=> [fish-speech internal] load build definition from dockerfile.dev 0.1s
=> => transferring dockerfile: 1.15kB 0.0s
=> ERROR [fish-speech internal] load metadata for ghcr.io/fishaudio/fish-speech:dev 21.8s

[fish-speech internal] load metadata for ghcr.io/fishaudio/fish-speech:dev:


failed to solve: ghcr.io/fishaudio/fish-speech:dev: failed to resolve source metadata for ghcr.io/fishaudio/fish-speech:dev: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://ghcr.io/token?scope=repository%3Afishaudio%2Ffish-speech%3Apull&service=ghcr.io: 403 Forbidden

Steps to Reproduce

PS C:\Users*\Logiciels\n8n-docker\n8n-tts\FishSpeech> git clone https://github.com/fishaudio/fish-speech.git
Cloning into 'fish-speech'...
remote: Enumerating objects: 5557, done.
remote: Counting objects: 100% (1583/1583), done.
remote: Compressing objects: 100% (347/347), done.
remote: Total 5557 (delta 1336), reused 1236 (delta 1236), pack-reused 3974 (from 4)
Receiving objects: 100% (5557/5557), 18.62 MiB | 36.12 MiB/s, done.
Resolving deltas: 100% (3673/3673), done.
PS C:\Users*
\Logiciels\n8n-docker\n8n-tts\FishSpeech> cd fish-speech
PS C:\Users*\Logiciels\n8n-docker\n8n-tts\FishSpeech\fish-speech> docker compose -f docker-compose.dev.yml build
time="2025-05-02T23:02:54+02:00" level=warning msg="C:\Users\
*\Logiciels\n8n-docker\n8n-tts\FishSpeech\fish-speech\docker-compose.dev.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion"
Compose can now delegate builds to bake for better performance.
To do so, set COMPOSE_BAKE=true.
[+] Building 4.1s (1/2) docker:desktop-linux
=> [fish-speech internal] load build definition from dockerfile.dev 0.1s
[+] Building 4.3s (1/2) docker:desktop-linux
=> [fish-speech internal] load build definition from dockerfile.dev 0.1s
[+] Building 4.4s (1/2) docker:desktop-linux
=> [fish-speech internal] load build definition from dockerfile.dev 0.1s
[+] Building 22.0s (2/2) FINISHED docker:desktop-linux
=> [fish-speech internal] load build definition from dockerfile.dev 0.1s
=> => transferring dockerfile: 1.15kB 0.0s
=> ERROR [fish-speech internal] load metadata for ghcr.io/fishaudio/fish-speech:dev 21.8s

[fish-speech internal] load metadata for ghcr.io/fishaudio/fish-speech:dev:


failed to solve: ghcr.io/fishaudio/fish-speech:dev: failed to resolve source metadata for ghcr.io/fishaudio/fish-speech:dev: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://ghcr.io/token?scope=repository%3Afishaudio%2Ffish-speech%3Apull&service=ghcr.io: 403 Forbidden

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions