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


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    SOLVED Matrix.org Rooms from my Server?

    Matrix (Synapse/Element)
    federation matrix
    6
    37
    343
    Loading More Posts
    • 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.
    • doodlemania2
      doodlemania2 App Dev last edited by girish

      Getting an odd message (example):
      Riot failed to get the public room list. No key for <mydomainname>.net with ids in ['ed25519:a_DXwR'] (min_validity 1590775063617)
      ...when I try to browse rooms on matrix.org's servers from my Cloudron installation?

      1 Reply Last reply Reply Quote 1
      • doodlemania2
        doodlemania2 App Dev last edited by

        Anyone have any ideas? I guess I could try reinstalling??

        1 Reply Last reply Reply Quote 0
        • M
          msbt App Dev last edited by

          Are you using your own matrix server or just the riot installation? One thing that happens often when listing/joining bigger matrix channels: not enough ram on your machine. bigger channels requires 2GB an more RAM to join.

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            @doodlemania2 Can you tell me your setup a bit more. Is it matrix+synapse? I will try to reproduce this locally.

            Another user reported this is https://forum.cloudron.io/topic/2608/matrix-federation

            1 Reply Last reply Reply Quote 0
            • toto.s
              toto.s last edited by

              @girish I see the same problem here!
              I use the server, Riot for Linux Desktop and RiotX on my Galaxy S20.
              The server has 4096 MB Ram available

              1 Reply Last reply Reply Quote 0
              • doodlemania2
                doodlemania2 App Dev last edited by

                Hey @girish - yeah, it's matrix+synapse ... trying to search rooms on matrix.org. My local rooms seem okay.

                1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff last edited by

                  @doodlemania2 @toto-s Trying to reproduce it locally

                  1 Reply Last reply Reply Quote 1
                  • girish
                    girish Staff last edited by

                    On my install, I got a different error:

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

                    1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff last edited by girish

                      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 Reply Quote 0
                      • girish
                        girish Staff last edited by

                        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 Reply Quote 0
                        • girish
                          girish Staff last edited by

                          @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 Reply Quote 0
                          • toto.s
                            toto.s last edited by

                            Yes, the signing.key file exists!

                            1 Reply Last reply Reply Quote 0
                            • girish
                              girish Staff last edited by

                              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 Reply Quote 0
                              • doodlemania2
                                doodlemania2 App Dev last edited by

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

                                1 Reply Last reply Reply Quote 0
                                • doodlemania2
                                  doodlemania2 App Dev last edited by

                                  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 Reply Quote 2
                                  • JOduMonT
                                    JOduMonT last edited by

                                    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 Reply Quote 0
                                    • girish
                                      girish Staff last edited by

                                      @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?

                                      JOduMonT 1 Reply Last reply Reply Quote 1
                                      • girish
                                        girish Staff last edited by

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

                                        1 Reply Last reply Reply Quote 1
                                        • girish
                                          girish Staff last edited by

                                          @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 Reply Quote 1
                                          • doodlemania2
                                            doodlemania2 App Dev last edited by

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

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post