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. PeerTube
  3. Problems with federation (Peertube)

Problems with federation (Peertube)

Scheduled Pinned Locked Moved PeerTube
17 Posts 4 Posters 1.2k 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.
  • C Offline
    C Offline
    cocam123
    wrote on last edited by
    #1

    Hi everyone! I’m trying to activate the federation with another instance. On my side, the logs show as ‘completed’. However, the other instance is not receiving anything.

    When the other instance sends me a request, I don’t receive it.

    Can you help me?

    This is the type of log I have:

    Job: 9779
    Type: activitypub-http-unicast
    Processed on 1/31/25, 8:30:14.671 PM
    Finished on 1/31/25, 8:30:15.244 PM
    {
      "uri": "https://remoteinstance.com/accounts/peertube/inbox",
      "signatureActorId": 1,
      "body": {
        "type": "Follow",
        "id": "https://myinstance.com/accounts/peertube/follows/26487",
        "actor": "https://myinstance.com/accounts/peertube",
        "object": "https://remoteinstance.com/accounts/peertube"
      },
      "contextType": "Follow"
    }
    
    Job: 76
    Type: activitypub-follow
    Processed on 1/31/25, 8:30:14.058 PM
    Finished on 1/31/25, 8:30:14.685 PM
    {
      "host": "remoteinstance.com:443",
      "followerActorId": 1
    }
    

    (I replaced my instance’s link by « myinstance.com » and the remote one by « removeinstance.com »)

    Thanks in advance for anyone who responds to my request.

    1 Reply Last reply
    1
    • scookeS Offline
      scookeS Offline
      scooke
      wrote on last edited by
      #2

      Does the other one have their federation active?

      A life lived in fear is a life half-lived

      C 1 Reply Last reply
      1
      • scookeS scooke

        Does the other one have their federation active?

        C Offline
        C Offline
        cocam123
        wrote on last edited by
        #3

        @scooke yea. They even followed other instances. Idk why they don't receive my requests (and when they send me a request, it's not working)

        it's the first instance I'm trying to follow

        1 Reply Last reply
        1
        • scookeS Offline
          scookeS Offline
          scooke
          wrote on last edited by
          #4

          I believe an app like this needs an app installed on the root domain, plus the domain needs to have .well-known set (https://docs.cloudron.io/domains/#well-known-locations). Are those set up?

          A life lived in fear is a life half-lived

          C 1 Reply Last reply
          2
          • scookeS scooke

            I believe an app like this needs an app installed on the root domain, plus the domain needs to have .well-known set (https://docs.cloudron.io/domains/#well-known-locations). Are those set up?

            C Offline
            C Offline
            cocam123
            wrote on last edited by
            #5

            @scooke I don't think it would do any good. First of all, Peertube doesn't have to be on the root domain (I'm on peertube.mydomain.com and the server I'm reaching, where the federation works, is on video.theirdomaine.org)

            also for the well-known, it's for Synapse, Mastodon or Jitsi (I don't see Peertube in that)

            jdaviescoatesJ 1 Reply Last reply
            0
            • scookeS Offline
              scookeS Offline
              scooke
              wrote on last edited by scooke
              #6

              In production.json, do yo uhave the following:

                # If you disable the tracker, you disable the P2P aspect of PeerTube
                enabled: true```
              
              and 
              
              

              federation:
              videos:
              federate_unlisted: true```

              Are teh various videos set to Public or Private?

              You know, I went to check my own to see what my settings are, and I've discovered that MINE TOO can't find any user or instance and can't be found from my Mastodon instance!!! What??? This just got personal.

              A life lived in fear is a life half-lived

              C 1 Reply Last reply
              1
              • scookeS scooke

                In production.json, do yo uhave the following:

                  # If you disable the tracker, you disable the P2P aspect of PeerTube
                  enabled: true```
                
                and 
                
                

                federation:
                videos:
                federate_unlisted: true```

                Are teh various videos set to Public or Private?

                You know, I went to check my own to see what my settings are, and I've discovered that MINE TOO can't find any user or instance and can't be found from my Mastodon instance!!! What??? This just got personal.

                C Offline
                C Offline
                cocam123
                wrote on last edited by
                #7

                @scooke everything is exactly like you.

                Also for Mastodon, you should try to put the link (of the account you want to follow) in the search bar. Search them on mastodon.social (it's the easiest way)

                I won't stray too far from the subject (which is Peertube)

                1 Reply Last reply
                0
                • C cocam123

                  @scooke I don't think it would do any good. First of all, Peertube doesn't have to be on the root domain (I'm on peertube.mydomain.com and the server I'm reaching, where the federation works, is on video.theirdomaine.org)

                  also for the well-known, it's for Synapse, Mastodon or Jitsi (I don't see Peertube in that)

                  jdaviescoatesJ Online
                  jdaviescoatesJ Online
                  jdaviescoates
                  wrote on last edited by
                  #8

                  @cocam123 said in Problems with federation (Peertube):

                  @scooke I don't think it would do any good. First of all, Peertube doesn't have to be on the root domain (I'm on peertube.mydomain.com and the server I'm reaching, where the federation works, is on video.theirdomaine.org)

                  It's not that the PeerTube app itself has to be on the root domain, it's that on Cloudron something has to be installed on the root domain.

                  I use Cloudron with Gandi & Hetzner

                  C 1 Reply Last reply
                  1
                  • jdaviescoatesJ jdaviescoates

                    @cocam123 said in Problems with federation (Peertube):

                    @scooke I don't think it would do any good. First of all, Peertube doesn't have to be on the root domain (I'm on peertube.mydomain.com and the server I'm reaching, where the federation works, is on video.theirdomaine.org)

                    It's not that the PeerTube app itself has to be on the root domain, it's that on Cloudron something has to be installed on the root domain.

                    C Offline
                    C Offline
                    cocam123
                    wrote on last edited by
                    #9

                    @jdaviescoates mmm but my domain is configurated on Cloudron? (I'm confused)

                    scookeS 1 Reply Last reply
                    0
                    • C cocam123

                      @jdaviescoates mmm but my domain is configurated on Cloudron? (I'm confused)

                      scookeS Offline
                      scookeS Offline
                      scooke
                      wrote on last edited by scooke
                      #10

                      @cocam123 If you have peertube.mydomain.com for peertube, then you need an app on mydomain.com on the same Cloudron, is what @jdaviescoates and I mean.

                      A life lived in fear is a life half-lived

                      1 Reply Last reply
                      1
                      • jdaviescoatesJ Online
                        jdaviescoatesJ Online
                        jdaviescoates
                        wrote on last edited by jdaviescoates
                        #11

                        Yes, exactly. You'll see that in the docs about well known it repeatedly mentions "Requires app on bare domain" https://docs.cloudron.io/domains/#well-known-locations

                        But as you've pointed out PeerTube isn't shown in well known settings so that's probably an issue too!

                        @staff I think we need well known config adding for both PeerTube and Pixelfed

                        I use Cloudron with Gandi & Hetzner

                        C 1 Reply Last reply
                        0
                        • jdaviescoatesJ jdaviescoates

                          Yes, exactly. You'll see that in the docs about well known it repeatedly mentions "Requires app on bare domain" https://docs.cloudron.io/domains/#well-known-locations

                          But as you've pointed out PeerTube isn't shown in well known settings so that's probably an issue too!

                          @staff I think we need well known config adding for both PeerTube and Pixelfed

                          C Offline
                          C Offline
                          cocam123
                          wrote on last edited by
                          #12

                          @jdaviescoates well, I already have my website on the main domain so I think it's all good on this point

                          jdaviescoatesJ 1 Reply Last reply
                          1
                          • C cocam123

                            @jdaviescoates well, I already have my website on the main domain so I think it's all good on this point

                            jdaviescoatesJ Online
                            jdaviescoatesJ Online
                            jdaviescoates
                            wrote on last edited by
                            #13

                            @cocam123 great, that part is sorted then. I think perhaps the issue is the lack of well known settings

                            I use Cloudron with Gandi & Hetzner

                            1 Reply Last reply
                            0
                            • C Offline
                              C Offline
                              cocam123
                              wrote on last edited by
                              #14

                              yea idk. I will wait until the staff reply

                              1 Reply Last reply
                              1
                              • J joseph moved this topic from Support on
                              • J Offline
                                J Offline
                                joseph
                                Staff
                                wrote on last edited by
                                #15

                                I think the ActivityPub federation is different from Matrix federation. The well known stuff is mostly for matrix and not for ActivityPub afaik.

                                jdaviescoatesJ 1 Reply Last reply
                                0
                                • J joseph

                                  I think the ActivityPub federation is different from Matrix federation. The well known stuff is mostly for matrix and not for ActivityPub afaik.

                                  jdaviescoatesJ Online
                                  jdaviescoatesJ Online
                                  jdaviescoates
                                  wrote on last edited by
                                  #16

                                  @joseph said in Problems with federation (Peertube):

                                  The well known stuff is mostly for matrix and not for ActivityPub afaik.

                                  But the setting is there for Mastodon 🤔

                                  I use Cloudron with Gandi & Hetzner

                                  1 Reply Last reply
                                  0
                                  • C Offline
                                    C Offline
                                    cocam123
                                    wrote on last edited by
                                    #17

                                    true, Mastodon use ActivityPub

                                    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