Can not send chat messages in 2.1.1
Pleroma 2.1.1 running from source. Upgraded from 2.1.0 last week to 2.1.1 today.
Honestly I never tried it in 2.1.0 so it may be broken there too.
But I just tried (as an unprivileged user) to send a chat to another user (also unprivileged) on my same instance and received the red error box that my chat couldn't be sent.
Then I tried to chat my unprivileged user from my admin account. Couldn't send a chat either.
Then I tried to chat my admin account from my unprivileged account. Couldn't send a chat either.
Here are the logs:
Sep 8 19:48:20 liewrap01 pleroma: [warn] Instance.scrape_favicon("https://mjc3d.com/") error: %FunctionClauseError{args: nil, arity: 1, clauses: nil, function: :parse, kind: nil, module: URI}
Sep 8 19:48:21 liewrap01 pleroma: [warn] Instance.scrape_favicon("https://tebukuro.pw/") error: %FunctionClauseError{args: nil, arity: 1, clauses: nil, function: :parse, kind: nil, module: URI}
Sep 8 19:48:24 liewrap01 pleroma: [error] Process #PID<0.15749.0> raised an exception#012** (Cachex.ExecutionError) function Pleroma.Web.RichMedia.Parsers.MetaTagsParser.parse/2 is undefined or private#012 (cachex 3.2.0) lib/cachex.ex:1438: Cachex.unwrap_unsafe/1#012 (pleroma 2.1.1) lib/pleroma/web/rich_media/parser.ex:30: Pleroma.Web.RichMedia.Parser.get_cached_or_parse/1#012 (pleroma 2.1.1) lib/pleroma/web/rich_media/parser.ex:20: Pleroma.Web.RichMedia.Parser.parse/1#012 (pleroma 2.1.1) lib/pleroma/web/rich_media/helpers.ex:63: Pleroma.Web.RichMedia.Helpers.fetch_data_for_object/1
Sep 8 19:48:24 liewrap01 pleroma: [warn] Instance.scrape_favicon("https://rss.to.mastodon.linux.pizza/") error: %FunctionClauseError{args: nil, arity: 1, clauses: nil, function: :parse, kind: nil, module: URI}
Sep 8 19:48:25 liewrap01 pleroma: request_id=FjLmulW09wifYfMAATZx [error] Internal server error: %FunctionClauseError{args: nil, arity: 3, clauses: nil, function: :get, kind: nil, module: Access}
Sep 8 19:48:25 liewrap01 pleroma: request_id=FjLmulW09wifYfMAATZx [info] Converted error :function_clause to 500 response
Sep 8 19:48:25 liewrap01 pleroma: [error] #PID<0.15816.0> running Pleroma.Web.Endpoint (connection #PID<0.15815.0>, stream id 1) terminated#012Server: nsfw.social:80 (http)#012Request: POST /api/v1/pleroma/chats/9yxWIDZj2EhiF0ZE12/messages#012** (exit) an exception was raised:#012 ** (FunctionClauseError) no function clause matching in Access.get/3#012 (elixir 1.10.4) Access.get("https://nsfw.social/objects/ec6db2fb-e08e-47aa-a470-76d3c7e66e5c", "tag", nil)#012 (pleroma 2.1.1) lib/pleroma/web/activity_pub/mrf/simple_policy.ex:76: Pleroma.Web.ActivityPub.MRF.SimplePolicy.check_media_nsfw/2#012 (pleroma 2.1.1) lib/pleroma/web/activity_pub/mrf/simple_policy.ex:205: Pleroma.Web.ActivityPub.MRF.SimplePolicy.filter/1#012 (elixir 1.10.4) lib/enum.ex:2111: Enum."-reduce/3-lists^foldl/2-0-"/3#012 (pleroma 2.1.1) lib/pleroma/web/activity_pub/pipeline.ex:35: Pleroma.Web.ActivityPub.Pipeline.do_common_pipeline/2#012 (ecto_sql 3.4.5) lib/ecto/adapters/sql.ex:875: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4#012 (db_connection 2.2.2) lib/db_connection.ex:1427: DBConnection.run_transaction/4#012 (pleroma 2.1.1) lib/pleroma/web/activity_pub/pipeline.ex:19: Pleroma.Web.ActivityPub.Pipeline.common_pipeline/2
Sep 8 19:48:26 liewrap01 pleroma: [error] Elixir.Pleroma.Web.MastodonAPI.StatusView failed to render {Pleroma.Web.MastodonAPI.StatusView, "show.json"}#012** (Cachex.ExecutionError) function Pleroma.Web.RichMedia.Parsers.MetaTagsParser.parse/2 is undefined or private#012 (cachex 3.2.0) lib/cachex.ex:1438: Cachex.unwrap_unsafe/1#012 (pleroma 2.1.1) lib/pleroma/web/rich_media/parser.ex:30: Pleroma.Web.RichMedia.Parser.get_cached_or_parse/1#012 (pleroma 2.1.1) lib/pleroma/web/rich_media/parser.ex:20: Pleroma.Web.RichMedia.Parser.parse/1#012 (pleroma 2.1.1) lib/pleroma/web/rich_media/helpers.ex:63: Pleroma.Web.RichMedia.Helpers.fetch_data_for_object/1#012 (pleroma 2.1.1) lib/pleroma/web/mastodon_api/views/status_view.ex:292: Pleroma.Web.MastodonAPI.StatusView.render/2#012 (pleroma 2.1.1) lib/pleroma/web/mastodon_api/views/status_view.ex:6: Pleroma.Web.MastodonAPI.StatusView.safe_render/3#012 (elixir 1.10.4) lib/enum.ex:1396: Enum."-map/2-lists^map/1-0-"/2#012 (elixir 1.10.4) lib/enum.ex:1396: Enum."-map/2-lists^map/1-0-"/2
^C
root@liewrap01:/opt/pleroma#