User-Agent is not set
My instance makes outgoing http requests with adapter's default User-Agent. If I configure Hackney, User-agent is "hackney/1.18.0". If I configure Gun, User-agent is missing.
This causes certain instances to reject me, because they sit behind Cloudflare, and whitelist Pleroma by User-Agent om WAF. If my instance does not provide a normal User-Agent, Cloudflare rejects my requests, so my instance cannot federate.
I am on the develop branch.
I tried to set user_agent explicitly, like the following, but it made absolutely no difference:
config :pleroma, :http, proxy_url: nil, send_user_agent: true, user_agent: "Pleroma 2.4.1-yukiho; https://mu.zaitcev.nu zaitcev@yahoo.com", adapter: []
Update: Moving the issue to Pleroma proper, see pleroma#2804 (closed)