MediaProxy ignores proxy_url from config
Environment
- Installation type (OTP or From Source): OTP
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): 2.4.2
- Elixir version (
elixir -v
for from source installations, N/A for OTP): N/A - Operating system: Alpine Linux 3.15
- PostgreSQL version (
psql -V
): 13.5 (Debian 13.5-0+deb11u1)
Bug description
When having proxy_url enabled as per instruction, MediaProxy completely ignores the option and tries to gather the source attachments through direct connection. This is especialyl evident in containers/VMs with isolated network, as all remote attachments return "Request failed" with :nxdomain or :enetunreach in logs.
Relevand part of config:
config :pleroma, :media_proxy,
enabled: true,
redirect_on_failure: true
config :pleroma, :http,
proxy_url: "10.1.1.1:8118"