How to get Riot working



  • Hi,
    I installed the Riot app, and edited the /app/data/config.json file to use my url. I changed only the Home server and name. But I don't know what the identity server is. it is currently set to something like vector.im. I keep coming across references to Matrix... do I need this also?

    When I try to sign in at my domain set for Riot I get this error message:

    Cannot reach homeserver
    Ensure you have a stable internet connection, or get in touch with the server admin
    Other servers
    Enter your custom homeserver URL *What does this mean*?
    

    Help!
    Thank you.



  • Can you post the edited lines of the config? Replace real domain with sub.domain.tld if you feel like doing so but it'd be easer to troubleshoot knowing the real domain.



  • @yusf I changed only the base_url and server_name. But from what i've seen from reading things online I seem to need to connect to a matrix server too.?

    {
        "default_server_config": {
            "m.homeserver": {
                "base_url": "https://sub.domain.tld",
                "server_name": "Domain"
            },
            "m.identity_server": {
                "base_url": "https://vector.im"
            }
        },
        "disable_custom_urls": false,
        "disable_guests": false,
        "disable_login_language_selector": false,
        "disable_3pid_login": false,
        "brand": "Riot",
        "integrations_ui_url": "https://scalar.vector.im/",
        "integrations_rest_url": "https://scalar.vector.im/api",
        "integrations_widgets_urls": [
            "https://scalar.vector.im/_matrix/integrations/v1",
            "https://scalar.vector.im/api",
            "https://scalar-staging.vector.im/_matrix/integrations/v1",
            "https://scalar-staging.vector.im/api",
            "https://scalar-staging.riot.im/scalar/api"
        ],
        "integrations_jitsi_widget_url": "https://scalar.vector.im/api/widgets/jitsi.html",
        "bug_report_endpoint_url": "https://riot.im/bugreports/submit",
        "defaultCountryCode": "GB",
        "showLabsSettings": false,
        "features": {
            "feature_pinning": "labs",
            "feature_custom_status": "labs",
            "feature_custom_tags": "labs",
            "feature_state_counters": "labs"
        },
        "default_federate": true,
        "default_theme": "light",
        "roomDirectory": {
            "servers": [
                "matrix.org"
            ]
        },
        "welcomeUserId": "@riot-bot:matrix.org",
        "piwik": {
            "url": "https://piwik.riot.im/",
            "whitelistedHSUrls": ["https://matrix.org"],
            "whitelistedISUrls": ["https://vector.im", "https://matrix.org"],
            "siteId": 1
        },
        "enable_presence_by_hs_url": {
            "https://matrix.org": false,
            "https://matrix-client.matrix.org": false
        },
        "settingDefaults": {
            "breadcrumbs": true
        }
    }
    
    


  • @scooke said in How to get Riot working:

    need to connect to a matrix server too.?

    Yes exactly. Riot is only the client. It does not come with a server.



  • Ah... but it doesn't seem like Cloudron offers a Matrix server. So I guess I'll stop now. Too bad. Thank you for your help.



  • @scooke Riot is just the frontend. Synapse is not published in the app store yet. We will get around to it soon. We are currently getting out a new Cloudron release this week.



  • @scooke said in How to get Riot working:

    Ah... but it doesn't seem like Cloudron offers a Matrix server. So I guess I'll stop now. Too bad. Thank you for your help.

    Matrix server is coming soon, but there is a thread here that explains how to install it now before it hits the app store.





  • @scooke https://git.cloudron.io/msbt/matrix-riot-app is the repo you want to use. Follow instructions in the documentation on how to install the CLI and how to build and install custom apps.


Log in to reply