Inspect the failing service rather than export another variable in your terminal. systemctl cat example.service shows its unit and drop-ins; check for an EnvironmentFile, another override or application-owned proxy settings. Read credential-bearing output locally.

If the application consumes HTTP proxy environment variables, a service drop-in can supply:

[Service]
Environment="HTTP_PROXY=http://203.0.113.10:8080"
Environment="HTTPS_PROXY=http://203.0.113.10:8080"

Replace the documentation endpoint and use the application's supported variable names. For a service allowed to use public HTTP proxies, candidate addresses are in the HTTP proxy list. A client with its own configuration can ignore these inputs. Also confirm this is the intended system service: a user service has a different manager and environment; changing a similarly named system unit will not fix it.

After editing the intended unit/drop-in, reload the definitions and restart that service when its workload can be interrupted:

sudo systemctl daemon-reload
sudo systemctl restart example.service

daemon-reload alone does not replace a running process's environment. Restart starts the new process; a shell export affects only that shell and children it subsequently launches.

Once the service receives the expected URL, follow its actual error. Its account may lack CA-file access, its network namespace may not reach the listener, or the proxy may reject the request. Those are later checks, not reasons to keep editing unrelated shell profiles.

Allakkat attuumassuteqartut