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
  • 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. Matrix.org Rooms from my Server?

Matrix.org Rooms from my Server?

Scheduled Pinned Locked Moved Solved Matrix (Synapse/Element)
matrixfederation
37 Posts 6 Posters 7.6k Views 7 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.
    • doodlemania2D Offline
      doodlemania2D Offline
      doodlemania2
      App Dev
      wrote on last edited by
      #14

      Will do so today to see if I can make it go!

      1 Reply Last reply
      0
      • doodlemania2D Offline
        doodlemania2D Offline
        doodlemania2
        App Dev
        wrote on last edited by
        #15

        Yeah, reinstallation gave the same error Riot failed to get the public room list. No key for thedoodleproject.net with ids in ['ed25519:a_HtQW'] (min_validity 1591297300437)...sadness. Will email ya.

        1 Reply Last reply
        2
        • JOduMonTJ Offline
          JOduMonTJ Offline
          JOduMonT
          wrote on last edited by
          #16

          got the same error when I try to search in Matrix

          9499132e-b05a-4927-8f37-6254753d5a94-image.png

          also if I try to join public group such as: #techlore:matrix.org
          https://riot.im/app/#/room/#techlore:matrix.org

          the result is:
          bf2676cd-f6f9-4fbb-9bd7-ba36d408bbce-image.png

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

            @JOduMonT The M_UNKNOWN issue is related to memory limit. When you join large matrix groups like techlore, you have to bump the memory limit to atleast 2-3GB. Can you try joining a smaller group as well?

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

              @doodlemania2 I replied to you from support couple of days ago, I need access to your server to debug further 🙂

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

                @doodlemania2 Thanks for giving access to your server. The issue was that federation setup was incorrect:

                • @doodlemania2 had setup the well-known correctly
                • But there was no app installed on domain.com. Without this, Cloudron will not respond to domain.com and thus the well-known setup won't work.
                • To fix: I installed a dummy app on domain.com. I then checked in https://federationtester.matrix.org/ that the setup was correct.
                • I waited for couple of hours since matrix.org seems to cache the DNS a bit and it had cached the previous NXDOMAIN. After that it works.

                @toto-s Can you check with federation tester?

                It's working now:

                356ea585-6bdd-4515-8b25-7542ce620231-image.png

                1 Reply Last reply
                1
                • doodlemania2D Offline
                  doodlemania2D Offline
                  doodlemania2
                  App Dev
                  wrote on last edited by
                  #20

                  Well that's outstanding! I guess suggest would be to add that requirement to the instructions for Matrix app?

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

                    Yeah, I think this can be avoided by having some .well-known UI in cloudron. Currently, it seems a bit complicated to explain (this is actually in our docs, but I guess it's not easy to follow)

                    toto.sT 1 Reply Last reply
                    0
                    • girishG girish

                      Yeah, I think this can be avoided by having some .well-known UI in cloudron. Currently, it seems a bit complicated to explain (this is actually in our docs, but I guess it's not easy to follow)

                      toto.sT Offline
                      toto.sT Offline
                      toto.s
                      wrote on last edited by
                      #22

                      @girish I sent you an email with my domain!

                      1 Reply Last reply
                      0
                      • girishG girish

                        @JOduMonT The M_UNKNOWN issue is related to memory limit. When you join large matrix groups like techlore, you have to bump the memory limit to atleast 2-3GB. Can you try joining a smaller group as well?

                        JOduMonTJ Offline
                        JOduMonTJ Offline
                        JOduMonT
                        wrote on last edited by
                        #23

                        @girish said in Matrix.org Rooms from my Server?:

                        @JOduMonT The M_UNKNOWN issue is related to memory limit. When you join large matrix groups like techlore, you have to bump the memory limit to atleast 2-3GB. Can you try joining a smaller group as well?

                        I gave 3GB to Riot and 3GB to Matrix and logout and login but I still have this error.

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

                          @JOduMonT Are you able to join other groups?

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

                            @toto-s Sent you a mail from support but the federation is not setup for your domain. Can you review the post installation again at https://cloudron.io/documentation/apps/synapse/#post-installation ? Let me know if something is not clear and I can clarify or fixup the docs. The main things is that the below command should work as a first step. For you domain, it doesn't work because there is nothing installed there.

                            ~$ curl https://domain.com/.well-known/matrix/server
                            curl: (6) Could not resolve host: domain.com
                            
                            1 Reply Last reply
                            0
                            • girishG girish

                              @JOduMonT Are you able to join other groups?

                              JOduMonTJ Offline
                              JOduMonTJ Offline
                              JOduMonT
                              wrote on last edited by JOduMonT
                              #26

                              @girish sadly no I still have this error when I try to explore group
                              Riot failed to get the public room list. No key for mydomain.tld with ids in ['ed25519:a_tHTB'] (min_validity 1592294601615)

                              and when I try to join I still have the same error too
                              5819c39a-7092-4155-a732-b58f198f8515-image.png

                              so I don't think it is related to the memory 🙂

                              BTW: I forgot to mention, Cloudron is behind a firewall in a DMZ zone but my provider seams enjoying blocking port,
                              which port matrix/riot need ?

                              girishG 1 Reply Last reply
                              0
                              • M Offline
                                M Offline
                                msbt
                                App Dev
                                wrote on last edited by
                                #27

                                the default federation port is 8448, but on cloudron it is different, you can try 8008 and check if that's working

                                girishG 1 Reply Last reply
                                0
                                • JOduMonTJ JOduMonT

                                  @girish sadly no I still have this error when I try to explore group
                                  Riot failed to get the public room list. No key for mydomain.tld with ids in ['ed25519:a_tHTB'] (min_validity 1592294601615)

                                  and when I try to join I still have the same error too
                                  5819c39a-7092-4155-a732-b58f198f8515-image.png

                                  so I don't think it is related to the memory 🙂

                                  BTW: I forgot to mention, Cloudron is behind a firewall in a DMZ zone but my provider seams enjoying blocking port,
                                  which port matrix/riot need ?

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

                                  @JOduMonT said in Matrix.org Rooms from my Server?:

                                  Riot failed to get the public room list. No key for mydomain.tld with ids in ['ed25519:a_tHTB'] (min_validity 1592294601615)

                                  This is most likely to do with federation not setup properly. Can you send me a mail to support@cloudron.io with your domain name and I can tell you what is going wrong.

                                  JOduMonTJ 1 Reply Last reply
                                  1
                                  • M msbt

                                    the default federation port is 8448, but on cloudron it is different, you can try 8008 and check if that's working

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

                                    @msbt

                                    @msbt said in Matrix.org Rooms from my Server?:

                                    the default federation port is 8448, but on cloudron it is different, you can try 8008 and check if that's working

                                    We switched the federation port to 443. (So it's both the client port and the federation port)

                                    1 Reply Last reply
                                    1
                                    • M Offline
                                      M Offline
                                      msbt
                                      App Dev
                                      wrote on last edited by
                                      #30

                                      ah thanks @girish, was wondering why none of the others were exposed, that explains it 😄

                                      1 Reply Last reply
                                      0
                                      • girishG girish

                                        @JOduMonT said in Matrix.org Rooms from my Server?:

                                        Riot failed to get the public room list. No key for mydomain.tld with ids in ['ed25519:a_tHTB'] (min_validity 1592294601615)

                                        This is most likely to do with federation not setup properly. Can you send me a mail to support@cloudron.io with your domain name and I can tell you what is going wrong.

                                        JOduMonTJ Offline
                                        JOduMonTJ Offline
                                        JOduMonT
                                        wrote on last edited by
                                        #31

                                        @girish said in Matrix.org Rooms from my Server?:

                                        This is most likely to do with federation not setup properly. Can you send me a mail to support@cloudron.io with your domain name and I can tell you what is going wrong.

                                        thank for you help and your explanation

                                        so basically I have this issue because the .well-known dir is not present, but also because my root domain (https://mydomain.tld) don't point to my cloudflare server

                                        1 Reply Last reply
                                        0
                                        • JOduMonTJ Offline
                                          JOduMonTJ Offline
                                          JOduMonT
                                          wrote on last edited by JOduMonT
                                          #32

                                          thank again @girish

                                          In my project Gatsby I created the file static/.well-known/matrix/server
                                          as mentioned in the doc
                                          and now I could Explore rooms on matrix.org even if riot have only 256mb of RAM and matrix 512mb 🙂

                                          1 Reply Last reply
                                          0
                                          • rmdesR Offline
                                            rmdesR Offline
                                            rmdes
                                            wrote on last edited by rmdes
                                            #33

                                            I followed the post-install instructions, managed to list rooms,but can't join them :
                                            this is my federation tester results : https://federationtester.matrix.org/#rmendes.net
                                            3ce42145-144f-47f8-b97e-aa5ca81fb870-image.png

                                            Not sure what else I can do 😕

                                            This is what I see when trying to join a public room :
                                            7c4a5281-0db0-4ba9-92e4-5edb2e0646ec-image.png

                                            I have no idea what changed but I joined Cloudron room from searching it on the matrix server public rooms, also managed to join another linux room, but If i try to join the main matrix room on the matrix server I get this repeatedly :

                                            49c0ceaf-e793-457c-aa8d-7ca7cdc15d0d-image.png

                                            If I try again, it keeps looping in this state :

                                            c607e724-7201-4605-ae3d-87f5ffecf54f-image.png

                                            I'm not sure it's related but on the Element log I can see this error, it's the only error that keeps repeating : Oct 08 16:01:27 [2020-10-08T14:01:27.135Z] "GET /config.chat.rmendes.net.json?cachebuster=1602165687021" Error (404): "Not found"

                                            As if instead of looking for the config file where it is, it is pointing to a non existing place where there is obviously no config file ?

                                            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