!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

134 Members
Coordination and discussion about the matrix subsystem in NixOS - https://nixos.wiki/wiki/Matrix66 Servers

Load older messages


SenderMessageTime
7 Feb 2022
@dandellion:dodsorf.asDandellionI'll clean it up and post the module in a proper repo20:40:42
@hexa:lossy.networkhexaand let our shitty configs inspire you20:40:45
@fadenb:utzutzutz.netfadenb😆20:40:54
@fadenb:utzutzutz.netfadenbMy day started with half a country without power including our DC. Not sure whether I have the energy today to experiment ^^20:41:26
@hexa:lossy.networkhexa
In reply to @dandellion:dodsorf.as
I'll clean it up and post the module in a proper repo
let signing_key default to homeserver.signing.key and media_store_path to media instead of media_store
20:41:27
@dandellion:dodsorf.asDandellionsounds reasonable20:41:40
@hexa:lossy.networkhexathat were my main pain points with the state migration20:41:50
@hexa:lossy.networkhexa
In reply to @fadenb:utzutzutz.net
My day started with half a country without power including our DC.
Not sure whether I have the energy today to experiment ^^
rough, in DE?
20:42:58
@fadenb:utzutzutz.netfadenbIceland20:43:08
@fadenb:utzutzutz.netfadenbhttps://www.landsnet.is/flutningskerfid/kerfisstjornun/tilkynningar-fra-stjornstod/20:43:25
@dandellion:dodsorf.asDandellionicelandic is always so crazy when I see it. I'm norwegian so it's just similar enough that you think you recognize words and yet different enough for it to be impossible to actually read anything20:44:55
@dandellion:dodsorf.asDandellionI've always wondered: Can icelanders read færøysk?20:45:58
@hexa:lossy.networkhexafærøysk … nice I can compose-key that 😀20:46:44
@fadenb:utzutzutz.netfadenbI am just happy that I understand Bavarian by now as I live in Munich ;)20:47:05
@hexa:lossy.networkhexaso, the silly idea wrt workers is … tell me how many workers of what kind you want, they'll be bound to localhost, ports need to be enumerated, drop them into nginx upstreams server option, if a certain worker upstream has at least one server start proxying the location20:51:15
@hexa:lossy.networkhexaalso enable redis if any worker count > 020:51:23
@dandellion:dodsorf.asDandellion yeah, there's a lot of things that can be done to make it much better 20:52:16
@hexa:lossy.networkhexa ok, so I think my primary issues are with client workers, proxying /_matrix/client/ 20:55:30
@hexa:lossy.networkhexa
In reply to @hexa:lossy.network

it also intermittently errors out on PUT requests

Traceback (most recent call last):
  File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/http/server.py", line 269, in _async_render_wrapper
    callback_return = await self._async_render(request)
  File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/http/server.py", line 471, in _async_render
    callback_return = await raw_callback_return
  File "/nix/store/bm9ravdndw17dzdy963a164sgnhwzqy4-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 1661, in _inlineCallbacks
    result = current_context.run(gen.send, result)
  File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/rest/client/sendtodevice.py", line 64, in _put
    await self.device_message_handler.send_device_message(
  File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/handlers/devicemessage.py", line 281, in send_device_message
    last_stream_id = await self.store.add_messages_to_device_inbox(
  File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/storage/databases/main/deviceinbox.py", line 421, in add_messages_to_device_inbox
    assert self._can_write_to_device
AssertionError
running into these
20:55:45
@janne.hess:helsinki-systems.deJanne Heß joined the room.20:56:44
@janne.hess:helsinki-systems.deJanne Heß invited @mic92:nixos.dev@mic92:nixos.dev.20:57:03
@mic92:nixos.dev@mic92:nixos.dev joined the room.20:57:13
@hexa:lossy.networkhexa Dandellion, Sumner Evans TIL: https://gist.github.com/artizirk/e1793e28da16a48b41672d126b44e7a6 21:18:04
@hexa:lossy.networkhexathat map is just what we need21:18:25
@hexa:lossy.networkhexa * that map is just what we need to manage this in a sane way21:18:30
@mic92:nixos.dev@mic92:nixos.dev left the room.21:18:51
@linus.heckemann:matrix.mayflower.de@linus.heckemann:matrix.mayflower.de
In reply to @fadenb:utzutzutz.net
I am just happy that I understand Bavarian by now as I live in Munich ;)
all Bavarian or just Munich Bavarian? :p
21:22:53
@linus.heckemann:matrix.mayflower.de@linus.heckemann:matrix.mayflower.debecause I find it hard to believe that I will ever understand all Bavarian. But maybe there's hope>?21:23:25
@linus.heckemann:matrix.mayflower.de@linus.heckemann:matrix.mayflower.de * because I find it hard to believe that I will ever understand all Bavarian. But maybe there's hope?21:23:26
@andreas.schraegle:helsinki-systems.de@andreas.schraegle:helsinki-systems.de
In reply to @hexa:lossy.network
that map is just what we need to manage this in a sane way
I'm not sure I'd call a 60 line map sane. hm. this looks like it needs some more regex to compress it.
thereby probably making it even less sane.
21:27:46

Show newer messages


Back to Room ListRoom Version: 4