Project

General

Profile

Actions

Bug #9478

closed

Unable to check for updates from the GUI when using a proxy with authentication

Added by Jim Pingle over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
Upgrade
Target version:
Start date:
04/16/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.0
Affected Architecture:
All

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.

Actions #1

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.

Actions #2

Updated by Renato Botelho about 5 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

pfSense-upgrade 0.69 should fix it

Actions #3

Updated by Jim Pingle about 5 years ago

  • Status changed from Feedback to Resolved

Nice!

It works from the GUI and shell now.

Actions

Also available in: Atom PDF