Skip to content

Can't load Dynamic Mix when i use https domain to access! #1091

Description

@piwawa

No matter how long I wait, it remains in the loading state. If i use 127.0.0.1:48000 to access, it will load quickly.

image

Meanwhile, none of the 3 processes showed any errors:
fast worker:

- *** --- * --- .> concurrency: 3 (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** ----- 
 -------------- [queues]
                .> fast_queue       exchange=fast_queue(direct) key=fast_queue
                

[tasks]
  . api.celery.debug_task
  . api.tasks.create_dynamic_mix
  . api.tasks.create_static_mix
  . api.tasks.fetch_youtube_audio

[2024-05-14 16:22:01,050: WARNING/MainProcess] /home/bingo06/AIGC/spleeter-web/env/lib/python3.9/site-packages/celery/worker/consumer/consumer.py:507: CPendingDeprecationWarning: The broker_connection_retry configuration setting will no longer determine
whether broker connection retries are made during startup in Celery 6.0 and above.
If you wish to retain the existing behavior for retrying connections on startup,
you should set broker_connection_retry_on_startup to True.
  warnings.warn(

[2024-05-14 16:22:01,056: INFO/MainProcess] Connected to redis://localhost:6379/0
[2024-05-14 16:22:01,056: WARNING/MainProcess] /home/bingo06/AIGC/spleeter-web/env/lib/python3.9/site-packages/celery/worker/consumer/consumer.py:507: CPendingDeprecationWarning: The broker_connection_retry configuration setting will no longer determine
whether broker connection retries are made during startup in Celery 6.0 and above.
If you wish to retain the existing behavior for retrying connections on startup,
you should set broker_connection_retry_on_startup to True.
  warnings.warn(

[2024-05-14 16:22:01,059: INFO/MainProcess] mingle: searching for neighbors
[2024-05-14 16:22:02,066: INFO/MainProcess] mingle: all alone
[2024-05-14 16:22:02,083: INFO/MainProcess] celery@zernithos ready.

slow worker:

- *** --- * --- .> concurrency: 3 (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** ----- 
 -------------- [queues]
                .> slow_queue       exchange=slow_queue(direct) key=slow_queue
                

[tasks]
  . api.celery.debug_task
  . api.tasks.create_dynamic_mix
  . api.tasks.create_static_mix
  . api.tasks.fetch_youtube_audio

[2024-05-14 16:22:01,070: WARNING/MainProcess] /home/bingo06/AIGC/spleeter-web/env/lib/python3.9/site-packages/celery/worker/consumer/consumer.py:507: CPendingDeprecationWarning: The broker_connection_retry configuration setting will no longer determine
whether broker connection retries are made during startup in Celery 6.0 and above.
If you wish to retain the existing behavior for retrying connections on startup,
you should set broker_connection_retry_on_startup to True.
  warnings.warn(

[2024-05-14 16:22:01,076: INFO/MainProcess] Connected to redis://localhost:6379/0
[2024-05-14 16:22:01,076: WARNING/MainProcess] /home/bingo06/AIGC/spleeter-web/env/lib/python3.9/site-packages/celery/worker/consumer/consumer.py:507: CPendingDeprecationWarning: The broker_connection_retry configuration setting will no longer determine
whether broker connection retries are made during startup in Celery 6.0 and above.
If you wish to retain the existing behavior for retrying connections on startup,
you should set broker_connection_retry_on_startup to True.
  warnings.warn(

[2024-05-14 16:22:01,077: INFO/MainProcess] mingle: searching for neighbors
[2024-05-14 16:22:02,083: INFO/MainProcess] mingle: all alone
[2024-05-14 16:22:02,097: INFO/MainProcess] celery@zernithos ready.

Spleeter Web:

Django version 4.2.11, using settings 'django_react.settings'
Starting development server at http://0.0.0.0:48000/
Quit the server with CONTROL-C.

[14/May/2024 16:22:28] "GET / HTTP/1.1" 200 519
[14/May/2024 16:22:30] "GET /api/source-track/ HTTP/1.1" 200 16153
[14/May/2024 16:22:35] "GET /media/uploads/730e0fd2-82e9-4907-8103-f14daa82497c/%E5%91%A8%E6%9D%B0%E5%80%AB%20Jay%20Chou%E6%93%B1%E6%B7%BA%20Step%20Aside%20-%20%E6%90%81%E6%B5%85.webm HTTP/1.1" 200 4477711
[14/May/2024 16:22:41] "GET /api/source-track/ HTTP/1.1" 200 16153
[14/May/2024 16:22:46] "GET /media/uploads/72239f71-f702-4951-9bec-169a1df905af/LeLe%20Farley%20feat.%20DeDe%20Harlan%20-%20Earths%20Afterparty.webm HTTP/1.1" 200 3274782
[14/May/2024 16:22:52] "GET /api/source-track/ HTTP/1.1" 200 16153
[14/May/2024 16:22:52] "GET /mixer/aae0016e-71d3-40fd-a02c-18e69818da99/ HTTP/1.1" 200 519
[14/May/2024 16:22:54] "GET /api/mix/dynamic/aae0016e-71d3-40fd-a02c-18e69818da99/ HTTP/1.1" 200 1415

BTW, I have set this ENABLE_CROSS_ORIGIN_HEADERS=1 in the .env.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions