Subscribing to Channel leads to empty track list and errors
Steps to reproduce
- Choose a channel on open.audio.
- Subscribe it on your own pod.
- Open Channels and choose the newly added.
- Check the track list.
What happens?
I can subscribe and find the channel in my channel list. But I receive an empty track list while the channel has 42 tracks at open.audio.
What is expected?
I guess I should be able to subscribe to the Channel and listen to it from my own pod?
Context
Funkwhale version(s) affected: 1.2.2
log throws:
api_1 | /venv/lib/python3.8/site-packages/dynamic_preferences/registries.py:136: UserWarning: Creating a fallback preference with section "raven" and name "front_dsn".This means you have preferences in your database that don't match any registered preference. If you want to delete these entries, please refer to the documentation: https://django-dynamic-preferences.readthedocs.io/en/latest/lifecycle.html
api_1 | warnings.warn(message.format(section_name, pref_name))
api_1 | /venv/lib/python3.8/site-packages/rest_framework/pagination.py:200: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'funkwhale_api.playlists.models.Playlist'> PlaylistQuerySet.
api_1 | 2022-02-18 23:12:42,468 django.request WARNING Method Not Allowed: /api/v1/users/homer77/subsonic-token/
api_1 | /venv/lib/python3.8/site-packages/dynamic_preferences/registries.py:136: UserWarning: Creating a fallback preference with section "raven" and name "front_dsn".This means you have preferences in your database that don't match any registered preference. If you want to delete these entries, please refer to the documentation: https://django-dynamic-preferences.readthedocs.io/en/latest/lifecycle.html
api_1 | warnings.warn(message.format(section_name, pref_name))
api_1 | /venv/lib/python3.8/site-packages/rest_framework/pagination.py:200: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'funkwhale_api.music.models.Library'> LibraryQuerySet.
api_1 | paginator = self.django_paginator_class(queryset, page_size)
api_1 | 2022-02-18 23:14:31,341 django.request ERROR Internal Server Error: /api/v1/federation/fetches/
api_1 | File "/app/funkwhale_api/federation/tasks.py", line 331, in fetch
api_1 | webfinger_data = webfinger.get_resource(
api_1 | response.raise_for_status()
api_1 | File "/venv/lib/python3.8/site-packages/requests/models.py", line 953, in raise_for_status
api_1 | raise HTTPError(http_error_msg, response=self)
api_1 | requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://open.audio/.well-known/webfinger?resource=acct:goosen@open.audio
api_1 |
api_1 | File "/app/funkwhale_api/taskapp/celery.py", line 57, in inner
api_1 | return function(*args, **kwargs)
api_1 | File "/app/funkwhale_api/federation/tasks.py", line 349, in fetch
api_1 | message=response.text,
api_1 | 2022-02-18 23:14:37,874 django.request WARNING Not Found: /.well-known/host-meta
api_1 | 2022-02-18 23:14:39,796 django.request ERROR Internal Server Error: /api/v1/federation/fetches/
api_1 | Traceback (most recent call last):
api_1 | File "/app/funkwhale_api/federation/tasks.py", line 331, in fetch
api_1 | webfinger_data = webfinger.get_resource(
api_1 | File "/app/funkwhale_api/federation/webfinger.py", line 45, in get_resource
api_1 | raise HTTPError(http_error_msg, response=self)
api_1 | requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://open.audio/.well-known/webfinger?resource=acct:goosen@open.audio
api_1 |
api_1 | During handling of the above exception, another exception occurred:
api_1 |
api_1 | Traceback (most recent call last):
api_1 | File "/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
api_1 | response = get_response(request)
api_1 | File "/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
api_1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
api_1 | File "/usr/lib/python3.8/contextlib.py", line 75, in inner
api_1 | return func(*args, **kwds)
api_1 | File "/venv/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
api_1 | return view_func(*args, **kwargs)
api_1 | File "/venv/lib/python3.8/site-packages/rest_framework/viewsets.py", line 125, in view
api_1 | return self.dispatch(request, *args, **kwargs)
api_1 | 2022-02-18 23:14:39,814 django.request ERROR Internal Server Error: /api/v1/federation/fetches/
api_1 | Traceback (most recent call last):
api_1 | /venv/lib/python3.8/site-packages/requests_http_signature/__init__.py:25: CryptographyDeprecationWarning: signer and verifier have been deprecated. Please use sign and verify instead.
api_1 | signer = key.signer(padding=self.PKCS1v15(), algorithm=hasher)
api_1 | 2022-02-18 23:15:06,396 funkwhale_api.federation.tasks ERROR Error while fetching actor outbox: https://open.audio/federation/actors/gossen_music/outbox
api_1 | File "/app/funkwhale_api/federation/tasks.py", line 427, in fetch
api_1 | result = fetch_collection(
api_1 | File "/venv/lib/python3.8/site-packages/celery/local.py", line 188, in __call__
api_1 | File "/app/funkwhale_api/federation/utils.py", line 97, in retrieve_ap_object
api_1 | response.raise_for_status()
api_1 | File "/venv/lib/python3.8/site-packages/requests/models.py", line 953, in raise_for_status
Does requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://open.audio/.well-known/webfinger?resource=acct:goosen@open.audio
mean that open.audio is configured incorrectly and so that's the reason why my pod can't federate properly with it? I mean, I run v1.2.2 and they run 1.1.4 ...