Can't follow a relay
$ mix pleroma.relay follow https://relay.homunyan.com/actor
14:11:51.720 [error] Could not decode user at fetch https://relay.homunyan.com/actor, {:error, {:ok, %Tesla.Env{__client__: %Tesla.Client{adapter: {Tesla.Adapter.Hackney, :call, [[connect_timeout: 10000, recv_timeout: 20000, follow_redirect: true, force_redirect: true, pool: :federation, ssl_options: [partial_chain: &:hackney_connect.partial_chain/1, versions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"]], proxy: nil]]}, fun: nil, post: [], pre: []}, __module__: Tesla, body: "500 Internal Server Error\n\nServer got itself in trouble", headers: [{"server", "nginx/1.15.9 (Ubuntu)"}, {"date", "Thu, 12 Dec 2019 13:11:51 GMT"}, {"content-type", "text/plain; charset=utf-8"}, {"content-length", "55"}, {"connection", "keep-alive"}, {"strict-transport-security", "max-age=63072000; includeSubDomains; preload"}, {"referrer-policy", "strict-origin-when-cross-origin"}, {"x-content-type-options", "nosniff"}, {"x-frame-options", "SAMEORIGIN"}, {"x-xss-protection", "1; mode=block"}], method: :get, opts: [connect_timeout: 10000, recv_timeout: 20000, follow_redirect: true, force_redirect: true, pool: :federation, ssl_options: [partial_chain: &:hackney_connect.partial_chain/1, versions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"]], proxy: nil, ssl: [server_name_indication: 'relay.homunyan.com']], query: [], status: 500, url: "https://relay.homunyan.com/actor"}}}
14:11:52.675 [error] error: "Could not fetch by AP id"
Error while following https://relay.homunyan.com/actor: "Could not fetch by AP id"
If I try with another relay:
$ mix pleroma.relay follow https://relay.mastodon.host/actor
$ mix pleroma.relay list
No errors but still not listed.
Edit: I'm using Pleroma 1.1.6 from stable branch
Other errors:
$ mix pleroma.relay follow https://relay.dog/actor
14:38:00.205 [error] Follower/Following counter update for https://relay.dog/actor failed.
{:error, "Object has been deleted"}
Edited by Elia Argentieri