JeffreyCA / spleeter-web

Self-hostable web app for isolating the vocal, accompaniment, bass, and drums of any song. Supports Spleeter, D3Net, Demucs, Tasnet, X-UMX. Built with React and Django.
https://jeffreyca.github.io/spleeter-web/
MIT License
441 stars 78 forks source link

Unable to Export Audio #1333

Open F1zzyD opened 1 day ago

F1zzyD commented 1 day ago

After successfully uploading and mixing an audio file, Spleeter Web refuses to export the audio, claiming: "SharedArrayBuffer is not defined. Check ENABLE_CROSS_ORIGIN_HEADERS=1 is set and HTTPS is enabled.

I have ENABLE_CROSS_ORIGIN_HEADERS=1 set in docker-compose.yml and docker-compose.gpu.yml. I also have ENABLE_HTTPS=1 in docker-compose.https.yml and set CERTBOT_DOMAIN=https://spleeter.domain.cc. I have also removed "https://" and the result is still the same.

There are no errors in the logs.

JeffreyCA commented 1 day ago

What browser are you using?

If you open the dev tools and go to networking, are the Cross-Origin-Embedder-Policy and Cross-Origin-Opener-Policy response headers being set?

Screenshot 2024-12-01 at 4 18 30 PM
JeffreyCA commented 1 day ago

Also did you set the CERTBOT_EMAIL variable?

To enable HTTPS, set both CERTBOT_DOMAIN and CERTBOT_EMAIL to your domain name and CERTBOT_EMAIL to your email in .env and include -f docker-compose.https.yml in your docker-compose up command.

F1zzyD commented 11 hours ago

Never mind, I just restarted my server and now the export button is there.... weird....