!SwDTmjceJHHroSEIPP:matrix.org

funkwhale

620 Members
Welcome! In this room, you can have general discussions about the project. Use #funkwhale-troubleshooting:matrix.org to report issues or get technical help, and join interesting discussions on our forum at https://governance.funkwhale.audio/g/kQgxNq15/funkwhale Code of conduct (mandatory read): https://funkwhale.audio/code-of-conduct/179 Servers

Load older messages


SenderMessageTime
17 Apr 2021
@augierle42e:matrix.orgAugier

This time I have manually started my docker containers to get all the errors in the terminal. And the only thing I have is a stacktrace related to websockets:

Traceback (most recent call last):
funkwhale       |   File "/venv/lib/python3.7/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 154, in run_asgi
funkwhale       |     result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
funkwhale       |   File "/venv/lib/python3.7/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
funkwhale       |     return await self.app(scope, receive, send)
funkwhale       |   File "/venv/lib/python3.7/site-packages/uvicorn/middleware/asgi2.py", line 7, in __call__
funkwhale       |     await instance(receive, send)
funkwhale       |   File "/venv/lib/python3.7/site-packages/channels/sessions.py", line 183, in __call__
funkwhale       |     return await self.inner(receive, self.send)
funkwhale       |   File "/venv/lib/python3.7/site-packages/channels/middleware.py", line 41, in coroutine_call
funkwhale       |     await inner_instance(receive, send)
funkwhale       |   File "/venv/lib/python3.7/site-packages/channels/consumer.py", line 59, in __call__
funkwhale       |     [receive, self.channel_receive], self.dispatch
funkwhale       |   File "/venv/lib/python3.7/site-packages/channels/utils.py", line 58, in await_many_dispatch
funkwhale       |     await task
funkwhale       |   File "/venv/lib/python3.7/site-packages/channels/utils.py", line 50, in await_many_dispatch
funkwhale       |     result = task.result()
funkwhale       |   File "/venv/lib/python3.7/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 240, in asgi_receive
funkwhale       |     data = await self.recv()
funkwhale       |   File "/venv/lib/python3.7/site-packages/websockets/protocol.py", line 495, in recv
funkwhale       |     return_when=asyncio.FIRST_COMPLETED,
funkwhale       |   File "/usr/lib/python3.7/asyncio/tasks.py", line 387, in wait
funkwhale       |     fs = {ensure_future(f, loop=loop) for f in set(fs)}
funkwhale       |   File "/usr/lib/python3.7/asyncio/tasks.py", line 387, in <setcomp>
funkwhale       |     fs = {ensure_future(f, loop=loop) for f in set(fs)}
funkwhale       |   File "/usr/lib/python3.7/asyncio/tasks.py", line 619, in ensure_future
funkwhale       |     raise TypeError('An asyncio.Future, a coroutine or an awaitable is '
funkwhale       | TypeError: An asyncio.Future, a coroutine or an awaitable is required
14:50:54
@neobrain:matrix.orgneobrainDo flac files play back fine for you on existing instances like https://open.audio/ ?15:29:36
@neobrain:matrix.orgneobrain(I don't know any examples that are uploaded as flac, but you could just upload your own for testing [should keep copyright in mind ofc])15:30:17
@neobrain:matrix.orgneobrainhttps://tanukitunes.com/library/tracks/81815/ <- this one has a testing flac15:33:48
@augierle42e:matrix.orgAugierIt work! 🎉15:43:52
@augierle42e:matrix.orgAugierThe problem was... Me not reading the documentation carefully enough...15:44:13
@augierle42e:matrix.orgAugier I forgot mod_xsendfile part. 15:45:48
@augierle42e:matrix.orgAugier BTW, that module seem to be deprecated. Why keep using it? From what I've found, Apache 2.4 has a EnableSendfile directive. Can't that work? 15:46:04
@augierle42e:matrix.orgAugierI still have a small problem. When I try to subscribe to an object on the federation, I always get a timeout. But no error in the JS console or in Docker's logs.15:53:09
@gcrkrause:ag-link.xyzgcrkrause
In reply to @augierle42e:matrix.org
BTW, that module seem to be deprecated. Why keep using it? From what I've found, Apache 2.4 has a EnableSendfile directive. Can't that work?
I'd suggest to test it and tell us :) Any contribution to our configurations and documentation is very welcome!
16:56:35
@gcrkrause:ag-link.xyzgcrkrause
In reply to @augierle42e:matrix.org
I still have a small problem. When I try to subscribe to an object on the federation, I always get a timeout. But no error in the JS console or in Docker's logs.
I am already dreaming of this issue :D
16:57:00
@gcrkrause:ag-link.xyzgcrkrausehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/issues/130316:57:25
@gcrkrause:ag-link.xyzgcrkrauseand https://dev.funkwhale.audio/funkwhale/funkwhale/-/issues/141716:57:37
@gcrkrause:ag-link.xyzgcrkrausetldr: If you haven't already, increase FUNKWHALE_WEB_WORKERS to improve the situation, but there is no easy way to fix that16:57:55
@gcrkrause:ag-link.xyzgcrkrause* tldr: If you haven't already, increase FUNKWHALE_WEB_WORKERS to improve the situation, but there is no easy way to fix that16:58:14
@augierle42e:matrix.orgAugier gcrkrause: I was hopping for someone with more experience than me to dig into it 😅
Ok, I'll take a look.
16:58:21
@augierle42e:matrix.orgAugier
In reply to @gcrkrause:ag-link.xyz
tldr: If you haven't already, increase FUNKWHALE_WEB_WORKERS to improve the situation, but there is no easy way to fix that
Ok. I currently only have one. What should be a correct number? A multiple of my CPU cores?
16:59:36
@gcrkrause:ag-link.xyzgcrkrause
In reply to @augierle42e:matrix.org
gcrkrause: I was hopping for someone with more experience than me to dig into it 😅
Ok, I'll take a look.
in this case you should open an ticket on Gitlab, but chance is small someone picks it up, since apache is not that common in our community as far as I can tell
17:00:05
@gcrkrause:ag-link.xyzgcrkrause and experience is something which grows when trying to solve problems. If you have any specific questions, we there to help you at #funkwhale-dev:matrix.org :) 17:01:09
@augierle42e:matrix.orgAugier Unhopefully, increasing FUNKWHALE_WEB_WORKERS doesn't seem to solve the situation. Even up to 16. 17:25:34
@augierle42e:matrix.orgAugier Oh, last question: how is the import_files Django command with --watch option supposed to be launched? Bacause it doesn't immediatly return. It just hangs. So the only clean solution seem to be lauching it in a tmux or screen. 17:27:59
@gcrkrause:ag-link.xyzgcrkrauseor as a service, yes17:32:33
@augierle42e:matrix.orgAugierAh yes. As a service indeed. 18:12:47
@augierle42e:matrix.orgAugierWell thank you for all the help. And sorry for making so much noise these last 24h.18:13:28
@gcrkrause:ag-link.xyzgcrkrauseyou are welcome! Don't be sorry, these channels are there for helping each other. Nice to have you!18:43:27
18 Apr 2021
@augierle42e:matrix.orgAugier left the room.08:51:01
19 Apr 2021
@wryk:matrix.orgmilia changed their profile picture.08:27:59
@ginnymcqueen:matrix.orgGinny McQueen (she/her) left the room.17:48:55
@transanarca:matrix.orgtransanarca joined the room.19:31:35
@therealdannyboy:matrix.orgDaniel changed their profile picture.20:34:09

There are no newer messages yet.


Back to Room List