#1972·anubis

Open Graph caching doesn't work with subrequest authentication

Author: cpf-shCreated Sep 21, 2026Updated Sep 21, 2026

Describe the bug

This makes complete sense, as subrequest auth doesn't use Anubis as a proxy - I wasn't sure whether this was best to put as a bug or a feature request, but as it's not currently documented that OG caching won't work with subrequest auth and Anubis still tries to make an invalid request, I figured I'd list it as a bug.

Steps to reproduce

  1. Set up Anubis with subrequest auth (I'm using nginx, but this should work for any proxy I guess)
  2. Enable Open Graph caching
  3. Make a bot request to a page for OG tags
  4. Observe errors akin to the below:
{"time":"2026-09-21T13:06:29.804589501+01:00","level":"ERROR","source":{"function":"github.com/TecharoHQ/anubis/lib.(*Server).RenderIndex","file":"github.com/TecharoHQ/anubis/lib/http.go","line":260},"msg":"failed to get OG tags","subsystem":"anubis","host":"Anubis:8923","method":"GET","path":"/.within.website","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36 Edg/144.0.0.0","accept_language":"en-US,en;q=0.9","priority":"","x-forwarded-for":"x.x.x.x","x-real-ip":"x.x.x.x","challenge":"01a0c3dc-4cab-7b42-aa22-4220687e6f3e","err":"failed to create http request: parse \":///.within.website?redir=/blog\": missing protocol scheme"}

Expected behavior

At a minimum, Anubis should document that this doesn't work, and stop attempting to make requests to URLs that don't make sense for OG caching purposes (i.e. when the target is set to ).

In an ideal world, it would be great to be able to pass Anubis a URL in a proxy_set_header to call for OG metadata to: I figure that's probably the simplest solution to make this work easily!

Your operating system and its version.

Slackware 15

Your browser and its version.

Waterfox 6.7.3

Additional context

No response