Missing mime types raising error on following some relays #296
Labels
No Label
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#296
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When trying to follow a relay, I see the following error messages show up in the logs:
Nov 21 11:15:02 akkoma**** 11:15:02.899 request_id=FymVTt8A8-w-1GsAAEWh [error] Internal server error: %Phoenix.NotAcceptableError{accepts: ["json", "jrd+json", "xml", "xrd+xml"], message: "no supported media type in accept header.\n\nExpected one of ["json", "jrd+json", "xml", "xrd+xml"] but got the following formats:\n\n * "application/activity+json" with extensions: ["activity+json"]\n\nTo accept custom formats, register them under the :mime library\nin your config/config.exs file:\n\n config :mime, :types, %{\n "application/xml" => ["xml"]\n }\n\nAnd then run
mix deps.clean --build mime
to force it to be recompiled.\n", plug_status: 406}This is while running the latest OTP (3.4.0). I'm not sure how to resolve this.
The relay in question this time was https://relay.shc.kanagawa.jp/actor
I wonder if this is related to this:
https://git.pleroma.social/pleroma/relay/-/merge_requests/24