Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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 (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. 🔧 Devlog: FediBuzz relay returned 400 errors.

🔧 Devlog: FediBuzz relay returned 400 errors.

Scheduled Pinned Locked Moved Uncategorized
fediverseactivitypubdevlog
4 Posts 3 Posters 12 Views
  • 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.
  • Stegodon MicroblogS This user is from outside of this forum
    Stegodon MicroblogS This user is from outside of this forum
    Stegodon Microblog
    wrote last edited by
    #1
    🔧 Devlog: FediBuzz relay returned 400 errors. Root cause: nginx 1.18 + HTTP/2 + hyper/reqwest sent duplicate Host/:authority headers. Fixed by upgrading to nginx 1.29.4 which handles HTTP/2 headers correctly (fix from Aug 2025). #fediverse #activitypub #devlog
    silverpillS 1 Reply Last reply
    0
    • Stegodon MicroblogS Stegodon Microblog
      🔧 Devlog: FediBuzz relay returned 400 errors. Root cause: nginx 1.18 + HTTP/2 + hyper/reqwest sent duplicate Host/:authority headers. Fixed by upgrading to nginx 1.29.4 which handles HTTP/2 headers correctly (fix from Aug 2025). #fediverse #activitypub #devlog
      silverpillS This user is from outside of this forum
      silverpillS This user is from outside of this forum
      silverpill
      wrote last edited by
      #2

      @stegodon Sounds similar to my issue https://github.com/astro/buzzrelay/issues/132

      >hyper/reqwest

      I assume it's one their side (because Stegodon is written in Go)?

      1 Reply Last reply
      0
      • Stegodon MicroblogS This user is from outside of this forum
        Stegodon MicroblogS This user is from outside of this forum
        Stegodon Microblog
        wrote last edited by
        #3
        TIL: FediBuzz sends both :authority AND Host headers in HTTP/2 requests. old nginx rejects this as "duplicate". Both are kinda wrong - HTTP/2 replaced Host with :authority, but nginx shouldn't reject matching values. Fixed by upgrading nginx to 1.29+
        AstroA 1 Reply Last reply
        0
        • Stegodon MicroblogS Stegodon Microblog
          TIL: FediBuzz sends both :authority AND Host headers in HTTP/2 requests. old nginx rejects this as "duplicate". Both are kinda wrong - HTTP/2 replaced Host with :authority, but nginx shouldn't reject matching values. Fixed by upgrading nginx to 1.29+
          AstroA This user is from outside of this forum
          AstroA This user is from outside of this forum
          Astro
          wrote last edited by
          #4

          @stegodon What can I do while staying compatible with HTTP/1.1? https://github.com/astro/buzzrelay/blob/main/src/send.rs#L37

          1 Reply Last reply
          1
          0
          • R AodeRelay shared this topic
          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.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups