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)
21 Posts 9 Posters 3.5k Views 12 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 Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by jdaviescoates
    #1

    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?

    I use Cloudron with Gandi & Hetzner

    fbartelsF 1 Reply Last reply
    1
    • humptydumptyH Offline
      humptydumptyH Offline
      humptydumpty
      wrote on last edited by humptydumpty
      #2

      I’ve been using it for a few weeks now with no issues or none that I’ve noticed lol. I haven’t used element for calling in a while so can’t comment if that works or not, but texting, room creation, etc all works fine.

      I just installed element x app on iOS and logged in. I didn’t change anything server wise.

      Edit: I just reread your post. Idk what that sliding thing is, so this post is probably unhelpful. Please disregard.

      jdaviescoatesJ 1 Reply Last reply
      1
      • humptydumptyH Offline
        humptydumptyH Offline
        humptydumpty
        wrote on last edited by humptydumpty
        #3

        Btw, I have a shared room with multiple users and it’s the only room that doesn’t send notifications (pre-element x). Have you ran into this issue?

        Other rooms and direct 1 to 1 DM sends notifications flawlessly. I triple checked all settings. 🤔

        1 Reply Last reply
        1
        • humptydumptyH humptydumpty

          I’ve been using it for a few weeks now with no issues or none that I’ve noticed lol. I haven’t used element for calling in a while so can’t comment if that works or not, but texting, room creation, etc all works fine.

          I just installed element x app on iOS and logged in. I didn’t change anything server wise.

          Edit: I just reread your post. Idk what that sliding thing is, so this post is probably unhelpful. Please disregard.

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

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

          I’ve been using it for a few weeks now with no issues or none that I’ve noticed lol. I haven’t used element for calling in a while so can’t comment if that works or not, but texting, room creation, etc all works fine.

          OK, great, thanks.

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

          Edit: I just reread your post. Idk what that sliding thing is, so this post is probably unhelpful. Please disregard.

          It's OK. The sliding thing is a new baked into Matrix thing that is supposed to make everything much faster. Element X is supposed to take advantage of it. Last time I tried to connect to my Matrix using Element X it didn't work. I'll try again and see what happens...

          I use Cloudron with Gandi & Hetzner

          humptydumptyH 1 Reply Last reply
          2
          • jdaviescoatesJ jdaviescoates

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

            I’ve been using it for a few weeks now with no issues or none that I’ve noticed lol. I haven’t used element for calling in a while so can’t comment if that works or not, but texting, room creation, etc all works fine.

            OK, great, thanks.

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

            Edit: I just reread your post. Idk what that sliding thing is, so this post is probably unhelpful. Please disregard.

            It's OK. The sliding thing is a new baked into Matrix thing that is supposed to make everything much faster. Element X is supposed to take advantage of it. Last time I tried to connect to my Matrix using Element X it didn't work. I'll try again and see what happens...

            humptydumptyH Offline
            humptydumptyH Offline
            humptydumpty
            wrote on last edited by
            #5

            @jdaviescoates I had to go through the "forgot password" process so my login would work. I think that issue is related to me only since I had moved the app across servers that had different users/credentials than the original. Maybe it'll work for you too. GL.

            1 Reply Last reply
            2
            • 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 Offline
                  girishG Offline
                  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 Offline
                      girishG Offline
                      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
                                • N Offline
                                  N Offline
                                  ntnsndr
                                  wrote last edited by
                                  #16

                                  @scooke What method did you use? Were you able to use the QR? Or did you manually join the server by address without the "selected homeserver doens't support password or oidc login" error?

                                  jdaviescoatesJ 1 Reply Last reply
                                  1
                                  • N ntnsndr

                                    @scooke What method did you use? Were you able to use the QR? Or did you manually join the server by address without the "selected homeserver doens't support password or oidc login" error?

                                    jdaviescoatesJ Offline
                                    jdaviescoatesJ Offline
                                    jdaviescoates
                                    wrote last edited by
                                    #17

                                    @ntnsndr I'm not positive as I've not tested it, but my understanding is that Martix on Cloudron without any OIDC works with Element X, but with OIDC it doesn't work because for that we'd need MAS set-up which we don't yet have on Cloudron yet. I think, maybe.

                                    I use Cloudron with Gandi & Hetzner

                                    andreasduerenA 1 Reply Last reply
                                    1
                                    • jdaviescoatesJ jdaviescoates

                                      @ntnsndr I'm not positive as I've not tested it, but my understanding is that Martix on Cloudron without any OIDC works with Element X, but with OIDC it doesn't work because for that we'd need MAS set-up which we don't yet have on Cloudron yet. I think, maybe.

                                      andreasduerenA Offline
                                      andreasduerenA Offline
                                      andreasdueren
                                      wrote last edited by
                                      #18

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

                                      Martix on Cloudron without any OIDC works with Element X, but with OIDC it doesn't work because for that we'd need MAS set-up which we don't yet have on Cloudron yet. I think, maybe.

                                      Correct. Password login works fine, OIDC does not, neither do calls.

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

                                        Thanks for the clarity. Disappointing, since unified login is really crucial for my server.

                                        Again, what an absurd situation: That the flagship app for Matrix doesn't work with SSO. How the heck do they explain that to their government/military customers?

                                        Thanks, team Cloudron!

                                        andreasduerenA 1 Reply Last reply
                                        0
                                        • N ntnsndr

                                          Thanks for the clarity. Disappointing, since unified login is really crucial for my server.

                                          Again, what an absurd situation: That the flagship app for Matrix doesn't work with SSO. How the heck do they explain that to their government/military customers?

                                          Thanks, team Cloudron!

                                          andreasduerenA Offline
                                          andreasduerenA Offline
                                          andreasdueren
                                          wrote last edited by
                                          #20

                                          @ntnsndr It does work with SSO (Can't say anything about how well) via the MAS. I've been playing around with seeing about adding it to the cloudron package but so far no luck getting MAS started.

                                          1 Reply Last reply
                                          1
                                          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