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
  • 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. Mastodon
  3. Relays not working anymore?

Relays not working anymore?

Scheduled Pinned Locked Moved Mastodon
16 Posts 4 Posters 2.5k Views 4 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.
  • murgeroM Offline
    murgeroM Offline
    murgero
    App Dev
    wrote on last edited by
    #1

    After searching upstream for issues, it seems the way we have Mastodon installed is blocking the final part of the handshake from relays. I am unable to add any relay due to a 401 error during the final approval process from the relay server.

    Anyway we can get this resolved?

    --
    https://urgero.org
    ~ Professional Nerd. Freelance Programmer. ~

    girishG 1 Reply Last reply
    0
    • murgeroM murgero

      After searching upstream for issues, it seems the way we have Mastodon installed is blocking the final part of the handshake from relays. I am unable to add any relay due to a 401 error during the final approval process from the relay server.

      Anyway we can get this resolved?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @murgero any logs or more information on what fails and how to reproduce this? I am not an expert on mastodon, what exactly is a relay?

      murgeroM 1 Reply Last reply
      0
      • girishG girish

        @murgero any logs or more information on what fails and how to reproduce this? I am not an expert on mastodon, what exactly is a relay?

        murgeroM Offline
        murgeroM Offline
        murgero
        App Dev
        wrote on last edited by
        #3

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

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~

        rmdesR 1 Reply Last reply
        1
        • murgeroM murgero

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

          rmdesR Offline
          rmdesR Offline
          rmdes
          wrote on last edited by
          #4

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

          murgeroM 1 Reply Last reply
          0
          • rmdesR rmdes

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

            murgeroM Offline
            murgeroM Offline
            murgero
            App Dev
            wrote on last edited by
            #5

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

            --
            https://urgero.org
            ~ Professional Nerd. Freelance Programmer. ~

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

              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

              murgeroM 1 Reply Last reply
              0
              • girishG girish

                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

                murgeroM Offline
                murgeroM Offline
                murgero
                App Dev
                wrote on last edited by
                #7

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

                --
                https://urgero.org
                ~ Professional Nerd. Freelance Programmer. ~

                girishG 3 Replies Last reply
                0
                • murgeroM murgero

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

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  @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
                  0
                  • murgeroM murgero

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

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by girish
                    #9

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

                    doodlemania2D 1 Reply Last reply
                    3
                    • murgeroM murgero

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

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #10

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

                      murgeroM 2 Replies Last reply
                      2
                      • girishG girish

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

                        murgeroM Offline
                        murgeroM Offline
                        murgero
                        App Dev
                        wrote on last edited by
                        #11

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

                        --
                        https://urgero.org
                        ~ Professional Nerd. Freelance Programmer. ~

                        1 Reply Last reply
                        0
                        • girishG girish

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

                          murgeroM Offline
                          murgeroM Offline
                          murgero
                          App Dev
                          wrote on last edited by
                          #12

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

                          --
                          https://urgero.org
                          ~ Professional Nerd. Freelance Programmer. ~

                          girishG 1 Reply Last reply
                          0
                          • murgeroM murgero

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

                            girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #13

                            @murgero sorry, which picture?

                            murgeroM 1 Reply Last reply
                            0
                            • girishG girish

                              @murgero sorry, which picture?

                              murgeroM Offline
                              murgeroM Offline
                              murgero
                              App Dev
                              wrote on last edited by
                              #14

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

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

                              --
                              https://urgero.org
                              ~ Professional Nerd. Freelance Programmer. ~

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

                                @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
                                0
                                • girishG 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.

                                  doodlemania2D Offline
                                  doodlemania2D Offline
                                  doodlemania2
                                  App Dev
                                  wrote on last edited by
                                  #16

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