User-Agent is not set
It appears that 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: []
It's a little suspicious that I am the only one having these issues. Other Pleroma instances that I federate with send User-Agent correctly.
Edited by Pete Zaitcev