gcrk The nerwork response for that message is:
{"non_field_errors": ["Unable to log in with provided credentials"]}
Is it possible that I messed up the database migration and that user isn't in my database now? Is there an easy way to check?
Edit, there is also this output from the api container:
front_1 | 172.18.0.5 - - [28/Jun/2023:07:41:34 +0000] "GET /api/v1/activity HTTP/1.1" 403 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" "82.19.72.223"
api_1 | [2023-06-28 07:41:34 +0000] [10] [INFO] connection closed
api_1 | [2023-06-28 07:41:34 +0000] [10] [ERROR] Exception in ASGI application
api_1 | Traceback (most recent call last):
api_1 | File "/venv/lib/python3.10/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 238, in run_asgi
api_1 | result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
api_1 | File "/venv/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
api_1 | return await self.app(scope, receive, send)
api_1 | File "/venv/lib/python3.10/site-packages/channels/routing.py", line 62, in __call__
api_1 | return await application(scope, receive, send)
api_1 | File "/venv/lib/python3.10/site-packages/channels/sessions.py", line 47, in __call__
api_1 | return await self.inner(dict(scope, cookies=cookies), receive, send)
api_1 | File "/venv/lib/python3.10/site-packages/channels/sessions.py", line 263, in __call__
api_1 | return await self.inner(wrapper.scope, receive, wrapper.send)
api_1 | File "/venv/lib/python3.10/site-packages/channels/auth.py", line 185, in __call__
api_1 | return await super().__call__(scope, receive, send)
api_1 | File "/venv/lib/python3.10/site-packages/channels/middleware.py", line 24, in __call__
api_1 | return await self.inner(scope, receive, send)
api_1 | File "/venv/lib/python3.10/site-packages/channels/routing.py", line 116, in __call__
api_1 | return await application(
api_1 | File "/venv/lib/python3.10/site-packages/channels/consumer.py", line 94, in app
api_1 | return await consumer(scope, receive, send)
api_1 | File "/venv/lib/python3.10/site-packages/channels/consumer.py", line 58, in __call__
api_1 | await await_many_dispatch(
api_1 | File "/venv/lib/python3.10/site-packages/channels/utils.py", line 50, in await_many_dispatch
api_1 | await dispatch(result)
api_1 | File "/venv/lib/python3.10/site-packages/asgiref/sync.py", line 435, in __call__
api_1 | ret = await asyncio.wait_for(future, timeout=None)
api_1 | File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
api_1 | return await fut
api_1 | File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
api_1 | result = self.fn(*self.args, **self.kwargs)
api_1 | File "/venv/lib/python3.10/site-packages/channels/db.py", line 13, in thread_handler
api_1 | return super().thread_handler(loop, *args, **kwargs)
api_1 | File "/venv/lib/python3.10/site-packages/asgiref/sync.py", line 476, in thread_handler
api_1 | return func(*args, **kwargs)
api_1 | File "/venv/lib/python3.10/site-packages/channels/consumer.py", line 125, in dispatch
api_1 | handler(message)
api_1 | File "/venv/lib/python3.10/site-packages/channels/generic/websocket.py", line 105, in websocket_disconnect
api_1 | self.disconnect(message["code"])
api_1 | File "/app/funkwhale_api/common/consumers.py", line 22, in disconnect
api_1 | groups = self.scope["user"].get_channels_groups() + self.groups
api_1 | File "/venv/lib/python3.10/site-packages/django/utils/functional.py", line 247, in inner
api_1 | return func(self._wrapped, *args)
api_1 | AttributeError: 'AnonymousUser' object has no attribute 'get_channels_groups'