Bug #9478
closedUnable to check for updates from the GUI when using a proxy with authentication
100%
Description
When pfSense is set to use an upstream proxy with authentication, the update check fails to run from the GUI. It works from the shell.
Proxy authentication is configured under System > Advanced, Miscellaneous tab, and the Proxy URL, Proxy Port, Proxy Username and Proxy Password fields are all filled in and pointed to an active proxy.
When checking for updates from the GUI, it immediately returns that there is no new version. Inspecting the results of the check shows that it failed:
: cat upgrade_log.txt >>> Updating repositories metadata... failed.
From a shell prompt, updating the metadata shows a new version available:
: /bin/sh /etc/rc.update_pkg_metadata now : cat upgrade_log.txt 2.5.0.a.20190415.1201 version of pfSense is available
Manually running an update check also works from the shell:
: pfSense-upgrade -c >>> Updating repositories metadata... done. 2.5.0.a.20190415.1201 version of pfSense is available
Running the upgrade from the shell also succeeds.
Removing the proxy configuration from the GUI and allowing it to reach out directly also works.
Updated by Jim Pingle over 5 years ago
This also affects console option 13. I can't run option 13 with proxy+auth set, but if I drop to a shell, pfSense-upgrade works fine. Must be missing the proxy environment variables.
Updated by Renato Botelho almost 5 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
pfSense-upgrade 0.69 should fix it
Updated by Jim Pingle almost 5 years ago
- Status changed from Feedback to Resolved
Nice!
It works from the GUI and shell now.