Skip to content

voice clone: "Network: Error attempting to fetch resource." #459

@fanyangto

Description

@fanyangto

Amazing tool and design!

I am running the docker image. When I use the voice clone page, I select the mp3 file, provide the transcribe text, name it, and click Create Profile, an error pops up (red in page pop up: Network: Error attempting to fetch resource.

No problem when I use the desktop app, I can upload the same mp3 and create the voice profile successfully.

I have tried to enable debug log and hasn't been successful.

Any suggestions ?

This is the docker start up log to show the version:

I noticed this line is wrong. Despite I have updated the docker compose file, this path printed doesn't seem to change.
It's supposed to be /home//.cache/huggingface for me. I later find this is controlled by an environment variable.
I did that. Had permission issues. To avoid struggling with it irrelevant issues, I did "sudo docker compose up". It starts up correctly without permission issues. But the error of "network: error attempt to fetch resource" persisted.

voicebox | INFO: Model cache: /home/voicebox/.cache/huggingface/hub

[+] up 2/2 ✔ Network voicebox_voicebox-net Created 0.0s ✔ Container voicebox Created 0.1s Attaching to voicebox voicebox | INFO: Frontend: serving SPA from /app/frontend voicebox | INFO: Started server process [1] voicebox | INFO: Waiting for application startup. voicebox | INFO: Voicebox v0.4.0 starting up voicebox | INFO: Python 3.11.15 on Linux 6.17.0-22-generic (x86_64) voicebox | INFO: Database: /app/data/voicebox.db voicebox | INFO: Data directory: /app/data voicebox | INFO: Profiles: 0, Generations: 0 voicebox | INFO: Backend: PYTORCH voicebox | INFO: GPU: None (CPU only) voicebox | INFO: Model cache: /home/voicebox/.cache/huggingface/hub voicebox | INFO: Ready voicebox | INFO: Application startup complete. voicebox | INFO: Uvicorn running on http://0.0.0.0:17493 (Press CTRL+C to quit) voicebox | INFO: 127.0.0.1:53870 - "GET /health HTTP/1.1" 200 OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions