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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Matrix.org Rooms from my Server?

Scheduled Pinned Locked Moved Solved Matrix (Synapse/Element)
matrixfederation
37 Posts 6 Posters 2.8k Views
    • 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 girish
    #1

    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
    1
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2 App Dev
    wrote on last edited by
    #2

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

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

    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
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #4

    @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
    0
  • toto.sT Offline
    toto.sT Offline
    toto.s
    wrote on last edited by
    #5

    @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
    0
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2 App Dev
    wrote on last edited by
    #6

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

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

    @doodlemania2 @toto-s Trying to reproduce it locally

    1 Reply Last reply
    1
  • girishG Do not disturb
    girishG Do not disturb
    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 Do not disturb
    girishG Do not disturb
    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 Do not disturb
    girishG Do not disturb
    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 Do not disturb
    girishG Do not disturb
    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 Do not disturb
    girishG Do not disturb
    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 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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.