Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • 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
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Technical Support
  3. Re: Federation issues

Re: Federation issues

Planlagt Fastgjort Låst Flyttet Technical Support
23 Indlæg 3 Posters 71 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • reynirR reynir

    @julian@community.nodebb.org thanks for the reply! Is there a tracking issue I can subscribe to?

    (I am having a lot of fun with our new NodeBB instance btw!)

    julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.org
    wrote on sidst redigeret af
    #14

    @reynir@forum.fedi.dk there wasn’t, so I added one:

    https://github.com/NodeBB/NodeBB/issues/13172

    1 Reply Last reply
    1
    • jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
      jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
      jakub-urbanowicz@community.nodebb.org
      wrote on sidst redigeret af
      #15

      @julian That and upgrading to 4.0.4 helped a little – at least direct messages are coming through, but following still not working in either direction. Following seems to be set up correctly and confirmed on both the forum and other AP instances. Testing with Friendica and Mastodon. Only the messages are stopped somewhere.
      ekran_2025-02-17_23-19-00.png ekran_2025-02-17_23-31-10.png
      2025-02-18_05-17-53.png 2025-02-18_05-21-27.png

      1 Reply Last reply
      0
      • jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
        jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
        jakub-urbanowicz@community.nodebb.org
        wrote on sidst redigeret af
        #16

        @julian I am now unable to import threads using the search area. It worked a few days ago (before 4.0.4) and maybe before changing http to https in config.json. Now I can only follow users without actually following their content (no following is operational). While importing threads worked, it was still useless, because I couldn’t join in on conversations.
        Yesterday I experimented with different proxy_pass values in my nginx proxy.conf file:

        • proxy_pass http://forum_n66_pl; – original configuration
        • proxy_pass http://127.0.0.1:4567; – no effect on AP behaviour, nodebb’s admin privileges affected
        • proxy_pass https://forum_n66_pl; – resulted in a “Bad Gateway” error.
          I attach the recent log file: https://u.pcloud.link/publink/show?code=XZun2L5Zy2PaNwGjuh72kxKbh6Wl9jEb4FmX

        Please tell me you know how to fix it. 🙄

        1 Reply Last reply
        0
        • julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.org
          wrote on sidst redigeret af
          #17

          @Jakub-Urbanowicz http://forum_n66_pl this suggests there’s an upstream block.

          Can you paste your entire nginx config?

          jakub-urbanowicz@community.nodebb.orgJ 1 Reply Last reply
          0
          • jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
            jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
            jakub-urbanowicz@community.nodebb.org
            wrote on sidst redigeret af
            #18
            Dette indlæg er slettet!
            1 Reply Last reply
            0
            • jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
              jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
              jakub-urbanowicz@community.nodebb.org
              wrote on sidst redigeret af
              #19

              @julian just a moment; it’s a bit complex, because configuration is divided into several files.

              1 Reply Last reply
              0
              • julian@community.nodebb.orgJ julian@community.nodebb.org

                @Jakub-Urbanowicz http://forum_n66_pl this suggests there’s an upstream block.

                Can you paste your entire nginx config?

                jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
                jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
                jakub-urbanowicz@community.nodebb.org
                wrote on sidst redigeret af
                #20

                @julian Please find attached a summary of my nginx settings.
                The back-end installation of NodeBB was done manually in a home directory, while the reverse proxy is part of on automated server solution called Webinoly. It is typically used for self-hosting WordPress, but not only. It worked pretty well before the advent of Federation capabilities, so I wasn’t bothered. I just uncommented some proxy headers in /etc/nginx/apps.d/forum.n66.pl-proxy.conf and added “X-NginX-Proxy true” as per documentation. Mongodb (7.0) is provided from a deb repository as is nodejs.
                I’m not sure why the web root directory as mentioned in /etc/nginx/sites-available/forum.n66.pl does not exist (root /var/www/forum.n66.pl/htdocs). I don’t even have /var/www/forum.n66.pl/.
                Thank you for helping me.

                julian@community.nodebb.orgJ 1 Reply Last reply
                0
                • jakub-urbanowicz@community.nodebb.orgJ jakub-urbanowicz@community.nodebb.org

                  @julian Please find attached a summary of my nginx settings.
                  The back-end installation of NodeBB was done manually in a home directory, while the reverse proxy is part of on automated server solution called Webinoly. It is typically used for self-hosting WordPress, but not only. It worked pretty well before the advent of Federation capabilities, so I wasn’t bothered. I just uncommented some proxy headers in /etc/nginx/apps.d/forum.n66.pl-proxy.conf and added “X-NginX-Proxy true” as per documentation. Mongodb (7.0) is provided from a deb repository as is nodejs.
                  I’m not sure why the web root directory as mentioned in /etc/nginx/sites-available/forum.n66.pl does not exist (root /var/www/forum.n66.pl/htdocs). I don’t even have /var/www/forum.n66.pl/.
                  Thank you for helping me.

                  julian@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.org
                  wrote on sidst redigeret af
                  #21

                  @Jakub-Urbanowicz whatever your nginx config, if it was working before, it should not require any changes to support federation.

                  I would revert back to a working config if you’re seeing issues with regular usage of NodeBB. Otherwise if the site is loading fine then tweaking nginx (probably) won’t fix anything and the problem likely lies elsewhere.

                  I will look into your configs tomorrow.

                  1 Reply Last reply
                  0
                  • jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
                    jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
                    jakub-urbanowicz@community.nodebb.org
                    wrote on sidst redigeret af
                    #22

                    @julian Updated to nodejs 22.x and nodebb 4.0.5. Still no joy with Federation. Did you manage to have a look at my Nginx settings? I have quite a few people subscribed, but not a piece of new ever showed from them. Otherwise the forum is working fine.

                    1 Reply Last reply
                    0
                    • julian@community.nodebb.orgJ This user is from outside of this forum
                      julian@community.nodebb.orgJ This user is from outside of this forum
                      julian@community.nodebb.org
                      wrote on sidst redigeret af
                      #23

                      @Jakub-Urbanowicz can you please:

                      1. create a test account on ActivityPub.academy
                      2. Run your NodeBB in dev mode (./nodebb dev)
                      3. mention your account on your forum?
                      4. Have your forum account reply back.

                      See if there are any errors logged. ActivityPub errors are only logged to console in dev mode.

                      1 Reply Last reply
                      0
                      • System shared this topic
                      Svar
                      • Svar som emne
                      Login for at svare
                      • Ældste til nyeste
                      • Nyeste til ældste
                      • Most Votes


                      • Log ind

                      • Har du ikke en konto? Tilmeld

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      Graciously hosted by data.coop
                      • First post
                        Last post
                      0
                      • Hjem
                      • Seneste
                      • Etiketter
                      • Populære
                      • Verden
                      • Bruger
                      • Grupper