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. 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 10.1k 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.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #7

    @doodlemania2 @toto-s Trying to reproduce it locally

    1 Reply Last reply
    1
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #8

      On my install, I got a different error:

      219dea7f-23a8-4b74-8035-060da049a1f8-image.png

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #9

        I cleared the browser cache and the listing started working.

        c39d5ffd-0ef8-49cd-b3ca-4764241e6277-image.png

        But joining a room fails:

        f08df763-7471-4e08-911c-5e3fe838b153-image.png

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #10

          As @msbt said, joining smaller rooms (~1k participants) works. If I join larger rooms, the server runs out of memory and I get the CORS error in the UI.

          17:05:07 - 2020-06-03 00:05:07,447 - synapse.http.matrixfederationclient - 165 - INFO - POST-109 - {PUT-O-160} [matrix.org] Completed: 200 OK
          17:05:13 - /app/pkg/start.sh: line 80:    95 Killed                  
          

          I bumped up the app's RAM to 2GB and I can connect to all rooms.

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #11

            @doodlemania2 @toto-s Did you change the location/domain of your matrix install by any chance? If so, I think I have a guess as to what is causing the problem. Do you have a file named /app/data/configs/signing.key ?

            1 Reply Last reply
            0
            • toto.sT Offline
              toto.sT Offline
              toto.s
              wrote on last edited by
              #12

              Yes, the signing.key file exists!

              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #13

                Mmm, I am out of ideas here. Out of curiosity, have you guys already tried re-installing? I can't find any related issue on matrix issue tracker either.

                Can you try re-installing and try to reproduce this? If it's reproducible, can you give me access (support -> enable remote support) and send us a mail at support@cloudron with the domain name. Thanks!

                1 Reply Last reply
                0
                • 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 Offline
                        girishG Offline
                        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 Offline
                          girishG Offline
                          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 Offline
                            girishG Offline
                            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 Offline
                                girishG Offline
                                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 Offline
                                      girishG Offline
                                      girish
                                      Staff
                                      wrote on last edited by
                                      #24

                                      @JOduMonT Are you able to join other groups?

                                      JOduMonTJ 1 Reply Last reply
                                      0
                                      • girishG Offline
                                        girishG Offline
                                        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
                                          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