Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Matrix (Synapse/Element)
  3. Has anyone got the Element X App working with Cloudron Matrix?

Has anyone got the Element X App working with Cloudron Matrix?

Scheduled Pinned Locked Moved Matrix (Synapse/Element)
15 Posts 8 Posters 3.5k Views 11 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jdaviescoatesJ jdaviescoates

    I sounded like the Sliding Sync thing was included in the package a while ago, but the Element X phone app that takes advantage of it doesn't seem work with Matrix on Cloudron yet - unless that's just me?

    fbartelsF Offline
    fbartelsF Offline
    fbartels
    App Dev
    wrote on last edited by
    #6

    @jdaviescoates said in Has anyone got the Element X App working with Cloudron Matrix?:

    unless that's just me?

    I tried the element x app on ipad os and when selecting my Cloudron homeserver I am getting a message "Server not supported" and "The selected homeserver doens't support password or oidc login.". Also the QR code login is shown as "not supported" within Element. Is it that what you mean?

    jdaviescoatesJ 1 Reply Last reply
    3
    • fbartelsF fbartels

      @jdaviescoates said in Has anyone got the Element X App working with Cloudron Matrix?:

      unless that's just me?

      I tried the element x app on ipad os and when selecting my Cloudron homeserver I am getting a message "Server not supported" and "The selected homeserver doens't support password or oidc login.". Also the QR code login is shown as "not supported" within Element. Is it that what you mean?

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #7

      @fbartels from memory, yeah pretty much exactly something like that, yes

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by girish
        #8

        I went down this rabbit hole now to investigate. The docs are hard to understand on the status quo or even where matrix is going and nuggets of information is various GitHub issues. Anyways, a few hours later, the rough summary is this:

        • matrix synapse has built-in OIDC support. This built-in auth of synapse is now considered "legacy" auth. This legacy auth is only supported by the Element app.

        • matrix now has a new authentication spec. This is implemented in MAS - Matrix Authentication Service which has just 43 stars and is in v0.12.0

        • The idea of MAS is to take over user management and authentication. It runs as a separate web service, in it's own domain, has it's own db of users. IOW, with MAS, the users will move from the synapse web service to the MAS. There is a syn2mas migration script to move users.

        • To deploy MAS seems not so hard (is a single rust binary) but configuring it is a beast. See https://element-hq.github.io/matrix-authentication-service/ .

        • The Element X app only works when matrix is deployed with MAS . There is no plan to make it work with non-MAS setups.

        I have no idea how stable and production ready all this is. As mentioned, the version is just 0.x and I can't find any information of when this hits 1.0. Reminds of the sliding sync situation. It was hyped up for a while and then later they obsoleted it.

        jdaviescoatesJ 2 Replies Last reply
        4
        • girishG girish

          I went down this rabbit hole now to investigate. The docs are hard to understand on the status quo or even where matrix is going and nuggets of information is various GitHub issues. Anyways, a few hours later, the rough summary is this:

          • matrix synapse has built-in OIDC support. This built-in auth of synapse is now considered "legacy" auth. This legacy auth is only supported by the Element app.

          • matrix now has a new authentication spec. This is implemented in MAS - Matrix Authentication Service which has just 43 stars and is in v0.12.0

          • The idea of MAS is to take over user management and authentication. It runs as a separate web service, in it's own domain, has it's own db of users. IOW, with MAS, the users will move from the synapse web service to the MAS. There is a syn2mas migration script to move users.

          • To deploy MAS seems not so hard (is a single rust binary) but configuring it is a beast. See https://element-hq.github.io/matrix-authentication-service/ .

          • The Element X app only works when matrix is deployed with MAS . There is no plan to make it work with non-MAS setups.

          I have no idea how stable and production ready all this is. As mentioned, the version is just 0.x and I can't find any information of when this hits 1.0. Reminds of the sliding sync situation. It was hyped up for a while and then later they obsoleted it.

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #9

          @girish said in Has anyone got the Element X App working with Cloudron Matrix?:

          It was hyped up for a while and then later they obsoleted it.

          I don't think it was obsloted, I think it was rolled into Synapse, no?

          I use Cloudron with Gandi & Hetzner

          girishG 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates referenced this topic on
          • jdaviescoatesJ jdaviescoates

            @girish said in Has anyone got the Element X App working with Cloudron Matrix?:

            It was hyped up for a while and then later they obsoleted it.

            I don't think it was obsloted, I think it was rolled into Synapse, no?

            girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #10

            @jdaviescoates I should have been clearer... I meant the sliding sync webapp got obsoleted and the repo was archived. TBH, I don't really know if the protocol / implementation was merged in a compatible way.

            1 Reply Last reply
            1
            • girishG girish referenced this topic on
            • girishG girish

              I went down this rabbit hole now to investigate. The docs are hard to understand on the status quo or even where matrix is going and nuggets of information is various GitHub issues. Anyways, a few hours later, the rough summary is this:

              • matrix synapse has built-in OIDC support. This built-in auth of synapse is now considered "legacy" auth. This legacy auth is only supported by the Element app.

              • matrix now has a new authentication spec. This is implemented in MAS - Matrix Authentication Service which has just 43 stars and is in v0.12.0

              • The idea of MAS is to take over user management and authentication. It runs as a separate web service, in it's own domain, has it's own db of users. IOW, with MAS, the users will move from the synapse web service to the MAS. There is a syn2mas migration script to move users.

              • To deploy MAS seems not so hard (is a single rust binary) but configuring it is a beast. See https://element-hq.github.io/matrix-authentication-service/ .

              • The Element X app only works when matrix is deployed with MAS . There is no plan to make it work with non-MAS setups.

              I have no idea how stable and production ready all this is. As mentioned, the version is just 0.x and I can't find any information of when this hits 1.0. Reminds of the sliding sync situation. It was hyped up for a while and then later they obsoleted it.

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #11

              @girish said in Has anyone got the Element X App working with Cloudron Matrix?:

              matrix now has a new authentication spec. This is implemented in MAS - Matrix Authentication Service which has just 43 stars and is in v0.12.0

              I just realised that 1.0.0 was released 2 days ago!

              https://github.com/element-hq/matrix-authentication-service/releases/tag/v1.0.0

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              4
              • nottheendN Offline
                nottheendN Offline
                nottheend
                wrote on last edited by nottheend
                #12

                Element X calls seem to require additional well-known configuration for Matrix RTC for calls.

                When I tried to make a call with Element X, I got this error:

                Error Code: MISSING_MATRIX_RTC_FOCUS
                

                The issue is discussed here with some workarounds: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4224

                From what I can gather, it seems you need to configure /.well-known/matrix/client or /.well-known/element/element.json with RTC settings, but I'm not sure of the exact setup for Cloudron.

                Anyone figured this out?

                This discussion might be closely related:
                https://forum.cloudron.io/topic/13140/

                1 Reply Last reply
                1
                • potemkin_aiP Offline
                  potemkin_aiP Offline
                  potemkin_ai
                  wrote on last edited by
                  #13

                  on top of everything, Element X require livekit & jwt to work; if you are using OpenID connect - you have to use MAS, as Element X will not work otherwise (not now, nor ever).

                  1 Reply Last reply
                  1
                  • N Offline
                    N Offline
                    ntnsndr
                    wrote last edited by
                    #14

                    I'm encountering this as well. It is really disappointing as a statement on the Matrix ecosystem that the flagship Matrix app can't always log into the standard Matrix server. Do we have any ability to build in a workaround for Cloudron?

                    1 Reply Last reply
                    2
                    • scookeS Offline
                      scookeS Offline
                      scooke
                      wrote last edited by
                      #15

                      FWIW, I've just logged into my Matrix using Android Element X. Is this still an issue for others?

                      A life lived in fear is a life half-lived

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search