Some years ago, I hosted my own matrix server for a few months. I’m an experienced self-hoster, but I remeber that Matrix was paticularly hard to host, requiring weird proxy rules, DNS adjustments, federation never worked reliably and push notifications never worked at all. I ditched the project soon because I also had no real use for it. However, I recently had some ideas where a Matrix server would be useful again. Has anyone attempted to install it recently and can tell me whether the situation has improved? Also, which server do you recommend? There still is synapse but I found it paticularly complicated to host. Dendrite is now archived and the current fork seems to be tuwunel which doesn’t seem to be under very active development.

  • PetteriPano@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    8 days ago

    I set it up during the outage last week.

    Easy enough to just pull in the synapse docker container and run it on my home server. I wireguard it to my VPS that acts as a reverse proxy.

    Both federation and push notifications work.

  • drkt@scribe.disroot.org
    link
    fedilink
    English
    arrow-up
    43
    arrow-down
    13
    ·
    8 days ago

    It’s still bad, and the foundation keeps digging itself into a deeper and deeper hole. Dead project.

    • Black616Angel@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      3
      ·
      7 days ago

      Absolutely unbased take. Please ignore.

      Matrix works fine, I have hosted a server on my own for several years through an ansible playbook here.

  • Lucy :3@feddit.org
    link
    fedilink
    English
    arrow-up
    7
    ·
    8 days ago

    Tbh I had no issues with synapse.

    The problems that persist: Very rare issues with decrypting (as I rarely encounter it, while being in encrypted chats with 150+ users, it’s not an issue for me), apart from after you changed clients, slow image loading (a bit annoying, but ok if you multitask anyway) and clients all having different feature sets (some of which you can also hackily make work in others).

  • Lena@gregtech.eu
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 days ago

    Matrix works perfectly for me, if you’re setting up a new server, I’d go with tuwunel. I’m stuck on synapse, when the tuwunel team makes a way to migrate, I’ll do it.

  • downhomechunk@midwest.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 days ago

    I’ve been wanting to get matrix up for my family and friends to chat with my 6 year old on her tablet. I found nextcloud talk to do all the things I wanted with none of the hassle. My daughter is a ridiculous texter.

    • Suzune@ani.social
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      7 days ago

      This is quite annoying. When will devs learn to tell people to resolve the problem instead of just showing a pointless error messages?

      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        5
        ·
        7 days ago

        afaik those errors can’t really be solved by users. I mean other than using an up to date client and server.

        • Suzune@ani.social
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          7 days ago

          If users cannot do anything because all encryption keys are lost, then they need to know that and also how to avoid the situation in the future.

          I think it’s not a bug. It’s simply no one online who can share a decryption key.

          • Jade@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 days ago

            Matrix encryption keys don’t need other people online - they get queued up as messages for each device you have.

              • Jade@programming.dev
                link
                fedilink
                English
                arrow-up
                2
                ·
                18 hours ago

                That page seemed outdated, but: From further down that page:

                The recommended strategy is to share the keys automatically only to verified devices of the same user

                This is the same situation where the key backup is accessible - which is not described on that page, but it’s a key store of all the megolm keys. This is what is now generally used instead of that as it doesn’t require devices to be online and allows recovering keys if all devices are lost.

          • WhyJiffie@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 days ago

            its often a bug, because the clients who have the keys don’t know they should retry sending.

            but also it’s all been fixed a year ago as I know. I don’t usually use dm rooms and public ones are not encrypted, so I wouldn’t know if I didn’t read about it.

    • Jade@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 days ago

      I’ve only seen this message in the last months where different servers are having network issues and can’t talk

      • hard_zero1@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 days ago

        I’ve last seen it last month. And I have an old chat, where FluffyChat and (“old”) Element show all messages by now, but Element X can’t decrypt many and both Elements report that they can’t guarantee the authenticity of many messages (even my own). For a long time, my chat partner could only read messages I sent via FluffyChat but not those sent by Element. I have not checked if that is still the case.

        • oranki@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 days ago

          Some months ago, I had UTD issues with Element X too. My hs has been up for some years, and the devs claimed they had done a lot to fix UTDs.

          I was about to bring the server down, but as a last resort decided to log out all but one Element web session which was able to decrypt the messages and try resetting the key backup. Haven’t had any UTD issues since then.

          Maybe worth a try.

        • Jade@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 days ago

          “can’t guarantee the authenticity of this message” just means it was restored from backup. In the same vein, if you can decrypt a message in any client, it should upload the keys to the message backup so it can be decrypted on other clients, even ones that haven’t logged in.

  • Samsy@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 days ago

    I use conduit. And really happy with it. Since I use 3 bridges the compose.yml is a mess. It works really nice. The sliding feature boosts all media files. But there is always something broken or misconfigured. Actually my WhatsApp bridge blocks all mediafiles and I was too busy to fix it already.

  • jevans ⁂@lemmy.ml
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    8 days ago

    It’s been a solid tool for hosting just for myself to bridge all the different platforms/protocols that people want to talk to me using, but there is no way I would recommend it to anyone else. I don’t know if it will ever get to a point where it works well enough for me to recommend. If you do want to host a server though, I strongly recommend matrix docker ansible deploy to do so.

    • pedroapero@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      7 days ago

      Agree, AFAIC it’s only good at bridging protocols. Most likely an ecosystem advantage more than a protocol one.

  • XLE@piefed.social
    link
    fedilink
    English
    arrow-up
    15
    ·
    8 days ago

    Way back in 2023, Matrix was the jack of all trades but the master of none. It wanted to replace Discord but the video messaging was not stable enough. It wanted to replace Slack but message searching didn’t really work. It was still struggling to get a decent client and server implementation, and message loading times were a huge pain point.

    Fast forward to today, most of the problems are still there. Give it a couple more years to cook.

  • cactus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    1
    ·
    8 days ago

    damn, was not expecting to see so much hate towards matrix.
    it sure was annoying to set up, but once I got it up the way I wanted, it kind of just worked from that moment on. I’ve had it for some 5 months now and it works as intended with no issues, aside from some small glitches here and there which get fixed very fast (on the mobile app).
    my use case was getting off Discord with a bunch of friends, so we needed a reliable way to have multiple chats, channels/rooms and good voice chat with screen sharing. element call does those well. my federation is of course also closed. for me e2ee is just a bonus
    I think that if that’s your use case, it’s good for that. synapse does seem a bit inefficient but I guess you can’t do much about it

    • superglue@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      18
      ·
      edit-2
      8 days ago

      My experience is the same as yours, but I think the people complaining are the ones who are federated and are in large communities. Matrix apparently doesnt handle large rooms very well.

      • cactus@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 days ago

        fair enough, that’s true. it was one of the reasons I turned off federation, even on a beefy server synapse still lagged and timed out when I would join medium sized rooms.

  • cecilkorik@lemmy.ca
    link
    fedilink
    English
    arrow-up
    28
    arrow-down
    2
    ·
    8 days ago

    IRC and XMPP are infinitely less painful, honestly, and both were designed around federation from the ground up, long before it was cool.

    • deadcade@lemmy.deadca.de
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 days ago

      IRC does not have any federation, and XMPP does it in a completely different way from Matrix that has unique pros and cons.

      IRC is designed for you to connect to a specific server, with an account on that server, to talk to other people on that server. There is no federation, you cannot talk to oftc from libera.chat. Alongside that, with mobile devices being so common, you’d need to get people to host their own bouncer, or host one for nearly everyone on your network.

      XMPP federation conceptually has one major difference compared to Matrix: XMPP rooms are owned by the server that created them, whereas Matrix rooms are equally “owned” by everyone participating in it, with the only deciding factor being which users have administrator permissions.

      This makes for better (and easier) scaling on XMPP, so rooms with 50k people isn’t that big of an issue for any users in that room. However, if the server owning the room goes down, the whole room is down, and nobody can chat. See Google Talk dropping XMPP federation after making a mess of most client and server implementations.

      On Matrix, scaling is a much bigger issue, as everyone connects with everyone else. Your single-person homeserver has to talk with every other homeserver you interact with. If you join a lot of big rooms, this adds up, and takes a lot of resources. However, when a homeserver goes down, only the people on that homeserver are affected, not the rooms. Just recently, matrix.org had some trouble with their database going down. Although it was a bit quieter than usual, I only properly noticed when it was explicitly mentioned in chat by someone else. My service was not interrupted, as I host my own homeserver.

      The Matrix method of federation definitely comes with some issues, some conceptually, and some from the implementation. However, a single entity cannot take down the federated Matrix network, even when taking down the most used homeservers. XMPP is effectively killed off by doing the same.

      • cecilkorik@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        6 days ago

        You’re absolutely incorrect about IRC. Would you like to learn? Open IRC federation is basically never used anymore and the few networks that exist are very stable (if not completely calcified), but it is a core feature of the design, and in the old days, massive interconnected networks of IRC servers like EFnet and Undernet spanned the globe, there were even some servers that allowed open federation (EFnet is actually named for it – eris-free-net referring to the last server “eris” that supported free federation), and at some points Netsplits were a frustratingly daily occurrence. Like with any federation, abuse is the reason we can’t really have nice things anymore, but IRC absolutely supports federation. Not very well from a modern standpoint since it didn’t really keep up with the abuse arms race, but when it was first conceived it was way ahead of its time.

  • verstra@programming.dev
    link
    fedilink
    English
    arrow-up
    9
    ·
    8 days ago

    My matrix server is nearing 5 years old. I have federation disabled, because I don’t need that - we are using it as a family chat. sqlite database I’m using is now 2GB, but other than that it is working great.

    I do acknowledge that I’m not leveraging the things matrix is designed for (federation, e2e encryption), but to be honest, it’s not really good at that.