Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Joshua Purba :blobhaj_peek:
@jo@gts.zzncx.top  路  activity timestamp yesterday

Just updated Anubis to v1.23.0 and it looks like something has changed blobcatthinkowo

Looking at the timelines from Tusky or Tuba, the timelines would not update. However the web UI of my GoToSocial instance still works fine. Checked the Anubis log and it looked like my Anubis was sending challenges to Tusky, Tuba and even to other fedi servers (Mastodon etc) blobcatdrool

So anyway I fixed it 馃 by creating new configuration file: /usr/local/share/doc/anubis/data/apps/allow-api-routes.yaml:

- name: allow-api-routes
action: ALLOW
expression:
all:
- '!(method == "HEAD")'
- path.startsWith("/api/")

And another one: /usr/local/share/doc/anubis/data/apps/allow-user-routes.yaml:

- name: allow-api-routes
action: ALLOW
expression:
all:
- '!(method == "HEAD")'
- path.startsWith("/users/")

And then adding the new configurations to /etc/anubis/<gotosocial_service_name>.botPolicies.yaml:

bots:
...
- import: /usr/local/share/doc/anubis/data/apps/allow-api-routes.yaml
- import: /usr/local/share/doc/anubis/data/apps/allow-user-routes.yaml
...

Restarted the Anubis service, and it works again after that. Dunno if that that is even the correct way to do it though. Hopefully i haven't weakened anything blobcatwhistle

#Anubis #GoToSocial #Tusky #Tuba

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login