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

    Relays not working anymore?

    Mastodon
    4
    16
    94
    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.
    • M
      murgero App Dev @girish last edited by

      @girish Relays for ActivityPub / Mastodon allow servers that have never seen each other to communicate - https://relay.mastodon.host/ is one relay. Essentially if you have a new server you want to fill up with messages, toots, etc you join a relay.

      Also - the logs are barren of any errors beyond "401 - something wrong" errors.

      rmdes 1 Reply Last reply Reply Quote 1
      • rmdes
        rmdes @murgero last edited by

        @murgero dumb question but did you added https://relay.mastodon.host/inbox as the relay URL ?

        M 1 Reply Last reply Reply Quote 0
        • M
          murgero App Dev @rmdes last edited by

          @rmdes yes, I've used the relay in the past and it works on servers I manually install through a VM.

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

            I tried adding a relay and it says 'Waiting for approval' . I guess I have to wait? Is this some manual approval?

            06059e65-6d0e-421c-9f43-c45d0b51c752-image.png

            M 1 Reply Last reply Reply Quote 0
            • M
              murgero App Dev @girish last edited by

              @girish said in Relays not working anymore?:

              I tried adding a relay and it says 'Waiting for approval' . I guess I have to wait? Is this some manual approval?

              The approval is automatic - you will see your instance listed already in the approved section but your instance never actually see's it was approved. Going through logs, you should also see some http 401/40X errors when the relay tries to do a pub/priv handshake.

              girish 3 Replies Last reply Reply Quote 0
              • girish
                girish Staff @murgero last edited by

                @murgero Right, I see the errors in the logs.

                I was browsing through existing registered instances and saw that social.cloudron.io is there! And indeed, our company instance has this approved and working. I wonder what is different.

                d65a70d4-acd7-4b4f-8221-15d58bfe302f-image.png

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

                  @murgero Found it . https://discourse.joinmastodon.org/t/upgrading-from-3-2-0-to-3-2-1-broke-relays/3014 and https://github.com/tootsuite/mastodon/pull/14556 . Apparently, the relay software is broken and needs to be updated to be compatible with latest mastodon 3.2.1. It seems a fix was put in recently - https://git.pleroma.social/pleroma/relay/-/issues/10 and now mastodon.host needs to update the relay software.

                  doodlemania2 1 Reply Last reply Reply Quote 3
                  • girish
                    girish Staff @murgero last edited by

                    @murgero OK, can confirm that if we use mastodon 3.2.0, the relay starts working. Cloudron package version is 1.4.0

                    M 2 Replies Last reply Reply Quote 2
                    • M
                      murgero App Dev @girish last edited by

                      @girish this is useful information! thank you - I will hold out for the new relay version.

                      1 Reply Last reply Reply Quote 0
                      • M
                        murgero App Dev @girish last edited by

                        @girish I noticed you changed the picture - is that due to the relay fixing itself or did you downgrade your mastodon instance?

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

                          @murgero sorry, which picture?

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            murgero App Dev @girish last edited by

                            @girish 01a8acdb-7f48-46fb-bbb2-a52d398ea566-image.png

                            That picture used to say "Waiting for approval" didn't it?

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

                              @murgero ah, the waiting for approval was from my test instance whereas the approved screenshot was from social.cloudron.io . It seems the ui says it's approved if you come from older mastodon (but doesn't work anyway)

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

                                @girish This is part of my problem I posted about yesterday (in fact mastodon.host doesn't even work via HTTP anymore), but also, note the Sidkiq errors I mentioned that might be somewhat related to relays in general.

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